XMediaLib.SDP.Ssrc (xmedialib v0.3.0)

Copy Markdown View Source

SSRC-level attribute (a=ssrc:) binding metadata to an RTP synchronization source.

What problem this solves

SSRC-level SDP attributes bind metadata (CNAME, MSID) to an RTP synchronization source id before packets arrive. Conference and simulcast stacks use these lines to correlate streams across renegotiation.

Common attributes include cname (canonical name) and msid (media stream id).

Wire form: a=ssrc:<ssrc-id> <attribute>[:<value>]

RFCs

Summary

Types

t()

SSRC identifier and attribute name/value.

Types

t()

@type t() :: %XMediaLib.SDP.Ssrc{
  attribute: String.t(),
  id: non_neg_integer(),
  value: String.t() | nil
}

SSRC identifier and attribute name/value.

Fields

  • :id - 32-bit synchronization source identifier
  • :attribute - attribute name, e.g. cname
  • :value - optional attribute value after :