remove dead retina::client::rtp::SenderReport

This commit is contained in:
Scott Lamb 2022-05-11 12:38:13 -07:00
parent 200a93e905
commit fff3acc3c9
3 changed files with 4 additions and 17 deletions

View File

@ -31,7 +31,11 @@ use crate::{
mod channel_mapping;
mod parse;
/// Internal API, public for a benchmark only.
#[doc(hidden)]
pub mod rtp;
mod teardown;
mod timeline;
@ -2805,10 +2809,6 @@ mod tests {
("SessionOptions", std::mem::size_of::<SessionOptions>()),
("Demuxed", std::mem::size_of::<Demuxed>()),
("Stream", std::mem::size_of::<Stream>()),
(
"rtp::SenderReport",
std::mem::size_of::<rtp::SenderReport>(),
),
] {
println!("{:-40} {:4}", name, size);
}

View File

@ -13,15 +13,6 @@ use crate::{ConnectionContext, Error, ErrorInt, PacketContext, StreamContext, St
use super::{SessionOptions, Timeline};
/// An RTCP sender report.
#[derive(Debug)]
pub struct SenderReport {
pub stream_id: usize,
pub ctx: PacketContext,
pub timestamp: crate::Timestamp,
pub ntp_timestamp: crate::NtpTimestamp,
}
/// RTP/RTCP demarshaller which ensures packets have the correct SSRC and
/// monotonically increasing SEQ. Unstable; exposed for benchmark.
///

View File

@ -591,10 +591,6 @@ mod tests {
("VideoFrame", std::mem::size_of::<VideoFrame>()),
("AudioFrame", std::mem::size_of::<AudioFrame>()),
("MessageFrame", std::mem::size_of::<MessageFrame>()),
(
"SenderReport",
std::mem::size_of::<crate::client::rtp::SenderReport>(),
),
("VideoParameters", std::mem::size_of::<VideoParameters>()),
("AudioParameters", std::mem::size_of::<AudioParameters>()),
(