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§

source

fn add_stream(&mut self, stream: &MediaStreamId)

Implementors§