Skip to main content

build_rtcp_rr

Function build_rtcp_rr 

Source
pub fn build_rtcp_rr(
    ssrc: u32,
    remote_ssrc: u32,
    loss_fraction: u8,
    cumulative_lost: u32,
    highest_seq: u32,
    jitter: u32,
) -> Vec<u8> 
Expand description

Build an RTCP Receiver Report (RR) packet.

§Arguments

  • ssrc - Our SSRC
  • remote_ssrc - SSRC of the source we’re reporting on
  • loss_fraction - Fraction of packets lost (0-255)
  • cumulative_lost - Total packets lost (24-bit)
  • highest_seq - Highest sequence number received (with cycles)
  • jitter - Interarrival jitter