Commit Graph

  • 08da34835c Improve error message for unknown encoder Romain Vimont 2023-02-19 19:58:05 +01:00
  • 7b3a39bdc7 Rename "codec" variable to "mediaCodec" Romain Vimont 2023-02-19 19:51:50 +01:00
  • 5586335276 Make streamer independent of codec type Romain Vimont 2023-02-06 14:52:09 +01:00
  • 8bb63cf14c Pass all args to ScreenEncoder constructor Romain Vimont 2023-02-06 13:46:19 +01:00
  • 5b01457364 Move screen encoder initialization Romain Vimont 2023-02-06 14:09:20 +01:00
  • 010da4df59 Write streamer header from ScreenEncoder Romain Vimont 2023-02-06 11:57:37 +01:00
  • de332e3e96 Use VideoStreamer directly from ScreenEncoder Romain Vimont 2023-02-06 11:44:18 +01:00
  • e679e3a966 Simplify error handling on socket creation Romain Vimont 2023-02-03 16:53:44 +01:00
  • 97ae0a2d13 Reorder initialization Romain Vimont 2023-02-23 12:36:59 +01:00
  • f1a4349834 Refactor recorder logic Romain Vimont 2023-02-18 12:07:30 +01:00
  • a95bfe4f01 Move last packet recording Romain Vimont 2023-02-18 12:07:05 +01:00
  • 84f1792c6f Add start() function for recorder Romain Vimont 2023-02-23 11:00:34 +01:00
  • 317a5e93bb Open recording file from the recorder thread Romain Vimont 2023-02-14 09:25:50 +01:00
  • 6b669d2dba Inline packet_sink impl in recorder Romain Vimont 2023-02-14 09:37:36 +01:00
  • 21dd946edc Initialize recorder fields from init() Romain Vimont 2023-02-14 08:40:44 +01:00
  • 669cbc7457 Report recorder errors Romain Vimont 2023-02-10 18:10:24 +01:00
  • d3adda176b Move previous packet to a local variable Romain Vimont 2023-02-17 09:01:48 +01:00
  • e7fa099be4 Move pts_origin to a local variable Romain Vimont 2023-02-17 08:46:11 +01:00
  • 7ec2c7e232 Change PTS origin type from uint64_t to int64_t Romain Vimont 2023-02-17 08:41:03 +01:00
  • 932e698cdd Fix --encoder documentation Romain Vimont 2023-02-19 20:06:30 +01:00
  • ca5b962377 Do not print stacktraces when unnecessary Romain Vimont 2023-02-19 19:36:46 +01:00
  • 9233f1990e Fix --no-clipboard-autosync bash completion Romain Vimont 2023-02-22 19:08:24 +01:00
  • 17a486d763 Split server stop() and join() Romain Vimont 2023-02-22 18:41:22 +01:00
  • 65e9206b3f Print FFmpeg logs Romain Vimont 2023-02-23 13:25:04 +01:00
  • bf7c0f2c33 Move FFmpeg callback initialization Romain Vimont 2023-02-23 12:49:42 +01:00
  • dc585f033e Silence lint warning about constant in API 29 Romain Vimont 2023-02-26 22:36:13 +01:00
  • b67ea5173c Remove manifest package name Romain Vimont 2023-02-26 22:40:26 +01:00
  • cf9718bee4 Upgrade gradle build tools to 7.4.0 Romain Vimont 2023-02-26 22:09:54 +01:00
  • 3c3c07db05 Initialize server->serial in all cases Romain Vimont 2023-02-28 12:34:34 +01:00
  • 6d272f85b8 Add compat support for FFmpeg < 5.1 audio.89 Romain Vimont 2023-02-27 21:41:27 +01:00
  • bdc3ae542f Add workaround to capture audio on Android 11 Simon Chan 2023-01-30 00:42:09 +08:00
  • b8a47e247a Add audio player Romain Vimont 2023-02-24 21:29:10 +01:00
  • 2b2cf0a1c5 Add compat support for FFmpeg < 5.1 audio.88 Romain Vimont 2023-02-27 21:41:27 +01:00
  • 20fab90546 Add workaround to capture audio on Android 11 Simon Chan 2023-01-30 00:42:09 +08:00
  • 0e08a1e484 Add audio player Romain Vimont 2023-02-24 21:29:10 +01:00
  • e2b065bc4a Add two-step write feature to bytebuf Romain Vimont 2023-02-25 18:45:05 +01:00
  • c91727c086 Introduce bytebuf util Romain Vimont 2023-02-25 14:32:02 +01:00
  • 2a26c279c5 Pass AVCodecContext to frame sinks Romain Vimont 2023-02-25 16:19:58 +01:00
  • 38f8cb1357 Add an audio decoder Romain Vimont 2023-02-24 21:31:39 +01:00
  • b856db7239 Give a name to decoder instances Romain Vimont 2023-02-24 21:22:35 +01:00
  • b70cb2ff7c Rename decoder to video_decoder Romain Vimont 2023-02-24 21:13:56 +01:00
  • e4260dc5d5 Log display sizes in display list Romain Vimont 2023-02-23 23:12:24 +01:00
  • a7af7d9844 Add --list-device-displays Romain Vimont 2023-02-23 23:10:15 +01:00
  • b05004cdd8 Move log message helpers to LogUtils Romain Vimont 2023-02-23 23:09:25 +01:00
  • bbf9df265e Quit on audio configuration failure Romain Vimont 2023-02-23 21:27:11 +01:00
  • 001b62917e Add --list-encoders Romain Vimont 2023-02-22 23:15:15 +01:00
  • cbc0cef95d Move await_for_server() logs Romain Vimont 2023-02-22 23:12:21 +01:00
  • 754b3aff14 Add --audio-encoder Romain Vimont 2023-02-19 20:20:29 +01:00
  • 07a4293524 Extract unknown encoder error message Romain Vimont 2023-02-19 20:03:04 +01:00
  • 160e00ff43 Add --audio-codec-options Romain Vimont 2023-02-22 22:48:23 +01:00
  • 1fd9a7a5c6 Extract application of codec options Romain Vimont 2023-02-19 20:03:04 +01:00
  • 6f5326a4bf Add support for AAC audio codec Romain Vimont 2023-02-18 19:30:36 +01:00
  • 9da5285561 Add --audio-codec Romain Vimont 2023-02-18 19:05:43 +01:00
  • 1966c4df4b Add --audio-bit-rate Romain Vimont 2023-02-18 18:32:43 +01:00
  • 96434f999c Disable MethodLength checkstyle on createOptions() Romain Vimont 2023-02-19 02:27:39 +01:00
  • b3586f32f7 Rename --encoder to --video-encoder Romain Vimont 2023-02-22 22:44:01 +01:00
  • 38a7dcd83c Rename --codec-options to --video-codec-options Romain Vimont 2023-02-21 21:46:34 +01:00
  • 0c2e2b998d Rename --bit-rate to --video-bit-rate Romain Vimont 2023-02-21 19:56:44 +01:00
  • 3513fc7809 Rename --codec to --video-codec Romain Vimont 2023-02-20 21:19:36 +01:00
  • fef75277bc Remove default bit-rate on client side Romain Vimont 2023-02-18 18:21:14 +01:00
  • 5192891fc8 Record at least video packets on stop Romain Vimont 2023-02-19 00:55:36 +01:00
  • 079fd1ea47 Disable audio before Android 11 Romain Vimont 2023-02-19 15:24:08 +01:00
  • b814ca84df Disable audio on initialization error Romain Vimont 2023-02-18 18:09:18 +01:00
  • f095f61d65 Add record audio support Romain Vimont 2023-02-18 18:02:43 +01:00
  • 69ebf8a578 Rename video-specific variables in recorder Romain Vimont 2023-02-15 10:06:10 +01:00
  • 067cea8674 Do not merge config audio packets Romain Vimont 2023-02-18 17:37:58 +01:00
  • 59ffc76d4e Add an audio demuxer Romain Vimont 2023-02-06 10:33:47 +01:00
  • 3c702afdb0 Give a name to demuxer instances Romain Vimont 2023-02-19 00:13:54 +01:00
  • d652e49001 Rename demuxer to video_demuxer Romain Vimont 2023-02-06 10:08:01 +01:00
  • 7f079333dc Extract OPUS extradata Romain Vimont 2023-02-18 17:35:54 +01:00
  • 623585c359 Use a streamer to send the audio stream Romain Vimont 2023-02-09 21:37:16 +01:00
  • f0f92d9f08 Encode recorded audio on the device Romain Vimont 2023-02-07 23:08:57 +01:00
  • 04ab232a40 Capture device audio Simon Chan 2023-01-27 20:13:37 +08:00
  • e55db52ed9 Add a new socket for audio stream Simon Chan 2023-02-03 16:50:42 +01:00
  • 73ff2d730d Add --no-audio option Simon Chan 2023-02-03 16:27:34 +01:00
  • e0c0383ab8 Use FakeContext for Application instance Romain Vimont 2023-01-31 22:48:50 +01:00
  • 27366ba158 Use shell package name for workarounds Romain Vimont 2023-01-31 22:33:30 +01:00
  • 071e002d6c Use ROOT_UID from FakeContext Romain Vimont 2023-02-26 22:29:58 +01:00
  • f6e7512c53 Use PACKAGE_NAME from FakeContext Romain Vimont 2023-01-31 22:32:33 +01:00
  • dd308b1634 Use AttributionSource from FakeContext Romain Vimont 2023-01-31 22:31:15 +01:00
  • 83d5d2c779 Add a fake Android Context Simon Chan 2023-01-27 20:13:37 +08:00
  • eff48a9c39 Improve error message for unknown encoder Romain Vimont 2023-02-19 19:58:05 +01:00
  • 8fb6f86021 Rename "codec" variable to "mediaCodec" Romain Vimont 2023-02-19 19:51:50 +01:00
  • 57d68886f4 Make streamer independent of codec type Romain Vimont 2023-02-06 14:52:09 +01:00
  • 440eda15e1 Pass all args to ScreenEncoder constructor Romain Vimont 2023-02-06 13:46:19 +01:00
  • 78efbb3a71 Move screen encoder initialization Romain Vimont 2023-02-06 14:09:20 +01:00
  • ceab2b2d6f Write streamer header from ScreenEncoder Romain Vimont 2023-02-06 11:57:37 +01:00
  • 576f0b512f Use VideoStreamer directly from ScreenEncoder Romain Vimont 2023-02-06 11:44:18 +01:00
  • 7492f5e807 Simplify error handling on socket creation Romain Vimont 2023-02-03 16:53:44 +01:00
  • 0075b97976 Reorder initialization Romain Vimont 2023-02-23 12:36:59 +01:00
  • a3f8239da7 Refactor recorder logic Romain Vimont 2023-02-18 12:07:30 +01:00
  • 6d5806ef5c Move last packet recording Romain Vimont 2023-02-18 12:07:05 +01:00
  • 3a5e065a08 Add start() function for recorder Romain Vimont 2023-02-23 11:00:34 +01:00
  • 620cd7b19a Open recording file from the recorder thread Romain Vimont 2023-02-14 09:25:50 +01:00
  • 099b83484c Inline packet_sink impl in recorder Romain Vimont 2023-02-14 09:37:36 +01:00
  • dceef8f279 Initialize recorder fields from init() Romain Vimont 2023-02-14 08:40:44 +01:00
  • e26ed27575 Report recorder errors Romain Vimont 2023-02-10 18:10:24 +01:00
  • de796552bd Move previous packet to a local variable Romain Vimont 2023-02-17 09:01:48 +01:00
  • 1330f58689 Move pts_origin to a local variable Romain Vimont 2023-02-17 08:46:11 +01:00
  • a55c177e7d Change PTS origin type from uint64_t to int64_t Romain Vimont 2023-02-17 08:41:03 +01:00