pub struct Simulcast {
pub send: Vec<Vec<SimulcastId>>,
pub recv: Vec<Vec<SimulcastId>>,
pub recv_first: bool,
}Expand description
a=simulcast:<direction> <streams> [<direction> <streams>] (RFC 8853 section 5.1).
sc-value = ( sc-send [SP sc-recv] ) / ( sc-recv [SP sc-send] )
sc-send = %s"send" SP sc-str-list
sc-recv = %s"recv" SP sc-str-list
sc-str-list = sc-alt-list *( ";" sc-alt-list )
sc-alt-list = sc-id *( "," sc-id )
sc-id = [sc-id-paused] rid-idA direction is a list of simulcast streams, separated by ;; a stream is a list of
alternative formats, separated by ,, of which one is used at a time. A rid-id occurs
once in the whole attribute (section 5.2).
Fields§
§send: Vec<Vec<SimulcastId>>The streams sent: one entry per stream, each a list of alternatives. Empty when the
attribute has no send part.
recv: Vec<Vec<SimulcastId>>The streams received, likewise.
recv_first: boolWhether recv was written before send. Both orders mean the same.
Implementations§
Trait Implementations§
impl Eq for Simulcast
impl StructuralPartialEq for Simulcast
Auto Trait Implementations§
impl Forget for Simulcast
impl Freeze for Simulcast
impl Move for Simulcast
impl RefUnwindSafe for Simulcast
impl Send for Simulcast
impl Sync for Simulcast
impl Unpin for Simulcast
impl UnsafeUnpin for Simulcast
impl UnwindSafe for Simulcast
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more