rust-sdks
rust-sdks copied to clipboard
Media Input/Output stream with peer connection example
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!