On Android 12 and newer, the audio-forwarding feature works out of the box. Romain also shared a helpful client architecture flow-chart that depicts how the video and audio streams are handled on Scrcpy 2.0 if you are interested in the technical bits □ How does it work?: It uses Android's low-latency friendly API called ' AudioRecord' to record the audio, the ' MediaCodec' API to encode the captured audio, and a new 'Audio Player component' to feed the audio output with very little latency.įurthermore, the audio and video streams are demuxed into packets by a ' demuxer'. ![]() Since then, Romain has been busy integrating the new functionality into Scrcpy. Luckily, back in January a Scrcpy user, ' yume-chan' provided Romain with a proof-of-concept to capture device audio using shell permissions on Android with a functional workaround for Android 11. Sadly, that had some unavoidable issues that caused it to run poorly. Then he moved on to a new prototype called ' sndcpy ', an API to capture audio from an Android app in Android 10. The lead developer experimented a lot, initially by developing ' USBaudio ' as a solution, but it performed pretty poorly. It has been the most requested feature since the first version of Scrcpy released five years ago, and now it's here. What is it?: This is a new addition to Scrcpy that allows the streaming and recording of audio from the connected Android device to the host computer without any noticeable lag. ![]() The major highlight of this release is the introduction of real-time audio forwarding on Android 11+ devices. □ Scrcpy 2.0: What's New? A screenshot of Scrcpy 2.0 running on Ubuntu. ![]() Recently, its lead developer Romain Vimont announced the release of Scrcpy 2.0 with a few new additions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |