提交 8819e243 authored 作者: Anatoly Safonov's avatar Anatoly Safonov

Change round_trip_time type to f32 according C++ float type

上级 d92782e7
...@@ -239,7 +239,7 @@ pub struct ConsumerStat { ...@@ -239,7 +239,7 @@ pub struct ConsumerStat {
pub packet_count: usize, pub packet_count: usize,
pub byte_count: usize, pub byte_count: usize,
pub bitrate: u32, pub bitrate: u32,
pub round_trip_time: Option<f64>, pub round_trip_time: Option<f32>,
} }
/// RTC statistics of the consumer, may or may not include producer statistics. /// RTC statistics of the consumer, may or may not include producer statistics.
......
...@@ -198,7 +198,7 @@ pub struct ProducerStat { ...@@ -198,7 +198,7 @@ pub struct ProducerStat {
pub packet_count: usize, pub packet_count: usize,
pub byte_count: usize, pub byte_count: usize,
pub bitrate: u32, pub bitrate: u32,
pub round_trip_time: Option<f64>, pub round_trip_time: Option<f32>,
pub rtx_packets_discarded: Option<u32>, pub rtx_packets_discarded: Option<u32>,
// RtpStreamRecv specific. // RtpStreamRecv specific.
pub jitter: u32, pub jitter: u32,
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论