tobexyz / yaacc-code

YAACC - UPNP Client and Server
Other
94 stars 13 forks source link

possible to play audio originating from other apps? #81

Open sudomain opened 11 months ago

sudomain commented 11 months ago

Hello,

Great app, thanks for your work in it. I'm curious if it would be possible to stream audio coming from other apps rather than specific files? What I want to do is leave my phone on the charger and forward its audio over my LAN to an old android device. The idea is youtube/spotify/or another service would be left playing on my phone and the audio stream (rather than a file) would be sent to another device.

In the past, I've been able to do something similar with Linux PC's using pulseaudio and SSH portforwarding.

Is this possible with yaacc or UPNP in general?

tobexyz commented 10 months ago

Hi, at the moment it's only possible to share files located on the device to other devices in the network by starting the upnp server of yaacc. If you share content of an app with yaacc the app has to provide an URL which is accessible for the receiver Because of this it is not possible to share internal content of an app with yaacc yet. For this yaacc has to operate like an proxy, which might be complicated to realize and it depends on the capabilities of the stream provided by the source app if it is possible or not, IMO