Commit graph

  • c8b0e3682c Simplify libusb prebuilt scripts Romain Vimont 2023-02-27 21:43:34 +01:00
  • 14a85fd61e Silence lint warning about constant in API 29 Romain Vimont 2023-02-26 22:36:13 +01:00
  • 5bf52a98ed Remove manifest package name Romain Vimont 2023-02-26 22:40:26 +01:00
  • a252194161 Upgrade gradle build tools to 7.4.0 Romain Vimont 2023-02-26 22:09:54 +01:00
  • b5d41ad4f6 Fix useless garbage initialization Romain Vimont 2023-03-03 11:03:48 +01:00
  • 1b7a600bdd Stop on decoder frame push error audio.107 Romain Vimont 2023-03-03 00:42:51 +01:00
  • fea9ad9bf9 Add --audio-buffer Romain Vimont 2023-03-02 23:14:01 +01:00
  • 6a43a68800 Optionally do not delay the first frame Romain Vimont 2023-03-02 22:33:31 +01:00
  • f42a320690 Accept clock estimation with a single point Romain Vimont 2023-03-02 22:13:48 +01:00
  • 711f7b7693 Use delay buffer as a frame source/sink Romain Vimont 2023-03-02 21:30:24 +01:00
  • 03ea4b6918 Use frame source trait in decoder Romain Vimont 2023-03-02 09:37:36 +01:00
  • 7f0feea155 Introduce frame source trait Romain Vimont 2023-03-02 09:25:25 +01:00
  • c101ec598f Use packet source trait in demuxer Romain Vimont 2023-03-02 09:20:37 +01:00
  • ff3ec5dc5a Introduce packet source trait Romain Vimont 2023-03-02 09:07:25 +01:00
  • 3e06105f59 Extract sc_delay_buffer Romain Vimont 2023-03-02 00:31:43 +01:00
  • 89c638282f Report video buffer downstream errors Romain Vimont 2023-03-01 18:45:22 +01:00
  • 06f68a1570 Stop the video buffer on error Romain Vimont 2023-03-01 18:33:03 +01:00
  • fe7207da49 Fix possible race condition on video_buffer end Romain Vimont 2023-03-01 18:24:31 +01:00
  • 19c13651b3 Remove sc_queue Romain Vimont 2023-03-01 23:05:17 +01:00
  • a1f39b0227 Remove cbuf Romain Vimont 2023-03-01 22:54:08 +01:00
  • d9b2488880 Use VecDeque in aoa_hid Romain Vimont 2023-03-01 22:50:56 +01:00
  • b5304dc9d2 Use VecDeque in file_pusher Romain Vimont 2023-03-01 22:46:10 +01:00
  • b26af71bfb Use VecDeque in controller Romain Vimont 2023-03-01 22:39:11 +01:00
  • 7de4b8bea7 Use VecDeque in video_buffer Romain Vimont 2023-03-01 22:21:43 +01:00
  • 0ebbe4b268 Use VecDeque in recorder Romain Vimont 2023-03-01 21:42:51 +01:00
  • bf8c6f9050 Introduce VecDeque Romain Vimont 2023-02-28 22:56:37 +01:00
  • 8fd61c1d93 Add sc_allocarray() util Romain Vimont 2023-02-28 21:48:18 +01:00
  • e318aa1cb1 Use reallocarray() in sc_vector Romain Vimont 2023-02-28 21:49:44 +01:00
  • f3998c280b Add compat for reallocarray() Romain Vimont 2023-02-28 21:43:19 +01:00
  • f6ae6865ed Call avcodec_receive_frame() in a loop Romain Vimont 2023-02-28 21:20:28 +01:00
  • f0f277ba71 Add --require-audio Romain Vimont 2023-02-28 21:19:43 +01:00
  • 35689a73ab Add compat support for FFmpeg < 5.1 Romain Vimont 2023-02-27 21:41:27 +01:00
  • 84751937f6 Add workaround to capture audio on Android 11 Simon Chan 2023-01-30 00:42:09 +08:00
  • 9896cf0f9a Add audio player Romain Vimont 2023-03-03 00:43:20 +01:00
  • 3c18cfb23b Add two-step write feature to bytebuf Romain Vimont 2023-02-25 18:45:05 +01:00
  • e9fc35e9b1 Introduce bytebuf util Romain Vimont 2023-02-25 14:32:02 +01:00
  • ffe3b87f3c Pass AVCodecContext to frame sinks Romain Vimont 2023-02-25 16:19:58 +01:00
  • 5d8f891153 Add an audio decoder Romain Vimont 2023-02-24 21:31:39 +01:00
  • c2b3985f80 Give a name to decoder instances Romain Vimont 2023-02-24 21:22:35 +01:00
  • d81804359e Rename decoder to video_decoder Romain Vimont 2023-02-24 21:13:56 +01:00
  • 96385b531c Log display sizes in display list Romain Vimont 2023-02-23 23:12:24 +01:00
  • 954c774894 Add --list-device-displays Romain Vimont 2023-02-23 23:10:15 +01:00
  • 1bdf0f1594 Move log message helpers to LogUtils Romain Vimont 2023-02-23 23:09:25 +01:00
  • d358139656 Quit on audio configuration failure Romain Vimont 2023-02-23 21:27:11 +01:00
  • f816558e7a Add --list-encoders Romain Vimont 2023-02-22 23:15:15 +01:00
  • c0fe77d0b4 Move await_for_server() logs Romain Vimont 2023-02-22 23:12:21 +01:00
  • 74e380c8e0 Add --audio-encoder Romain Vimont 2023-02-19 20:20:29 +01:00
  • 67d9396db1 Extract unknown encoder error message Romain Vimont 2023-02-19 20:03:04 +01:00
  • 9ae632ca2f Add --audio-codec-options Romain Vimont 2023-02-22 22:48:23 +01:00
  • 092b683402 Extract application of codec options Romain Vimont 2023-02-19 20:03:04 +01:00
  • b1ccbbea55 Add support for AAC audio codec Romain Vimont 2023-02-18 19:30:36 +01:00
  • bcd51211f2 Add --audio-codec Romain Vimont 2023-02-18 19:05:43 +01:00
  • de2b17873a Add --audio-bit-rate Romain Vimont 2023-02-18 18:32:43 +01:00
  • 38e317f3b7 Disable MethodLength checkstyle on createOptions() Romain Vimont 2023-02-19 02:27:39 +01:00
  • 5ba37b0522 Rename --encoder to --video-encoder Romain Vimont 2023-02-22 22:44:01 +01:00
  • b6b178f6cf Rename --codec-options to --video-codec-options Romain Vimont 2023-02-21 21:46:34 +01:00
  • 4d83cc3ec6 Rename --bit-rate to --video-bit-rate Romain Vimont 2023-02-21 19:56:44 +01:00
  • 26e7d495d4 Rename --codec to --video-codec Romain Vimont 2023-02-20 21:19:36 +01:00
  • 0dfa43a6a1 Remove default bit-rate on client side Romain Vimont 2023-02-18 18:21:14 +01:00
  • 484c3dedc0 Record at least video packets on stop Romain Vimont 2023-02-19 00:55:36 +01:00
  • dfb3347633 Disable audio before Android 11 Romain Vimont 2023-02-19 15:24:08 +01:00
  • 9a89e21527 Disable audio on initialization error Romain Vimont 2023-02-18 18:09:18 +01:00
  • fd4fffa436 Add record audio support Romain Vimont 2023-02-18 18:02:43 +01:00
  • c54a087e44 Rename video-specific variables in recorder Romain Vimont 2023-02-15 10:06:10 +01:00
  • f3da281ce8 Do not merge config audio packets Romain Vimont 2023-02-18 17:37:58 +01:00
  • 8fc3e20cd7 Add an audio demuxer Romain Vimont 2023-02-06 10:33:47 +01:00
  • 0026ea4cd9 Force --no-audio if no display and no recording Romain Vimont 2023-03-02 13:49:53 +01:00
  • fa5e40c6b8 Give a name to demuxer instances Romain Vimont 2023-02-19 00:13:54 +01:00
  • 42b12a0ee8 Rename demuxer to video_demuxer Romain Vimont 2023-02-06 10:08:01 +01:00
  • e04add64d8 Extract OPUS extradata Romain Vimont 2023-02-18 17:35:54 +01:00
  • 2ee2660ef7 Use a streamer to send the audio stream Romain Vimont 2023-02-09 21:37:16 +01:00
  • 2be2376cf7 Encode recorded audio on the device Romain Vimont 2023-02-07 23:08:57 +01:00
  • 4fa52d7983 Capture device audio Simon Chan 2023-01-27 20:13:37 +08:00
  • 369a56fcd8 Add a new socket for audio stream Simon Chan 2023-02-03 16:50:42 +01:00
  • 8d319cbd67 Add --no-audio option Simon Chan 2023-02-03 16:27:34 +01:00
  • 72aa2ebd03 Use FakeContext for Application instance Romain Vimont 2023-01-31 22:48:50 +01:00
  • 792d2f2c66 Use shell package name for workarounds Romain Vimont 2023-01-31 22:33:30 +01:00
  • bebff7989f Use ROOT_UID from FakeContext Romain Vimont 2023-02-26 22:29:58 +01:00
  • 4f09051835 Use PACKAGE_NAME from FakeContext Romain Vimont 2023-01-31 22:32:33 +01:00
  • 740a57ec4f Use AttributionSource from FakeContext Romain Vimont 2023-01-31 22:31:15 +01:00
  • f48963d450 Add a fake Android Context Simon Chan 2023-01-27 20:13:37 +08:00
  • 3c3e743726 Improve error message for unknown encoder Romain Vimont 2023-02-19 19:58:05 +01:00
  • c0b26a90cb Rename "codec" variable to "mediaCodec" Romain Vimont 2023-02-19 19:51:50 +01:00
  • 050fe55b6f Make streamer independent of codec type Romain Vimont 2023-02-06 14:52:09 +01:00
  • 4182b29a91 Pass all args to ScreenEncoder constructor Romain Vimont 2023-02-06 13:46:19 +01:00
  • 6c29c2a3c7 Move screen encoder initialization Romain Vimont 2023-02-06 14:09:20 +01:00
  • 3b4727761e Write streamer header from ScreenEncoder Romain Vimont 2023-02-06 11:57:37 +01:00
  • 0c3ae37d86 Use VideoStreamer directly from ScreenEncoder Romain Vimont 2023-02-06 11:44:18 +01:00
  • fe0dd73835 Simplify error handling on socket creation Romain Vimont 2023-02-03 16:53:44 +01:00
  • 51091f8465 Reorder initialization Romain Vimont 2023-02-23 12:36:59 +01:00
  • 93cc1fcff0 Refactor recorder logic Romain Vimont 2023-02-18 12:07:30 +01:00
  • 0f818e5d87 Move last packet recording Romain Vimont 2023-02-18 12:07:05 +01:00
  • 113eb864da Add start() function for recorder Romain Vimont 2023-02-23 11:00:34 +01:00
  • 72811e7b1f Open recording file from the recorder thread Romain Vimont 2023-02-14 09:25:50 +01:00
  • 51365ca8d4 Inline packet_sink impl in recorder Romain Vimont 2023-02-14 09:37:36 +01:00
  • db7f27deb1 Initialize recorder fields from init() Romain Vimont 2023-02-14 08:40:44 +01:00
  • 54e5cf1e24 Report recorder errors Romain Vimont 2023-02-10 18:10:24 +01:00
  • 5d67a9e7f3 Move previous packet to a local variable Romain Vimont 2023-02-17 09:01:48 +01:00
  • 97890db385 Move pts_origin to a local variable Romain Vimont 2023-02-17 08:46:11 +01:00
  • 1d12fc2409 Change PTS origin type from uint64_t to int64_t Romain Vimont 2023-02-17 08:41:03 +01:00