Membrane.RTCP.ReportPacketBlock (Membrane RTP plugin v0.9.0) View Source

Parses and constructs report blocks, which are parts of RTCP Sender and Receiver Reports defined in RFC3550

Link to this section Summary

Link to this section Types

Specs

t() :: %Membrane.RTCP.ReportPacketBlock{
  delay_since_sr: non_neg_integer(),
  fraction_lost: float(),
  highest_seq_num: non_neg_integer(),
  interarrival_jitter: non_neg_integer(),
  last_sr_timestamp: non_neg_integer(),
  ssrc: non_neg_integer(),
  total_lost: non_neg_integer()
}

Link to this section Functions

Specs

decode(binary()) :: {:ok, [t()]} | {:error, :invalid_report_block}

Specs

encode(t()) :: binary()