remove dead retina::client::rtp::SenderReport
This commit is contained in:
parent
200a93e905
commit
fff3acc3c9
@ -31,7 +31,11 @@ use crate::{
|
|||||||
|
|
||||||
mod channel_mapping;
|
mod channel_mapping;
|
||||||
mod parse;
|
mod parse;
|
||||||
|
|
||||||
|
/// Internal API, public for a benchmark only.
|
||||||
|
#[doc(hidden)]
|
||||||
pub mod rtp;
|
pub mod rtp;
|
||||||
|
|
||||||
mod teardown;
|
mod teardown;
|
||||||
mod timeline;
|
mod timeline;
|
||||||
|
|
||||||
@ -2805,10 +2809,6 @@ mod tests {
|
|||||||
("SessionOptions", std::mem::size_of::<SessionOptions>()),
|
("SessionOptions", std::mem::size_of::<SessionOptions>()),
|
||||||
("Demuxed", std::mem::size_of::<Demuxed>()),
|
("Demuxed", std::mem::size_of::<Demuxed>()),
|
||||||
("Stream", std::mem::size_of::<Stream>()),
|
("Stream", std::mem::size_of::<Stream>()),
|
||||||
(
|
|
||||||
"rtp::SenderReport",
|
|
||||||
std::mem::size_of::<rtp::SenderReport>(),
|
|
||||||
),
|
|
||||||
] {
|
] {
|
||||||
println!("{:-40} {:4}", name, size);
|
println!("{:-40} {:4}", name, size);
|
||||||
}
|
}
|
||||||
|
@ -13,15 +13,6 @@ use crate::{ConnectionContext, Error, ErrorInt, PacketContext, StreamContext, St
|
|||||||
|
|
||||||
use super::{SessionOptions, Timeline};
|
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
|
/// RTP/RTCP demarshaller which ensures packets have the correct SSRC and
|
||||||
/// monotonically increasing SEQ. Unstable; exposed for benchmark.
|
/// monotonically increasing SEQ. Unstable; exposed for benchmark.
|
||||||
///
|
///
|
||||||
|
@ -591,10 +591,6 @@ mod tests {
|
|||||||
("VideoFrame", std::mem::size_of::<VideoFrame>()),
|
("VideoFrame", std::mem::size_of::<VideoFrame>()),
|
||||||
("AudioFrame", std::mem::size_of::<AudioFrame>()),
|
("AudioFrame", std::mem::size_of::<AudioFrame>()),
|
||||||
("MessageFrame", std::mem::size_of::<MessageFrame>()),
|
("MessageFrame", std::mem::size_of::<MessageFrame>()),
|
||||||
(
|
|
||||||
"SenderReport",
|
|
||||||
std::mem::size_of::<crate::client::rtp::SenderReport>(),
|
|
||||||
),
|
|
||||||
("VideoParameters", std::mem::size_of::<VideoParameters>()),
|
("VideoParameters", std::mem::size_of::<VideoParameters>()),
|
||||||
("AudioParameters", std::mem::size_of::<AudioParameters>()),
|
("AudioParameters", std::mem::size_of::<AudioParameters>()),
|
||||||
(
|
(
|
||||||
|
Loading…
Reference in New Issue
Block a user