Struct interceptor::stream_info::StreamInfo
source · pub struct StreamInfo {
pub id: String,
pub attributes: Attributes,
pub ssrc: u32,
pub payload_type: u8,
pub rtp_header_extensions: Vec<RTPHeaderExtension>,
pub mime_type: String,
pub clock_rate: u32,
pub channels: u16,
pub sdp_fmtp_line: String,
pub rtcp_feedback: Vec<RTCPFeedback>,
}
Expand description
StreamInfo is the Context passed when a StreamLocal or StreamRemote has been Binded or Unbinded
Fields§
§id: String
§attributes: Attributes
§ssrc: u32
§payload_type: u8
§rtp_header_extensions: Vec<RTPHeaderExtension>
§mime_type: String
§clock_rate: u32
§channels: u16
§sdp_fmtp_line: String
§rtcp_feedback: Vec<RTCPFeedback>
Trait Implementations§
source§impl Clone for StreamInfo
impl Clone for StreamInfo
source§fn clone(&self) -> StreamInfo
fn clone(&self) -> StreamInfo
Returns a copy 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 StreamInfo
impl Debug for StreamInfo
source§impl Default for StreamInfo
impl Default for StreamInfo
source§fn default() -> StreamInfo
fn default() -> StreamInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for StreamInfo
impl Send for StreamInfo
impl Sync for StreamInfo
impl Unpin for StreamInfo
impl UnwindSafe for StreamInfo
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