Commit Graph

  • bb56472d4e Print server logs and newline in one call Romain Vimont 2023-03-08 20:07:03 +01:00
  • 7da45c246e Warn on ignored audio options Romain Vimont 2023-03-03 21:58:57 +01:00
  • d2952c7e93 Add --audio-codec=raw option Romain Vimont 2023-03-03 21:19:37 +01:00
  • 66b6c06443 Add raw audio recorder Romain Vimont 2023-03-03 21:14:28 +01:00
  • dc228eaad0 Extract async processor interface Romain Vimont 2023-03-03 18:49:05 +01:00
  • 65cc9d765d Extract audio capture Romain Vimont 2023-03-03 18:46:59 +01:00
  • 02dd1be4a1 Stop on decoder frame push error Romain Vimont 2023-03-03 00:42:51 +01:00
  • df55bc2683 Add --audio-buffer Romain Vimont 2023-03-02 23:14:01 +01:00
  • d66b0b3dcc Add compat support for FFmpeg < 5.1 Romain Vimont 2023-02-27 21:41:27 +01:00
  • fbe0f951e1 Add audio player Romain Vimont 2023-03-03 00:43:20 +01:00
  • e1333f6f3b Optionally do not delay the first frame Romain Vimont 2023-03-02 22:33:31 +01:00
  • 9b3ca208bf Accept clock estimation with a single point Romain Vimont 2023-03-02 22:13:48 +01:00
  • 48a537d45c Remove anonymous struct in delay buffer Romain Vimont 2023-03-02 21:30:24 +01:00
  • 1230149fdd Use delay buffer as a frame source/sink Romain Vimont 2023-03-02 21:30:24 +01:00
  • 974227a3fc Use frame source trait in decoder Romain Vimont 2023-03-02 09:37:36 +01:00
  • 6543964f12 Introduce frame source trait Romain Vimont 2023-03-02 09:25:25 +01:00
  • f3197e178d Use packet source trait in demuxer Romain Vimont 2023-03-02 09:20:37 +01:00
  • c39054a63d Introduce packet source trait Romain Vimont 2023-03-02 09:07:25 +01:00
  • f410f2bdc4 Extract sc_delay_buffer Romain Vimont 2023-03-02 00:31:43 +01:00
  • 6379c08012 Fix buffering pts conversion Romain Vimont 2023-03-09 09:05:46 +01:00
  • 4540f1d69e Report video buffer downstream errors Romain Vimont 2023-03-01 18:45:22 +01:00
  • ad94ccca0b Stop the video buffer on error Romain Vimont 2023-03-01 18:33:03 +01:00
  • a3703340fc Fix possible race condition on video_buffer end Romain Vimont 2023-03-01 18:24:31 +01:00
  • 6f38c6311b Remove sc_queue Romain Vimont 2023-03-01 23:05:17 +01:00
  • 338310677e Remove cbuf Romain Vimont 2023-03-01 22:54:08 +01:00
  • f978e4d6de Use VecDeque in aoa_hid Romain Vimont 2023-03-01 22:50:56 +01:00
  • a0a65b3c4d Use VecDeque in file_pusher Romain Vimont 2023-03-01 22:46:10 +01:00
  • 4d989de9ae Use VecDeque in controller Romain Vimont 2023-03-01 22:39:11 +01:00
  • f25a67f342 Use VecDeque in video_buffer Romain Vimont 2023-03-01 22:21:43 +01:00
  • efc15744da Use VecDeque in recorder Romain Vimont 2023-03-01 21:42:51 +01:00
  • 33df484912 Introduce VecDeque Romain Vimont 2023-02-28 22:56:37 +01:00
  • 457385d5f4 Add sc_allocarray() util Romain Vimont 2023-02-28 21:48:18 +01:00
  • c735b8c127 Use reallocarray() in sc_vector Romain Vimont 2023-02-28 21:49:44 +01:00
  • 6dceb32817 Add compat for reallocarray() Romain Vimont 2023-02-28 21:43:19 +01:00
  • 6e05d7047a Call avcodec_receive_frame() in a loop Romain Vimont 2023-02-28 21:20:28 +01:00
  • c1528cdca9 Add --require-audio Romain Vimont 2023-02-28 21:19:43 +01:00
  • de40cac6ad Add workaround to capture audio on Android 11 Simon Chan 2023-01-30 00:42:09 +08:00
  • b60a8aa657 Add two-step write feature to bytebuf Romain Vimont 2023-02-25 18:45:05 +01:00
  • 20d41fdd7e Introduce bytebuf util Romain Vimont 2023-02-25 14:32:02 +01:00
  • 619730edaf Pass AVCodecContext to frame sinks Romain Vimont 2023-02-25 16:19:58 +01:00
  • e22660d698 Add an audio decoder Romain Vimont 2023-02-24 21:31:39 +01:00
  • 05f0e35d2a Give a name to decoder instances Romain Vimont 2023-02-24 21:22:35 +01:00
  • 99837fa600 Rename decoder to video_decoder Romain Vimont 2023-02-24 21:13:56 +01:00
  • a205ff6c8b Log display sizes in display list Romain Vimont 2023-02-23 23:12:24 +01:00
  • b65301f672 Add --list-displays Romain Vimont 2023-02-23 23:10:15 +01:00
  • 2596ca02f0 Move log message helpers to LogUtils Romain Vimont 2023-02-23 23:09:25 +01:00
  • 50d56a9a2b Quit on audio configuration failure Romain Vimont 2023-02-23 21:27:11 +01:00
  • 9196dc1563 Add --list-encoders Romain Vimont 2023-02-22 23:15:15 +01:00
  • b7e5284adf Move await_for_server() logs Romain Vimont 2023-02-22 23:12:21 +01:00
  • f9960e959f Add --audio-encoder Romain Vimont 2023-02-19 20:20:29 +01:00
  • 6f332a2bc7 Extract unknown encoder error message Romain Vimont 2023-02-19 20:03:04 +01:00
  • b03c864c70 Add --audio-codec-options Romain Vimont 2023-02-22 22:48:23 +01:00
  • 58cf8e5401 Extract application of codec options Romain Vimont 2023-02-19 20:03:04 +01:00
  • 4601735e51 Add support for AAC audio codec Romain Vimont 2023-02-18 19:30:36 +01:00
  • 839b842aa7 Add --audio-codec Romain Vimont 2023-02-18 19:05:43 +01:00
  • 0870b8c8be Add --audio-bit-rate Romain Vimont 2023-02-18 18:32:43 +01:00
  • 8e640dc90f Disable MethodLength checkstyle on createOptions() Romain Vimont 2023-02-19 02:27:39 +01:00
  • e694619d53 Rename --encoder to --video-encoder Romain Vimont 2023-02-22 22:44:01 +01:00
  • 31555fa530 Rename --codec-options to --video-codec-options Romain Vimont 2023-02-21 21:46:34 +01:00
  • 9087e85c3f Rename --bit-rate to --video-bit-rate Romain Vimont 2023-02-21 19:56:44 +01:00
  • cee40ca047 Rename --codec to --video-codec Romain Vimont 2023-02-20 21:19:36 +01:00
  • a1802dab76 Remove default bit-rate on client side Romain Vimont 2023-02-18 18:21:14 +01:00
  • 17d5301c0f Record at least video packets on stop Romain Vimont 2023-02-19 00:55:36 +01:00
  • 80c0780b77 Disable audio before Android 11 Romain Vimont 2023-02-19 15:24:08 +01:00
  • 13a3395a33 Disable audio on initialization error Romain Vimont 2023-02-18 18:09:18 +01:00
  • 7de0622214 Add audio recording support Romain Vimont 2023-02-18 18:02:43 +01:00
  • 3d29f6ef06 Rename video-specific variables in recorder Romain Vimont 2023-02-15 10:06:10 +01:00
  • 609b098a97 Do not merge config audio packets Romain Vimont 2023-02-18 17:37:58 +01:00
  • de430bc4aa Add an audio demuxer Romain Vimont 2023-02-06 10:33:47 +01:00
  • f60b5767f4 Force --no-audio if no display and no recording Romain Vimont 2023-03-02 13:49:53 +01:00
  • d499f890e7 Give a name to demuxer instances Romain Vimont 2023-02-19 00:13:54 +01:00
  • e9876788c9 Rename demuxer to video_demuxer Romain Vimont 2023-02-06 10:08:01 +01:00
  • 15556d1f3b Extract OPUS extradata Romain Vimont 2023-02-18 17:35:54 +01:00
  • 7cf5cf5875 Use a streamer to send the audio stream Romain Vimont 2023-02-09 21:37:16 +01:00
  • 5eed2c52c2 Encode recorded audio on the device Romain Vimont 2023-02-07 23:08:57 +01:00
  • 464a35b05e Make streamer more generic Romain Vimont 2023-03-03 14:07:32 +01:00
  • 11d32616a9 Capture device audio Simon Chan 2023-01-27 20:13:37 +08:00
  • e841241a8e Add a new socket for audio stream Simon Chan 2023-02-03 16:50:42 +01:00
  • 3cf03e4a4b Add --no-audio option Simon Chan 2023-02-03 16:27:34 +01:00
  • 8487ddba64 Use FakeContext for Application instance Romain Vimont 2023-01-31 22:48:50 +01:00
  • 84ba6435bb Use shell package name for workarounds Romain Vimont 2023-01-31 22:33:30 +01:00
  • 42285ae869 Use ROOT_UID from FakeContext Romain Vimont 2023-02-26 22:29:58 +01:00
  • 820189b6a6 Use PACKAGE_NAME from FakeContext Romain Vimont 2023-01-31 22:32:33 +01:00
  • 9a815ceba8 Use AttributionSource from FakeContext Romain Vimont 2023-01-31 22:31:15 +01:00
  • a5541b3476 Add a fake Android Context Simon Chan 2023-01-27 20:13:37 +08:00
  • 10ef8da95d Improve error message for unknown encoder Romain Vimont 2023-02-19 19:58:05 +01:00
  • 90d88a6927 Rename "codec" variable to "mediaCodec" Romain Vimont 2023-02-19 19:51:50 +01:00
  • 10ce0f376a Make streamer independent of codec type Romain Vimont 2023-02-06 14:52:09 +01:00
  • c226797991 Pass all args to ScreenEncoder constructor Romain Vimont 2023-02-06 13:46:19 +01:00
  • ae9b08b905 Move screen encoder initialization Romain Vimont 2023-02-06 14:09:20 +01:00
  • 51628201b7 Write streamer header from ScreenEncoder Romain Vimont 2023-02-06 11:57:37 +01:00
  • ae29e5b562 Use VideoStreamer directly from ScreenEncoder Romain Vimont 2023-02-06 11:44:18 +01:00
  • 5b2ec66222 Simplify error handling on socket creation Romain Vimont 2023-02-03 16:53:44 +01:00
  • ef6a3b97a7 Reorder initialization Romain Vimont 2023-02-23 12:36:59 +01:00
  • f9efe48aac Refactor recorder logic Romain Vimont 2023-02-18 12:07:30 +01:00
  • 4b246cd963 Move last packet recording Romain Vimont 2023-02-18 12:07:05 +01:00
  • 3c407773e9 Add start() function for recorder Romain Vimont 2023-02-23 11:00:34 +01:00
  • a039124d5d Open recording file from the recorder thread Romain Vimont 2023-02-14 09:25:50 +01:00
  • 6b5dfef923 Inline packet_sink impl in recorder Romain Vimont 2023-02-14 09:37:36 +01:00
  • fb29135591 Initialize recorder fields from init() Romain Vimont 2023-02-14 08:40:44 +01:00