pub trait MediaOutput: Send {
// Required method
fn add_stream(&mut self, stream: &MediaStreamId);
}Expand description
This isn’t part of the webrtc spec; it’s a leaky abstaction while media streams are under development and example consumers need to be able to inspect them.
Required Methods§
fn add_stream(&mut self, stream: &MediaStreamId)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".