pub enum RtpParametersMappingError {
UnsupportedCodec {
mime_type: MimeType,
payload_type: u8,
},
UnsupportedRtxCodec {
preferred_payload_type: u8,
},
MissingMediaCodecForRtx {
payload_type: u8,
},
}
Expand description
Error caused by invalid or unsupported RTP parameters given.
Variants§
UnsupportedCodec
Unsupported codec.
UnsupportedRtxCodec
No RTX codec for capability codec PT.
MissingMediaCodecForRtx
Missing media codec found for RTX PT.
Trait Implementations§
Source§impl Debug for RtpParametersMappingError
impl Debug for RtpParametersMappingError
Source§impl Display for RtpParametersMappingError
impl Display for RtpParametersMappingError
Source§impl Error for RtpParametersMappingError
impl Error for RtpParametersMappingError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
impl Eq for RtpParametersMappingError
impl StructuralPartialEq for RtpParametersMappingError
Auto Trait Implementations§
impl Freeze for RtpParametersMappingError
impl RefUnwindSafe for RtpParametersMappingError
impl Send for RtpParametersMappingError
impl Sync for RtpParametersMappingError
impl Unpin for RtpParametersMappingError
impl UnwindSafe for RtpParametersMappingError
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