#[repr(C)]pub struct AVRTCPSenderReport {
pub ssrc: u32,
pub ntp_timestamp: u64,
pub rtp_timestamp: u32,
pub sender_nb_packets: u32,
pub sender_nb_bytes: u32,
}展开描述
RTCP SR (Sender Report) information
The received sender report information for an RTSP stream, exposed as AV_PKT_DATA_RTCP_SR side data.
Fields§
§ssrc: u32< Synchronization source identifier
ntp_timestamp: u64< NTP time when the report was sent
rtp_timestamp: u32< RTP time when the report was sent
sender_nb_packets: u32< Total number of packets sent
sender_nb_bytes: u32< Total number of bytes sent (excluding headers or padding)
trait 实现§
源代码§impl Clone for AVRTCPSenderReport
impl Clone for AVRTCPSenderReport
源代码§fn clone(&self) -> AVRTCPSenderReport
fn clone(&self) -> AVRTCPSenderReport
Returns a duplicate of the value. 阅读更多
1.0.0 · 源代码§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
从
source 执行拷贝赋值。 阅读更多源代码§impl Debug for AVRTCPSenderReport
impl Debug for AVRTCPSenderReport
源代码§impl PartialEq for AVRTCPSenderReport
impl PartialEq for AVRTCPSenderReport
impl Copy for AVRTCPSenderReport
impl Eq for AVRTCPSenderReport
impl StructuralPartialEq for AVRTCPSenderReport
自动 trait 实现§
impl Freeze for AVRTCPSenderReport
impl RefUnwindSafe for AVRTCPSenderReport
impl Send for AVRTCPSenderReport
impl Sync for AVRTCPSenderReport
impl Unpin for AVRTCPSenderReport
impl UnsafeUnpin for AVRTCPSenderReport
impl UnwindSafe for AVRTCPSenderReport
blanket 实现§
源代码§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
源代码§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
从拥有的值可变地借用。 阅读更多