Commit graph

  • 3116e7f8cd Disable MethodLength checkstyle on createOptions() Romain Vimont 2023-02-19 02:27:39 +01:00
  • dc99458cf1 Rename --encoder to --video-encoder Romain Vimont 2023-02-22 22:44:01 +01:00
  • ceaa83a8cd Rename --codec-options to --video-codec-options Romain Vimont 2023-02-21 21:46:34 +01:00
  • f3a50cc046 Rename --bit-rate to --video-bit-rate Romain Vimont 2023-02-21 19:56:44 +01:00
  • aabd2ea12b Rename --codec to --video-codec Romain Vimont 2023-02-20 21:19:36 +01:00
  • d2d64c9fa3 Remove default bit-rate on client side Romain Vimont 2023-02-18 18:21:14 +01:00
  • edaca6f72d Record at least video packets on stop Romain Vimont 2023-02-19 00:55:36 +01:00
  • 79f4abb9b3 Disable audio before Android 11 Romain Vimont 2023-02-19 15:24:08 +01:00
  • 3bd4ce1a11 Disable audio on initialization error Romain Vimont 2023-02-18 18:09:18 +01:00
  • 8438a76aa0 Add record audio support Romain Vimont 2023-02-18 18:02:43 +01:00
  • 2f273b2298 Rename video-specific variables in recorder Romain Vimont 2023-02-15 10:06:10 +01:00
  • 7a2ebfae07 Do not merge config audio packets Romain Vimont 2023-02-18 17:37:58 +01:00
  • 0263d8bbef Add an audio demuxer Romain Vimont 2023-02-06 10:33:47 +01:00
  • 4aaa4580e6 Give a name to demuxer instances Romain Vimont 2023-02-19 00:13:54 +01:00
  • 51f4d0efae Rename demuxer to video_demuxer Romain Vimont 2023-02-06 10:08:01 +01:00
  • 4824f846eb Extract OPUS extradata Romain Vimont 2023-02-18 17:35:54 +01:00
  • 8ebdab2b04 Use a streamer to send the audio stream Romain Vimont 2023-02-09 21:37:16 +01:00
  • 87ae5e17c5 Encode recorded audio on the device Romain Vimont 2023-02-07 23:08:57 +01:00
  • fb4d0ac01b Capture device audio Simon Chan 2023-01-27 20:13:37 +08:00
  • 953e9065c9 Add a new socket for audio stream Simon Chan 2023-02-03 16:50:42 +01:00
  • 15fb00df85 Add --no-audio option Simon Chan 2023-02-03 16:27:34 +01:00
  • 015f8b6930 Use FakeContext for Application instance Romain Vimont 2023-01-31 22:48:50 +01:00
  • d55a136af4 Use shell package name for workarounds Romain Vimont 2023-01-31 22:33:30 +01:00
  • b314aca010 Use ROOT_UID from FakeContext Romain Vimont 2023-02-26 22:29:58 +01:00
  • 1154b62ecf Use PACKAGE_NAME from FakeContext Romain Vimont 2023-01-31 22:32:33 +01:00
  • 7fb1bc9131 Use AttributionSource from FakeContext Romain Vimont 2023-01-31 22:31:15 +01:00
  • f4508d5a1e Add a fake Android Context Simon Chan 2023-01-27 20:13:37 +08:00
  • ca74b960c3 Improve error message for unknown encoder Romain Vimont 2023-02-19 19:58:05 +01:00
  • 537d445740 Rename "codec" variable to "mediaCodec" Romain Vimont 2023-02-19 19:51:50 +01:00
  • 99d30cfc3a Make streamer independent of codec type Romain Vimont 2023-02-06 14:52:09 +01:00
  • d67a6aed34 Pass all args to ScreenEncoder constructor Romain Vimont 2023-02-06 13:46:19 +01:00
  • a6a3c4ca3d Move screen encoder initialization Romain Vimont 2023-02-06 14:09:20 +01:00
  • 74d1014b6d Write streamer header from ScreenEncoder Romain Vimont 2023-02-06 11:57:37 +01:00
  • f38d3166c3 Use VideoStreamer directly from ScreenEncoder Romain Vimont 2023-02-06 11:44:18 +01:00
  • 6f5f20d36f Simplify error handling on socket creation Romain Vimont 2023-02-03 16:53:44 +01:00
  • e1a2ba6185 Reorder initialization Romain Vimont 2023-02-23 12:36:59 +01:00
  • cd2c4d3b0f Refactor recorder logic Romain Vimont 2023-02-18 12:07:30 +01:00
  • 7d22c0d354 Move last packet recording Romain Vimont 2023-02-18 12:07:05 +01:00
  • 4d1d97d058 Add start() function for recorder Romain Vimont 2023-02-23 11:00:34 +01:00
  • 2a41948fb6 Open recording file from the recorder thread Romain Vimont 2023-02-14 09:25:50 +01:00
  • cbded6f74f Inline packet_sink impl in recorder Romain Vimont 2023-02-14 09:37:36 +01:00
  • 2318ef4382 Initialize recorder fields from init() Romain Vimont 2023-02-14 08:40:44 +01:00
  • 863d446398 Report recorder errors Romain Vimont 2023-02-10 18:10:24 +01:00
  • 6a159b0b0b Move previous packet to a local variable Romain Vimont 2023-02-17 09:01:48 +01:00
  • c4dcf5159e Move pts_origin to a local variable Romain Vimont 2023-02-17 08:46:11 +01:00
  • 3add9c42dc Change PTS origin type from uint64_t to int64_t Romain Vimont 2023-02-17 08:41:03 +01:00
  • 71b61c388a Fix --encoder documentation Romain Vimont 2023-02-19 20:06:30 +01:00
  • d836c53b76 Do not print stacktraces when unnecessary Romain Vimont 2023-02-19 19:36:46 +01:00
  • cfa23c2a8f Fix --no-clipboard-autosync bash completion Romain Vimont 2023-02-22 19:08:24 +01:00
  • fa6ac8d44f Split server stop() and join() Romain Vimont 2023-02-22 18:41:22 +01:00
  • 3dc2a05ea7 Print FFmpeg logs Romain Vimont 2023-02-23 13:25:04 +01:00
  • 39ba9b3db6 Move FFmpeg callback initialization Romain Vimont 2023-02-23 12:49:42 +01:00
  • 2be3dc2fd9 Silence lint warning about constant in API 29 Romain Vimont 2023-02-26 22:36:13 +01:00
  • dec3abf92e Remove manifest package name Romain Vimont 2023-02-26 22:40:26 +01:00
  • 193a4e4b9f Upgrade gradle build tools to 7.4.0 Romain Vimont 2023-02-26 22:09:54 +01:00
  • 79f9ec5801 Add workaround to capture audio on Android 11 audio.86 Simon Chan 2023-01-30 00:42:09 +08:00
  • b7d2086508 Add audio player Romain Vimont 2023-02-24 21:29:10 +01:00
  • b12d1ae7cb Add two-step write feature to bytebuf Romain Vimont 2023-02-25 18:45:05 +01:00
  • 28289ab881 Introduce bytebuf util Romain Vimont 2023-02-25 14:32:02 +01:00
  • 0cf7dabfc3 Pass AVCodecContext to frame sinks Romain Vimont 2023-02-25 16:19:58 +01:00
  • dc8e6c3cfe Add an audio decoder Romain Vimont 2023-02-24 21:31:39 +01:00
  • cb1d98a59c Give a name to decoder instances Romain Vimont 2023-02-24 21:22:35 +01:00
  • 9400584364 Rename decoder to video_decoder Romain Vimont 2023-02-24 21:13:56 +01:00
  • 98c2762eaa Log display sizes in display list Romain Vimont 2023-02-23 23:12:24 +01:00
  • 243c8cf1b3 Add --list-device-displays Romain Vimont 2023-02-23 23:10:15 +01:00
  • 63bc6d1053 Move log message helpers to LogUtils Romain Vimont 2023-02-23 23:09:25 +01:00
  • 6926f5e4fd Quit on audio configuration failure Romain Vimont 2023-02-23 21:27:11 +01:00
  • 004eb47d4a Add --list-encoders Romain Vimont 2023-02-22 23:15:15 +01:00
  • d720d424d8 Move await_for_server() logs Romain Vimont 2023-02-22 23:12:21 +01:00
  • 43660079c5 Add --audio-encoder Romain Vimont 2023-02-19 20:20:29 +01:00
  • a5aba2948a Extract unknown encoder error message Romain Vimont 2023-02-19 20:03:04 +01:00
  • 7a17895111 Add --audio-codec-options Romain Vimont 2023-02-22 22:48:23 +01:00
  • fb2c9ef9e7 Extract application of codec options Romain Vimont 2023-02-19 20:03:04 +01:00
  • 12d79686d1 Add support for AAC audio codec Romain Vimont 2023-02-18 19:30:36 +01:00
  • 923032e5ca Add --audio-codec Romain Vimont 2023-02-18 19:05:43 +01:00
  • 4689cd07d4 Add --audio-bit-rate Romain Vimont 2023-02-18 18:32:43 +01:00
  • d99c3da08f Disable MethodLength checkstyle on createOptions() Romain Vimont 2023-02-19 02:27:39 +01:00
  • 4082cb32f9 Rename --encoder to --video-encoder Romain Vimont 2023-02-22 22:44:01 +01:00
  • f3b4160d77 Rename --codec-options to --video-codec-options Romain Vimont 2023-02-21 21:46:34 +01:00
  • 207ae8b73c Rename --bit-rate to --video-bit-rate Romain Vimont 2023-02-21 19:56:44 +01:00
  • cf15859214 Rename --codec to --video-codec Romain Vimont 2023-02-20 21:19:36 +01:00
  • 6cdd4e867b Remove default bit-rate on client side Romain Vimont 2023-02-18 18:21:14 +01:00
  • 560002047b Record at least video packets on stop Romain Vimont 2023-02-19 00:55:36 +01:00
  • 3233aa1c4f Disable audio before Android 11 Romain Vimont 2023-02-19 15:24:08 +01:00
  • a8a1da1a00 Disable audio on initialization error Romain Vimont 2023-02-18 18:09:18 +01:00
  • 230abb30c2 Add record audio support Romain Vimont 2023-02-18 18:02:43 +01:00
  • cb0f4799a2 Rename video-specific variables in recorder Romain Vimont 2023-02-15 10:06:10 +01:00
  • 5fc38264c0 Do not merge config audio packets Romain Vimont 2023-02-18 17:37:58 +01:00
  • 3feae6d41b Add an audio demuxer Romain Vimont 2023-02-06 10:33:47 +01:00
  • 8cf821471f Give a name to demuxer instances Romain Vimont 2023-02-19 00:13:54 +01:00
  • bd51b342b4 Rename demuxer to video_demuxer Romain Vimont 2023-02-06 10:08:01 +01:00
  • fa85a128da Extract OPUS extradata Romain Vimont 2023-02-18 17:35:54 +01:00
  • cd099f7a2b Use a streamer to send the audio stream Romain Vimont 2023-02-09 21:37:16 +01:00
  • 20042addd4 Encode recorded audio on the device Romain Vimont 2023-02-07 23:08:57 +01:00
  • 4d39bb9d26 Capture device audio Simon Chan 2023-01-27 20:13:37 +08:00
  • 50d180abf2 Add a new socket for audio stream Simon Chan 2023-02-03 16:50:42 +01:00
  • 634ba5d7c4 Add --no-audio option Simon Chan 2023-02-03 16:27:34 +01:00
  • cadf95cfc4 Use FakeContext for Application instance Romain Vimont 2023-01-31 22:48:50 +01:00
  • 13c8209071 Use shell package name for workarounds Romain Vimont 2023-01-31 22:33:30 +01:00
  • c21f604f30 Use ROOT_UID from FakeContext Romain Vimont 2023-02-26 22:29:58 +01:00