# `XMediaLib.SDP.Ssrc`
[🔗](https://github.com/Lazarus404/xmedialib/blob/main/lib/sdp/types.ex#L441)

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

* [RFC 5576](https://www.rfc-editor.org/rfc/rfc5576) - SSRC attributes in SDP

# `t`

```elixir
@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 `:`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
