sonosaurus / sonobus

Source code for SonoBus, a real-time network audio streaming collaboration tool.

Home Page:https://sonobus.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Android AudioPlaybackCapture as input source

sk22 opened this issue · comments

commented

It would be amazing to have SonoBus on Android use the AudioPlaybackCapture API to enable streaming that device's audio playback to the other devices.
I've personally never used that API, but its documentation can be found here: https://developer.android.com/guide/topics/media/av-capture#capture_audio_playback
Visually, when picking that input source, there would be a popup like this:
image
…see https://android-developers.googleblog.com/2019/07/capturing-audio-in-android-q.html

Thanks for this great application!

AGREED! It is possible to capture the audio using that and send it in real time. Already tried it but it was kinda clunky.. surely devs will know how to do it better than me haha :D