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: MidIdentifier of the new m-line.
kind: MediaKindThe kind of media the m-line will carry.
direction: DirectionCurrent direction of the m-line.
simulcast: Option<Simulcast>If simulcast is configured, this holds the Rids.
a=simulcast:send h;l