Closed luispinho closed 1 year ago
Hello @luispinho, thanks for your suggestion. I'll look into that as soon as I have some spare time. 👍
Sure. I can open a PR with the base change (already have it working on my machine). Just need some input on which flags (if any) you feel would be a good addition to this. Other than that, I can contribute with what I've already shown in the issue's description
I think it would be good to retain the original implementation under -l (legacy) flag in case scrcpy does not work for some devices/setups.
Other then that audio capture can be on by default. Feel free to open a PR. 🙏
Solved in #225 and #226, thank you! 🖤
🐞 Whats wrong
Using
arecord
allows us to record the video, but not the audio.🌈 Desired state
When using this command, record both video and audio (or give a flag to only record video, for example).
📏 Challenges
Replace usage of
screenrecord
utility within ADB shell withscrcpy
(we're already using it foracontrol
, we can use it here as well).📂 Sources
scrcpy
documentation about recordingFor a start, I would suggest the following:
Eventually we could also add a flag to allow using the existing recording method.