pub struct SenderInfo {
pub ssrc: Ssrc,
pub ntp_time: Instant,
pub rtp_time: MediaTime,
pub sender_packet_count: u32,
pub sender_octet_count: u32,
}
Expand description
Information about a stream being sent.
A subset of the information contained in Sender Reports(SR).
See RFC 3550 6.4.1
Fields§
§ssrc: Ssrc
The SSRC of the SR originator.
ntp_time: Instant
The 64 bit NTP timestamp converted to an Instant
.
rtp_time: MediaTime
The RTP timestamp that corresponds to the same point in time as the NTP timestamp above.
sender_packet_count: u32
The total number of packets the sender had sent when this information was generated.
sender_octet_count: u32
The total number of octets the sender had sent when this information was generated.
Trait Implementations§
Source§impl Clone for SenderInfo
impl Clone for SenderInfo
Source§fn clone(&self) -> SenderInfo
fn clone(&self) -> SenderInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SenderInfo
impl Debug for SenderInfo
Source§impl PartialEq for SenderInfo
impl PartialEq for SenderInfo
Source§impl<'a> TryFrom<&'a [u8]> for SenderInfo
impl<'a> TryFrom<&'a [u8]> for SenderInfo
impl Copy for SenderInfo
impl Eq for SenderInfo
impl StructuralPartialEq for SenderInfo
Auto Trait Implementations§
impl Freeze for SenderInfo
impl RefUnwindSafe for SenderInfo
impl Send for SenderInfo
impl Sync for SenderInfo
impl Unpin for SenderInfo
impl UnwindSafe for SenderInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more