pub struct FecSessionStream {
pub ssrc: u32,
pub payload_type: u8,
pub one_level_only: bool,
}Expand description
The FEC stream of a media stream, sent in a separate RTP session (RFC 5109 section 14.1: “the FEC stream and the payload stream SHOULD be sent through two separate RTP session”).
In that session the FEC stream has the media stream’s SSRC (section 7.2: “The SSRC value
SHALL be the same as the SSRC value of the media stream it protects”). A chain keys what
it keeps on the SSRC, and both sessions pass through the one chain, so within the chain
the FEC stream is known by an SSRC of its own, ssrc; whoever drives the
chain puts the media stream’s SSRC back on the FEC session’s transport and takes it off
again on the way in (FecSessionSsrcMap), and binds
ssrc as a stream of that session.
It is a field of its own, not StreamInfo::ssrc_fec: a repair flow named there is part
of the media stream’s own RTP session for every interceptor (the RTCP session reports on
it there, the per-session wrappers move the stream with it).
Fields§
§ssrc: u32The SSRC the FEC stream has inside the chain.
payload_type: u8The payload type of ulpfec in the FEC session’s m= section (RFC 5109 section 14.1:
“dynamic payload type numbers MUST be used”).
one_level_only: boolonelevelonly=1 on that format (RFC 5109 section 13).