webrtc icon indicating copy to clipboard operation
webrtc copied to clipboard

Pipewire Support

Open togetherwithasteria opened this issue 1 year ago • 1 comments

Hiiiii! ^^

Does Webrtc-rs supports Pipewire? It's required on Linux because of security requirements implemented on Wayland and Flatpak.

Thanks!! <3

togetherwithasteria avatar Aug 03 '22 12:08 togetherwithasteria

I'm not familiar with Pipewire, but it looks like it has to do with the actual playback/recoridng of audio and video. This crate doesn't currently support anything like that, as a consumer you have to provide those capabilities.

As long as you can produce data from a decoder e.g. as a H264 bitsream in the case of H264, this project can be used to send that data as part of a webrtc session.

This example should give you some hints https://github.com/webrtc-rs/webrtc/tree/master/examples/examples/play-from-disk-h264

k0nserv avatar Aug 23 '22 15:08 k0nserv