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

Format parameters (`a=fmtp:`) carrying codec-specific configuration.

## What problem this solves

Codecs often need extra parameters beyond rtpmap (Opus FEC, H.264
profile-level-id). Those arrive as `a=fmtp:` lines tied to a payload type.
This struct holds the fmtp string for inspection or rewrite during SDP
negotiation.

Examples include Opus `minptime`, H.264 profile-level-id, and FEC toggles.

Wire form: `a=fmtp:<format> <param>=<value>;...`

## RFCs

* [RFC 8866](https://www.rfc-editor.org/rfc/rfc8866) pt.6

# `t`

```elixir
@type t() :: %XMediaLib.SDP.Fmtp{
  parameters: String.t(),
  payload_type: non_neg_integer()
}
```

Payload type and format-specific parameter string.

## Fields

* `:payload_type` - RTP payload type the parameters apply to
* `:parameters` - semicolon-separated `key=value` list as a single string

---

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