Xpra-org / xpra

Persistent remote applications for X11; screen sharing for X11, MacOS and MSWindows.
https://xpra.org/
GNU General Public License v2.0
1.92k stars 164 forks source link

fix sound forwarding for osx and win32 shadow servers #1205

Open totaam opened 8 years ago

totaam commented 8 years ago

Follow up from #391, related to: #899.

When we shadow an OSX or win32 session, we want to forward the sound generated by those applications rather than any capture device (microphone).

It would also be nice to re-use the device selection code from pulseaudio (name match), and maybe introduce better command line arguments for it too.

Some changes already for win32: r12647 should allow us to select the capture device.

On OSX:

totaam commented 7 years ago

Tried using the "wasapi" source and sink plugin since this is the "new and improved" API on MS Windows, but this doesn't seem to work - even with the straightforward gst-launch audiotestsrc ! wasapisink test, so it is still commented out in r15928. Not much we can do if the latest gstreamer doesn't support it... delaying.

totaam commented 5 years ago
totaam commented 4 years ago

Tried wasapisrc again using:

gst-launch-1.0 wasapisrc ! fakesink

And got: Failed to get default device.

So this is not ready.

totaam commented 2 years ago

Perhaps the newer wasapi2 element will help? (not included in MSYS2 yet)