webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
#include <decoder_database.h>
Classes | |
class | DecoderInfo |
Public Types | |
enum | DatabaseReturnCodes { kOK = 0, kInvalidRtpPayloadType = -1, kCodecNotSupported = -2, kInvalidSampleRate = -3, kDecoderExists = -4, kDecoderNotFound = -5, kInvalidPointer = -6, kOK = 0, kInvalidRtpPayloadType = -1, kCodecNotSupported = -2, kInvalidSampleRate = -3, kDecoderExists = -4, kDecoderNotFound = -5, kInvalidPointer = -6 } |
enum | DatabaseReturnCodes { kOK = 0, kInvalidRtpPayloadType = -1, kCodecNotSupported = -2, kInvalidSampleRate = -3, kDecoderExists = -4, kDecoderNotFound = -5, kInvalidPointer = -6, kOK = 0, kInvalidRtpPayloadType = -1, kCodecNotSupported = -2, kInvalidSampleRate = -3, kDecoderExists = -4, kDecoderNotFound = -5, kInvalidPointer = -6 } |
Public Member Functions | |
DecoderDatabase (const rtc::scoped_refptr< AudioDecoderFactory > &decoder_factory) | |
virtual | ~DecoderDatabase () |
virtual bool | Empty () const |
virtual int | Size () const |
virtual void | Reset () |
virtual int | RegisterPayload (uint8_t rtp_payload_type, NetEqDecoder codec_type, const std::string &name) |
virtual int | RegisterPayload (int rtp_payload_type, const SdpAudioFormat &audio_format) |
virtual int | InsertExternal (uint8_t rtp_payload_type, NetEqDecoder codec_type, const std::string &codec_name, AudioDecoder *decoder) |
virtual int | Remove (uint8_t rtp_payload_type) |
virtual void | RemoveAll () |
virtual const DecoderInfo * | GetDecoderInfo (uint8_t rtp_payload_type) const |
virtual int | SetActiveDecoder (uint8_t rtp_payload_type, bool *new_decoder) |
virtual AudioDecoder * | GetActiveDecoder () const |
virtual int | SetActiveCngDecoder (uint8_t rtp_payload_type) |
virtual ComfortNoiseDecoder * | GetActiveCngDecoder () const |
AudioDecoder * | GetDecoder (uint8_t rtp_payload_type) const |
bool | IsType (uint8_t rtp_payload_type, const char *name) const |
bool | IsType (uint8_t rtp_payload_type, const std::string &name) const |
bool | IsComfortNoise (uint8_t rtp_payload_type) const |
bool | IsDtmf (uint8_t rtp_payload_type) const |
bool | IsRed (uint8_t rtp_payload_type) const |
int | CheckPayloadTypes (const PacketList &packet_list) const |
DecoderDatabase (const rtc::scoped_refptr< AudioDecoderFactory > &decoder_factory) | |
virtual | ~DecoderDatabase () |
virtual bool | Empty () const |
virtual int | Size () const |
virtual void | Reset () |
virtual int | RegisterPayload (uint8_t rtp_payload_type, NetEqDecoder codec_type, const std::string &name) |
virtual int | RegisterPayload (int rtp_payload_type, const SdpAudioFormat &audio_format) |
virtual int | InsertExternal (uint8_t rtp_payload_type, NetEqDecoder codec_type, const std::string &codec_name, AudioDecoder *decoder) |
virtual int | Remove (uint8_t rtp_payload_type) |
virtual void | RemoveAll () |
virtual const DecoderInfo * | GetDecoderInfo (uint8_t rtp_payload_type) const |
virtual int | SetActiveDecoder (uint8_t rtp_payload_type, bool *new_decoder) |
virtual AudioDecoder * | GetActiveDecoder () const |
virtual int | SetActiveCngDecoder (uint8_t rtp_payload_type) |
virtual ComfortNoiseDecoder * | GetActiveCngDecoder () const |
AudioDecoder * | GetDecoder (uint8_t rtp_payload_type) const |
bool | IsType (uint8_t rtp_payload_type, const char *name) const |
bool | IsType (uint8_t rtp_payload_type, const std::string &name) const |
bool | IsComfortNoise (uint8_t rtp_payload_type) const |
bool | IsDtmf (uint8_t rtp_payload_type) const |
bool | IsRed (uint8_t rtp_payload_type) const |
int | CheckPayloadTypes (const PacketList &packet_list) const |
Static Public Attributes | |
static const uint8_t | kRtpPayloadTypeError = 0xFF |
webrtc::DecoderDatabase::DecoderDatabase | ( | const rtc::scoped_refptr< AudioDecoderFactory > & | decoder_factory | ) |
|
virtualdefault |
webrtc::DecoderDatabase::DecoderDatabase | ( | const rtc::scoped_refptr< AudioDecoderFactory > & | decoder_factory | ) |
|
virtual |
int webrtc::DecoderDatabase::CheckPayloadTypes | ( | const PacketList & | packet_list | ) | const |
int webrtc::DecoderDatabase::CheckPayloadTypes | ( | const PacketList & | packet_list | ) | const |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
AudioDecoder* webrtc::DecoderDatabase::GetDecoder | ( | uint8_t | rtp_payload_type | ) | const |
AudioDecoder * webrtc::DecoderDatabase::GetDecoder | ( | uint8_t | rtp_payload_type | ) | const |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
bool webrtc::DecoderDatabase::IsComfortNoise | ( | uint8_t | rtp_payload_type | ) | const |
bool webrtc::DecoderDatabase::IsComfortNoise | ( | uint8_t | rtp_payload_type | ) | const |
bool webrtc::DecoderDatabase::IsDtmf | ( | uint8_t | rtp_payload_type | ) | const |
bool webrtc::DecoderDatabase::IsDtmf | ( | uint8_t | rtp_payload_type | ) | const |
bool webrtc::DecoderDatabase::IsRed | ( | uint8_t | rtp_payload_type | ) | const |
bool webrtc::DecoderDatabase::IsRed | ( | uint8_t | rtp_payload_type | ) | const |
bool webrtc::DecoderDatabase::IsType | ( | uint8_t | rtp_payload_type, |
const char * | name | ||
) | const |
bool webrtc::DecoderDatabase::IsType | ( | uint8_t | rtp_payload_type, |
const char * | name | ||
) | const |
bool webrtc::DecoderDatabase::IsType | ( | uint8_t | rtp_payload_type, |
const std::string & | name | ||
) | const |
bool webrtc::DecoderDatabase::IsType | ( | uint8_t | rtp_payload_type, |
const std::string & | name | ||
) | const |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
static |