pub struct RTCPFeedback {
pub typ: String,
pub parameter: String,
}Expand description
RTCP feedback mechanism negotiated for the stream.
Specifies additional RTCP packet types that can be used for feedback between peers, such as NACK for retransmissions or PLI for picture loss.
§Common Feedback Types
| Type | Parameter | Description | RFC |
|---|---|---|---|
nack | (empty) | Generic NACK for retransmission | RFC 4585 |
nack | pli | Picture Loss Indication | RFC 4585 |
nack | fir | Full Intra Request | RFC 5104 |
ccm | fir | Codec Control Message: FIR | RFC 5104 |
goog-remb | (empty) | Google REMB for bandwidth estimation | - |
transport-cc | (empty) | Transport-wide CC feedback | draft-holmer |
Fields§
§typ: StringType of feedback mechanism.
Valid values: “ack”, “ccm”, “nack”, “goog-remb”, “transport-cc”
parameter: StringParameter value that depends on the feedback type.
For example, typ="nack" with parameter="pli" enables Picture Loss Indicator packets.
An empty string indicates the base feedback type without additional parameters.
Trait Implementations§
Source§impl Clone for RTCPFeedback
impl Clone for RTCPFeedback
Source§fn clone(&self) -> RTCPFeedback
fn clone(&self) -> RTCPFeedback
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RTCPFeedback
impl Debug for RTCPFeedback
Source§impl Default for RTCPFeedback
impl Default for RTCPFeedback
Source§fn default() -> RTCPFeedback
fn default() -> RTCPFeedback
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RTCPFeedback
impl RefUnwindSafe for RTCPFeedback
impl Send for RTCPFeedback
impl Sync for RTCPFeedback
impl Unpin for RTCPFeedback
impl UnwindSafe for RTCPFeedback
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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