# codec_registry::Entry

<a id="entry"></a>

# Entry

```cpp
#include <src/webrtc/src/codecregistry.h>

struct Entry
```

[Defined in src/webrtc/src/codecregistry.h:28](https://github.com/auscaster/icey/blob/main/src/webrtc/src/codecregistry.h#L28)

A codec the registry knows: its RTP codec spec and, in FFmpeg builds, the decoder that reads it.

## Public Attributes

| Return | Name | Description |
|--------|------|-------------|
| [`CodecSpec`](https://auscaster.com/icey/docs/api-reference/icy-wrtc-CodecSpec.md#codecspec) | [`spec`](#spec)  |  |
| `AVCodecID` | [`decoderCodecId`](#decodercodecid-1)  |  |

---

<a id="spec"></a>

### spec

```cpp
CodecSpec spec
```

Type: [`CodecSpec`](https://auscaster.com/icey/docs/api-reference/icy-wrtc-CodecSpec.md#codecspec)

[Defined in src/webrtc/src/codecregistry.h:30](https://github.com/auscaster/icey/blob/main/src/webrtc/src/codecregistry.h#L30)

---

<a id="decodercodecid-1"></a>

### decoderCodecId

```cpp
AVCodecID decoderCodecId = AV_CODEC_ID_NONE
```

[Defined in src/webrtc/src/codecregistry.h:32](https://github.com/auscaster/icey/blob/main/src/webrtc/src/codecregistry.h#L32)
