Membrane RTP plugin v0.4.0-alpha Membrane.RTCP.ReportPacketBlock 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

Link to this type

t()

View Source
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

Link to this function

decode(blocks)

View Source
decode(binary()) :: {:ok, [t()]} | {:error, :invalid_report_block}
Link to this function

encode(block)

View Source
encode(t()) :: binary()