pub struct RtcRtpStreamStats {
pub ssrc: Option<u32>,
pub kind: String,
pub transport_id: Option<String>,
pub codec_id: Option<String>,
}Expand description
Statistics that apply to any end of any RTP stream.
Fields§
§ssrc: Option<u32>Synchronization source (SSRC) identifier is an unsigned integer value per RFC3550 used to identify the stream of RTP packets that this stats object is describing.
For outbound and inbound local, SSRC describes the stats for the RTP stream that were sent and received, respectively by those endpoints.
For the remote inbound and remote outbound, SSRC describes the stats for the RTP stream that were received by and sent to the remote endpoint.
kind: StringEither audio or video.
This MUST match the kind attribute of the related
MediaStreamTrack.
transport_id: Option<String>Unique identifier that is associated to the object that was inspected to
produce the RtcTransportStats associated with this RTP stream.
codec_id: Option<String>Unique identifier that is associated to the object that was inspected to
produce the RtcCodecStats associated with this RTP stream.
Trait Implementations§
Source§impl Clone for RtcRtpStreamStats
impl Clone for RtcRtpStreamStats
Source§fn clone(&self) -> RtcRtpStreamStats
fn clone(&self) -> RtcRtpStreamStats
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RtcRtpStreamStats
impl Debug for RtcRtpStreamStats
Source§impl<'de> Deserialize<'de> for RtcRtpStreamStats
impl<'de> Deserialize<'de> for RtcRtpStreamStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Hash for RtcRtpStreamStats
impl Hash for RtcRtpStreamStats
Source§impl PartialEq for RtcRtpStreamStats
impl PartialEq for RtcRtpStreamStats
Source§impl Serialize for RtcRtpStreamStats
impl Serialize for RtcRtpStreamStats
impl Eq for RtcRtpStreamStats
impl StructuralPartialEq for RtcRtpStreamStats
Auto Trait Implementations§
impl Freeze for RtcRtpStreamStats
impl RefUnwindSafe for RtcRtpStreamStats
impl Send for RtcRtpStreamStats
impl Sync for RtcRtpStreamStats
impl Unpin for RtcRtpStreamStats
impl UnwindSafe for RtcRtpStreamStats
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)