View Source Membrane.RTCP.FeedbackPacket behaviour (Membrane RTP plugin v0.16.0)

Abstraction and generic encoding/decoding functionality for RTCP payload-specific feedback packets.

Link to this section Summary

Link to this section Types

@type t() :: %Membrane.RTCP.FeedbackPacket{
  origin_ssrc: Membrane.RTP.ssrc_t(),
  payload: struct(),
  target_ssrc: Membrane.RTP.ssrc_t()
}

Link to this section Callbacks

@callback decode(binary()) :: {:ok, struct()} | {:error, any()}
@callback encode(struct()) :: binary()