XMediaLib.SDP.Group (xmedialib v0.3.0)

Copy Markdown View Source

SDP grouping attribute (a=group:) for related media sections.

What problem this solves

WebRTC BUNDLE groups several m= lines onto one ICE/DTLS transport via a=group:BUNDLE. SFUs and browsers read the semantics and ordered mid list to know which sections share a socket.

BUNDLE groups multiple m= lines onto one transport (common in WebRTC so audio, video, and application share one ICE/DTLS association).

Wire form: a=group:<semantics> <mid> ...

RFCs

Summary

Types

t()

Group semantics and ordered list of mid values.

Types

t()

@type t() :: %XMediaLib.SDP.Group{mids: [String.t()], semantics: String.t()}

Group semantics and ordered list of mid values.

Fields

  • :semantics - grouping type, e.g. BUNDLE or LS
  • :mids - media identification tags referenced by a=mid