rust-sdks icon indicating copy to clipboard operation
rust-sdks copied to clipboard

Media Input/Output stream with peer connection example

Open yash-samespace opened this issue 1 year ago • 0 comments

Hello,

I am building a Tauri-based WebRTC application in Rust for macOS and Windows platforms. I’ve integrated the LiveKit SDK but couldn’t find APIs to retrieve the microphone stream, which is needed to pass to the add_track function of the peer connection. Similarly, I couldn’t find APIs to play the audio stream received in the on_track() callback through the speaker.

I also couldn’t locate relevant examples demonstrating this functionality. Could someone confirm if such APIs for media devices are available in the LiveKit SDK?

Any guidance or pointers would be greatly appreciated. Thank you!

yash-samespace avatar Dec 02 '24 18:12 yash-samespace