use super::RTCSentRtpStreamStats;
use ::serde::{Deserialize, Serialize};
use shared::time::SystemInstant;
#[derive(Debug, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct RTCRemoteOutboundRtpStreamStats {
#[serde(flatten)]
pub sent_rtp_stream_stats: RTCSentRtpStreamStats,
pub local_id: String,
#[serde(
default,
skip_serializing_if = "Option::is_none",
with = "crate::statistics::stats::optional_instant_to_epoch"
)]
pub remote_timestamp: Option<SystemInstant>,
pub reports_sent: u64,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub round_trip_time: Option<f64>,
pub total_round_trip_time: f64,
pub round_trip_time_measurements: u64,
}