Commit Graph

  • c7845387cf Encode recorded audio on the device Romain Vimont 2023-02-07 23:08:57 +01:00
  • 26553129d4 Capture device audio Simon Chan 2023-01-27 20:13:37 +08:00
  • 87bb26fe61 Add a new socket for audio stream Simon Chan 2023-02-03 16:50:42 +01:00
  • 0457253655 Add --no-audio option Simon Chan 2023-02-03 16:27:34 +01:00
  • 484f38be1c Use FakeContext for Application instance Romain Vimont 2023-01-31 22:48:50 +01:00
  • 013bf96cd0 Use shell package name for workarounds Romain Vimont 2023-01-31 22:33:30 +01:00
  • 3c090b3d9e Use ROOT_UID from FakeContext Romain Vimont 2023-02-26 22:29:58 +01:00
  • 31068ee607 Use PACKAGE_NAME from FakeContext Romain Vimont 2023-01-31 22:32:33 +01:00
  • e23366fb4e Use AttributionSource from FakeContext Romain Vimont 2023-01-31 22:31:15 +01:00
  • b5ae5bf6bb Add a fake Android Context Simon Chan 2023-01-27 20:13:37 +08:00
  • e068fe43cf Improve error message for unknown encoder Romain Vimont 2023-02-19 19:58:05 +01:00
  • 883a998c10 Rename "codec" variable to "mediaCodec" Romain Vimont 2023-02-19 19:51:50 +01:00
  • 3c670dc52a Make streamer independent of codec type Romain Vimont 2023-02-06 14:52:09 +01:00
  • af1f00bece Pass all args to ScreenEncoder constructor Romain Vimont 2023-02-06 13:46:19 +01:00
  • 7853c4c303 Move screen encoder initialization Romain Vimont 2023-02-06 14:09:20 +01:00
  • bbb025bcf3 Write streamer header from ScreenEncoder Romain Vimont 2023-02-06 11:57:37 +01:00
  • 9e4d7f59d7 Use VideoStreamer directly from ScreenEncoder Romain Vimont 2023-02-06 11:44:18 +01:00
  • 89c3de5498 Simplify error handling on socket creation Romain Vimont 2023-02-03 16:53:44 +01:00
  • 0d8644d3ff Reorder initialization Romain Vimont 2023-02-23 12:36:59 +01:00
  • f0660df102 Refactor recorder logic Romain Vimont 2023-02-18 12:07:30 +01:00
  • ddd9c8b4a8 Move last packet recording Romain Vimont 2023-02-18 12:07:05 +01:00
  • ed14c56be4 Add start() function for recorder Romain Vimont 2023-02-23 11:00:34 +01:00
  • 0af71d2bd8 Open recording file from the recorder thread Romain Vimont 2023-02-14 09:25:50 +01:00
  • e1deb7077c Inline packet_sink impl in recorder Romain Vimont 2023-02-14 09:37:36 +01:00
  • 92b5c297b4 Initialize recorder fields from init() Romain Vimont 2023-02-14 08:40:44 +01:00
  • 92bc1a37ae Report recorder errors Romain Vimont 2023-02-10 18:10:24 +01:00
  • 37c9c3cb50 Move previous packet to a local variable Romain Vimont 2023-02-17 09:01:48 +01:00
  • 83c20a10db Move pts_origin to a local variable Romain Vimont 2023-02-17 08:46:11 +01:00
  • c6cd4ff8fe Change PTS origin type from uint64_t to int64_t Romain Vimont 2023-02-17 08:41:03 +01:00
  • 8eef96012b Fix --encoder documentation Romain Vimont 2023-02-19 20:06:30 +01:00
  • 3619efa7d4 Do not print stacktraces when unnecessary Romain Vimont 2023-02-19 19:36:46 +01:00
  • 4fecf4e49e Fix --no-clipboard-autosync bash completion Romain Vimont 2023-02-22 19:08:24 +01:00
  • 3015224135 Split server stop() and join() Romain Vimont 2023-02-22 18:41:22 +01:00
  • 2381a61798 Print FFmpeg logs Romain Vimont 2023-02-23 13:25:04 +01:00
  • 3ab2840fd5 Move FFmpeg callback initialization Romain Vimont 2023-02-23 12:49:42 +01:00
  • 2bdee9b31c Upgrade FFmpeg custom builds for Windows Romain Vimont 2023-03-03 19:46:13 +01:00
  • 8131d1f00e Upgrade FFmpeg (6.0) for Windows Romain Vimont 2023-02-28 11:56:42 +01:00
  • 17b9d149cf Use minimal prebuilt FFmpeg for Windows Romain Vimont 2023-02-27 21:43:48 +01:00
  • 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