CodecSpec
CodecSpec
#include <icy/webrtc/codecnegotiator.h>struct CodecSpecDefined in src/webrtc/include/icy/webrtc/codecnegotiator.h:65
Canonical description of a codec supported by icey's WebRTC helpers.
List of all members
| Name | Kind | Owner |
|---|---|---|
id | variable | Declared here |
mediaType | variable | Declared here |
rtpName | variable | Declared here |
ffmpegName | variable | Declared here |
clockRate | variable | Declared here |
payloadType | variable | Declared here |
fmtp | variable | Declared here |
valid | function | Declared here |
Public Attributes
| 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. |
id
CodecId id = Defined in src/webrtc/include/icy/webrtc/codecnegotiator.h:67
Stable codec identifier.
mediaType
CodecMediaType mediaType = Defined in src/webrtc/include/icy/webrtc/codecnegotiator.h:68
Audio or video media kind.
rtpName
std::string rtpNameDefined in src/webrtc/include/icy/webrtc/codecnegotiator.h:69
Canonical RTP codec name.
ffmpegName
std::string ffmpegNameDefined in src/webrtc/include/icy/webrtc/codecnegotiator.h:70
Preferred FFmpeg encoder name.
clockRate
uint32_t clockRate = 0Defined in src/webrtc/include/icy/webrtc/codecnegotiator.h:71
RTP clock rate in Hz.
payloadType
int payloadType = 0Defined in src/webrtc/include/icy/webrtc/codecnegotiator.h:72
Default static or preferred dynamic payload type.
fmtp
std::string fmtpDefined in src/webrtc/include/icy/webrtc/codecnegotiator.h:73
Canonical fmtp line for SDP generation.
Public Methods
| Return | Name | Description |
|---|---|---|
bool | valid const inline |
valid
const inline
inline bool valid() constDefined in src/webrtc/include/icy/webrtc/codecnegotiator.h:75
