# `ExSDP.Attribute.RID`
[🔗](https://github.com/membraneframework/ex_sdp/blob/v1.2.0/lib/ex_sdp/attribute/rid.ex#L1)

This module represents rid (RFC 8851).

# `attr_key`

```elixir
@type attr_key() :: :rid
```

Key that can be used for searching this attribute using `ExSDP.Media.get_attribute/2`.

# `t`

```elixir
@type t() :: %ExSDP.Attribute.RID{
  direction: :send | :recv,
  id: binary(),
  pt: [non_neg_integer()] | nil,
  restrictions: {String.t(), String.t()}
}
```

# `parse`

```elixir
@spec parse(binary()) :: {:ok, t()} | {:error, :invalid_rid}
```

---

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