Skip to main content

build_rtcp_sr

Function build_rtcp_sr 

Source
pub fn build_rtcp_sr(ssrc: u32, packets_sent: u32, octets_sent: u32) -> Vec<u8> 
Expand description

Build an RTCP Sender Report (SR) packet.

§Arguments

  • ssrc - Synchronization source identifier
  • packets_sent - Total RTP packets sent
  • octets_sent - Total payload octets sent