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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more