Struct str0m::media::MediaAdded
source · pub struct MediaAdded {
pub mid: Mid,
pub kind: MediaKind,
pub direction: Direction,
pub simulcast: Option<Simulcast>,
}
Expand description
A new media m-line appeared in an SDP negotation.
This event fires both for negotations triggered by a remote or local offer.
Does not fire for application m-lines (data channel).
Fields§
§mid: Mid
Identifier of the new m-line.
kind: MediaKind
The kind of media the m-line will carry.
direction: Direction
Current direction of the m-line.
simulcast: Option<Simulcast>
If simulcast is configured, this holds the Rids.
a=simulcast:send h;l