Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote Audio #209

Open
davxy opened this issue Dec 31, 2022 · 3 comments
Open

Remote Audio #209

davxy opened this issue Dec 31, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@davxy
Copy link

davxy commented Dec 31, 2022

Is there a way to listen to audio coming from the remote applications? If I'm not wrong currently only video output can be shared.

If not currently possible, is this planned?

@any1
Copy link
Owner

any1 commented Dec 31, 2022

Yeah, this is planned, but it looks like I didn't make an issue for it.

The main hurdles are the following:

  • There does not exist a protocol extension for compressed audio. We would have to make one and advocate for its adoption.
  • Because framebuffer updates may be sent as large continuous blobs, audio packets may be stalled for the duration of sending a framebuffer update. This means that audio playback needs to be delayed for the maximum transfer duration of such an update for smooth playback.
  • Some applications require audio and video to be synchronised. We've added timestamps to video frames, but it's an undocumented extension that's only supported by wlvncc currently. We would also have to advocate the adoption of video frame timestamps. Strict A/V sync is optional though. Could be added later.

@lack lack added the enhancement New feature or request label Jan 18, 2023
@soreau
Copy link
Contributor

soreau commented Apr 22, 2023

For what it's worth, as a workaround for pulse (or pipewire-pulse) users on the LAN, you can use RTP multicast like so:

Server:
pactl load-module module-null-sink sink_name=rtp
pactl load-module module-rtp-send source=rtp.monitor
pactl set-default-sink rtp

Clients:
pactl load-module module-rtp-recv

@heroin-moose
Copy link

heroin-moose commented Nov 8, 2023

Maybe it's possible to start with QEMU Audio and then extend it to support the compressed audio format?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants