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>,
pub associated_stream: Option<AssociatedStreamInfo>,
}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>§associated_stream: Option<AssociatedStreamInfo>Trait Implementations§
Source§impl Clone for StreamInfo
impl Clone for StreamInfo
Source§fn clone(&self) -> StreamInfo
fn clone(&self) -> StreamInfo
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 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 Freeze for StreamInfo
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