Commit Graph

  • 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
  • f2b23fc977 Fix --encoder documentation Romain Vimont 2023-02-19 20:06:30 +01:00
  • 1b88ae4db0 Do not print stacktraces when unnecessary Romain Vimont 2023-02-19 19:36:46 +01:00
  • 67b22517f4 Fix --no-clipboard-autosync bash completion Romain Vimont 2023-02-22 19:08:24 +01:00
  • 0e44b3158b Split server stop() and join() Romain Vimont 2023-02-22 18:41:22 +01:00
  • 6bf861ec2c Print FFmpeg logs Romain Vimont 2023-02-23 13:25:04 +01:00
  • 251ea6dfff Move FFmpeg callback initialization Romain Vimont 2023-02-23 12:49:42 +01:00
  • 976978abe6 Silence lint warning about constant in API 29 Romain Vimont 2023-02-26 22:36:13 +01:00
  • fd463a0220 Remove manifest package name Romain Vimont 2023-02-26 22:40:26 +01:00
  • 2731c60896 Upgrade gradle build tools to 7.4.0 Romain Vimont 2023-02-26 22:09:54 +01:00
  • 389dd77b50 Fix MIN/MAX macros Romain Vimont 2023-02-28 23:52:26 +01:00
  • fa6c5b5149 Upgrade FFmpeg (6.0) for Windows custom-ffmpeg Romain Vimont 2023-02-28 11:56:42 +01:00
  • 884997e854 Use minimal prebuilt FFmpeg for Windows Romain Vimont 2023-02-27 21:43:48 +01:00
  • a0fa9967b8 Simplify libusb prebuilt scripts Romain Vimont 2023-02-27 21:43:34 +01:00
  • 260edc318f Add compat support for FFmpeg < 5.1 Romain Vimont 2023-02-27 21:41:27 +01:00
  • e48098ec8d Add workaround to capture audio on Android 11 Simon Chan 2023-01-30 00:42:09 +08:00
  • 8fad02aafa Add audio player Romain Vimont 2023-02-24 21:29:10 +01:00
  • bb935764ae Add two-step write feature to bytebuf Romain Vimont 2023-02-25 18:45:05 +01:00
  • fe127af72e Introduce bytebuf util Romain Vimont 2023-02-25 14:32:02 +01:00
  • 8e32d15e6c Pass AVCodecContext to frame sinks Romain Vimont 2023-02-25 16:19:58 +01:00
  • 7f2989e1d5 Add an audio decoder Romain Vimont 2023-02-24 21:31:39 +01:00
  • da57902dd5 Give a name to decoder instances Romain Vimont 2023-02-24 21:22:35 +01:00
  • 28701090f6 Rename decoder to video_decoder Romain Vimont 2023-02-24 21:13:56 +01:00
  • c50dc53bc2 Log display sizes in display list Romain Vimont 2023-02-23 23:12:24 +01:00
  • 30b8429752 Add --list-device-displays Romain Vimont 2023-02-23 23:10:15 +01:00
  • 38e5dafba6 Move log message helpers to LogUtils Romain Vimont 2023-02-23 23:09:25 +01:00
  • d60a502485 Quit on audio configuration failure Romain Vimont 2023-02-23 21:27:11 +01:00
  • 55f4c42f19 Add --list-encoders Romain Vimont 2023-02-22 23:15:15 +01:00
  • 7a9eefb04a Move await_for_server() logs Romain Vimont 2023-02-22 23:12:21 +01:00
  • e39ad0f695 Add --audio-encoder Romain Vimont 2023-02-19 20:20:29 +01:00
  • 377b6f57c5 Extract unknown encoder error message Romain Vimont 2023-02-19 20:03:04 +01:00
  • aa8ed923f0 Add --audio-codec-options Romain Vimont 2023-02-22 22:48:23 +01:00
  • 13211f82a1 Extract application of codec options Romain Vimont 2023-02-19 20:03:04 +01:00
  • 7f50ed2458 Add support for AAC audio codec Romain Vimont 2023-02-18 19:30:36 +01:00
  • 9187472014 Add --audio-codec Romain Vimont 2023-02-18 19:05:43 +01:00
  • a331c2c653 Add --audio-bit-rate Romain Vimont 2023-02-18 18:32:43 +01:00
  • f75dc2e477 Disable MethodLength checkstyle on createOptions() Romain Vimont 2023-02-19 02:27:39 +01:00
  • 8a5be9e2a6 Rename --encoder to --video-encoder Romain Vimont 2023-02-22 22:44:01 +01:00
  • 705d69aaea Rename --codec-options to --video-codec-options Romain Vimont 2023-02-21 21:46:34 +01:00
  • ad51a2b411 Rename --bit-rate to --video-bit-rate Romain Vimont 2023-02-21 19:56:44 +01:00
  • 7581dc10d3 Rename --codec to --video-codec Romain Vimont 2023-02-20 21:19:36 +01:00
  • 68cd396e1f Remove default bit-rate on client side Romain Vimont 2023-02-18 18:21:14 +01:00
  • 8dc1fd172a Record at least video packets on stop Romain Vimont 2023-02-19 00:55:36 +01:00
  • 9c34c34e5d Disable audio before Android 11 Romain Vimont 2023-02-19 15:24:08 +01:00
  • 0abb268432 Disable audio on initialization error Romain Vimont 2023-02-18 18:09:18 +01:00
  • f2c65808fa Add record audio support Romain Vimont 2023-02-18 18:02:43 +01:00
  • 93e86a5661 Rename video-specific variables in recorder Romain Vimont 2023-02-15 10:06:10 +01:00
  • e614e19df4 Do not merge config audio packets Romain Vimont 2023-02-18 17:37:58 +01:00
  • e7c931139b Add an audio demuxer Romain Vimont 2023-02-06 10:33:47 +01:00
  • 98ece15421 Give a name to demuxer instances Romain Vimont 2023-02-19 00:13:54 +01:00
  • 8050de011c Rename demuxer to video_demuxer Romain Vimont 2023-02-06 10:08:01 +01:00
  • 714b01204a Extract OPUS extradata Romain Vimont 2023-02-18 17:35:54 +01:00
  • 9e831005c4 Use a streamer to send the audio stream Romain Vimont 2023-02-09 21:37:16 +01:00
  • 55eb874ed6 Encode recorded audio on the device Romain Vimont 2023-02-07 23:08:57 +01:00
  • 667882e9c4 Capture device audio Simon Chan 2023-01-27 20:13:37 +08:00
  • 0e62580570 Add a new socket for audio stream Simon Chan 2023-02-03 16:50:42 +01:00
  • ded19ca0f0 Add --no-audio option Simon Chan 2023-02-03 16:27:34 +01:00
  • ad683461d6 Use FakeContext for Application instance Romain Vimont 2023-01-31 22:48:50 +01:00
  • 504793b5c9 Use shell package name for workarounds Romain Vimont 2023-01-31 22:33:30 +01:00
  • 00e88acfaa Use ROOT_UID from FakeContext Romain Vimont 2023-02-26 22:29:58 +01:00
  • 7c0ee70261 Use PACKAGE_NAME from FakeContext Romain Vimont 2023-01-31 22:32:33 +01:00
  • 2a4eec702d Use AttributionSource from FakeContext Romain Vimont 2023-01-31 22:31:15 +01:00
  • 1e113feb59 Add a fake Android Context Simon Chan 2023-01-27 20:13:37 +08:00