#include <icy/webrtc/codecnegotiator.h>Canonical description of a codec supported by icey's WebRTC helpers.
| Return | Name | Description |
|---|---|---|
CodecId | id | Stable codec identifier. |
CodecMediaType | mediaType | Audio or video media kind. |
std::string | rtpName | Canonical RTP codec name. |
std::string | ffmpegName | Preferred FFmpeg encoder name. |
uint32_t | clockRate | RTP clock rate in Hz. |
int | payloadType | Default static or preferred dynamic payload type. |
std::string | fmtp | Canonical fmtp line for SDP generation. |
CodecId id = Stable codec identifier.
CodecMediaType mediaType = Audio or video media kind.
std::string rtpNameCanonical RTP codec name.
std::string ffmpegNamePreferred FFmpeg encoder name.
uint32_t clockRate = 0RTP clock rate in Hz.
int payloadType = 0Default static or preferred dynamic payload type.
std::string fmtpCanonical fmtp line for SDP generation.
| Return | Name | Description |
|---|---|---|
bool | valid const inline |
const inline
inline bool valid() const