webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
webrtc::RTPPayloadRegistry Class Reference

#include <rtp_payload_registry.h>

Public Member Functions

 RTPPayloadRegistry ()
 
 ~RTPPayloadRegistry ()
 
 RTPPayloadRegistry (RTPPayloadStrategy *rtp_payload_strategy)
 
int32_t RegisterReceivePayload (const CodecInst &audio_codec, bool *created_new_payload_type)
 
int32_t RegisterReceivePayload (const VideoCodec &video_codec)
 
int32_t DeRegisterReceivePayload (int8_t payload_type)
 
int32_t ReceivePayloadType (const CodecInst &audio_codec, int8_t *payload_type) const
 
int32_t ReceivePayloadType (const VideoCodec &video_codec, int8_t *payload_type) const
 
bool RtxEnabled () const
 
void SetRtxSsrc (uint32_t ssrc)
 
bool GetRtxSsrc (uint32_t *ssrc) const
 
void SetRtxPayloadType (int payload_type, int associated_payload_type)
 
bool IsRtx (const RTPHeader &header) const
 
bool RestoreOriginalPacket (uint8_t *restored_packet, const uint8_t *packet, size_t *packet_length, uint32_t original_ssrc, const RTPHeader &header)
 
bool IsRed (const RTPHeader &header) const
 
bool IsEncapsulated (const RTPHeader &header) const
 
bool GetPayloadSpecifics (uint8_t payload_type, PayloadUnion *payload) const
 
int GetPayloadTypeFrequency (uint8_t payload_type) const
 
const RtpUtility::Payload * PayloadTypeToPayload (uint8_t payload_type) const
 
void ResetLastReceivedPayloadTypes ()
 
void SetIncomingPayloadType (const RTPHeader &header)
 
bool ReportMediaPayloadType (uint8_t media_payload_type)
 
int8_t red_payload_type () const
 
int8_t ulpfec_payload_type () const
 
int8_t last_received_payload_type () const
 
void set_last_received_payload_type (int8_t last_received_payload_type)
 
int8_t last_received_media_payload_type () const
 
RTC_DEPRECATED void set_use_rtx_payload_mapping_on_restore (bool val)
 
 RTPPayloadRegistry ()
 
 ~RTPPayloadRegistry ()
 
 RTPPayloadRegistry (RTPPayloadStrategy *rtp_payload_strategy)
 
int32_t RegisterReceivePayload (const CodecInst &audio_codec, bool *created_new_payload_type)
 
int32_t RegisterReceivePayload (const VideoCodec &video_codec)
 
int32_t DeRegisterReceivePayload (int8_t payload_type)
 
int32_t ReceivePayloadType (const CodecInst &audio_codec, int8_t *payload_type) const
 
int32_t ReceivePayloadType (const VideoCodec &video_codec, int8_t *payload_type) const
 
bool RtxEnabled () const
 
void SetRtxSsrc (uint32_t ssrc)
 
bool GetRtxSsrc (uint32_t *ssrc) const
 
void SetRtxPayloadType (int payload_type, int associated_payload_type)
 
bool IsRtx (const RTPHeader &header) const
 
bool RestoreOriginalPacket (uint8_t *restored_packet, const uint8_t *packet, size_t *packet_length, uint32_t original_ssrc, const RTPHeader &header)
 
bool IsRed (const RTPHeader &header) const
 
bool IsEncapsulated (const RTPHeader &header) const
 
bool GetPayloadSpecifics (uint8_t payload_type, PayloadUnion *payload) const
 
int GetPayloadTypeFrequency (uint8_t payload_type) const
 
const RtpUtility::Payload * PayloadTypeToPayload (uint8_t payload_type) const
 
void ResetLastReceivedPayloadTypes ()
 
void SetIncomingPayloadType (const RTPHeader &header)
 
bool ReportMediaPayloadType (uint8_t media_payload_type)
 
int8_t red_payload_type () const
 
int8_t ulpfec_payload_type () const
 
int8_t last_received_payload_type () const
 
void set_last_received_payload_type (int8_t last_received_payload_type)
 
int8_t last_received_media_payload_type () const
 
RTC_DEPRECATED void set_use_rtx_payload_mapping_on_restore (bool val)
 

Constructor & Destructor Documentation

◆ RTPPayloadRegistry() [1/4]

webrtc::RTPPayloadRegistry::RTPPayloadRegistry ( )

◆ ~RTPPayloadRegistry() [1/2]

webrtc::RTPPayloadRegistry::~RTPPayloadRegistry ( )
default

◆ RTPPayloadRegistry() [2/4]

webrtc::RTPPayloadRegistry::RTPPayloadRegistry ( RTPPayloadStrategy rtp_payload_strategy)
inlineexplicit

◆ RTPPayloadRegistry() [3/4]

webrtc::RTPPayloadRegistry::RTPPayloadRegistry ( )

◆ ~RTPPayloadRegistry() [2/2]

webrtc::RTPPayloadRegistry::~RTPPayloadRegistry ( )

◆ RTPPayloadRegistry() [4/4]

webrtc::RTPPayloadRegistry::RTPPayloadRegistry ( RTPPayloadStrategy rtp_payload_strategy)
inlineexplicit

Member Function Documentation

◆ DeRegisterReceivePayload() [1/2]

int32_t webrtc::RTPPayloadRegistry::DeRegisterReceivePayload ( int8_t  payload_type)

◆ DeRegisterReceivePayload() [2/2]

int32_t webrtc::RTPPayloadRegistry::DeRegisterReceivePayload ( int8_t  payload_type)

◆ GetPayloadSpecifics() [1/2]

bool webrtc::RTPPayloadRegistry::GetPayloadSpecifics ( uint8_t  payload_type,
PayloadUnion payload 
) const

◆ GetPayloadSpecifics() [2/2]

bool webrtc::RTPPayloadRegistry::GetPayloadSpecifics ( uint8_t  payload_type,
PayloadUnion payload 
) const

◆ GetPayloadTypeFrequency() [1/2]

int webrtc::RTPPayloadRegistry::GetPayloadTypeFrequency ( uint8_t  payload_type) const

◆ GetPayloadTypeFrequency() [2/2]

int webrtc::RTPPayloadRegistry::GetPayloadTypeFrequency ( uint8_t  payload_type) const

◆ GetRtxSsrc() [1/2]

bool webrtc::RTPPayloadRegistry::GetRtxSsrc ( uint32_t ssrc) const

◆ GetRtxSsrc() [2/2]

bool webrtc::RTPPayloadRegistry::GetRtxSsrc ( uint32_t ssrc) const

◆ IsEncapsulated() [1/2]

bool webrtc::RTPPayloadRegistry::IsEncapsulated ( const RTPHeader header) const

◆ IsEncapsulated() [2/2]

bool webrtc::RTPPayloadRegistry::IsEncapsulated ( const RTPHeader header) const

◆ IsRed() [1/2]

bool webrtc::RTPPayloadRegistry::IsRed ( const RTPHeader header) const

◆ IsRed() [2/2]

bool webrtc::RTPPayloadRegistry::IsRed ( const RTPHeader header) const

◆ IsRtx() [1/2]

bool webrtc::RTPPayloadRegistry::IsRtx ( const RTPHeader header) const

◆ IsRtx() [2/2]

bool webrtc::RTPPayloadRegistry::IsRtx ( const RTPHeader header) const

◆ last_received_media_payload_type() [1/2]

int8_t webrtc::RTPPayloadRegistry::last_received_media_payload_type ( ) const
inline

◆ last_received_media_payload_type() [2/2]

int8_t webrtc::RTPPayloadRegistry::last_received_media_payload_type ( ) const
inline

◆ last_received_payload_type() [1/2]

int8_t webrtc::RTPPayloadRegistry::last_received_payload_type ( ) const
inline

◆ last_received_payload_type() [2/2]

int8_t webrtc::RTPPayloadRegistry::last_received_payload_type ( ) const
inline

◆ PayloadTypeToPayload() [1/2]

const RtpUtility::Payload * webrtc::RTPPayloadRegistry::PayloadTypeToPayload ( uint8_t  payload_type) const

◆ PayloadTypeToPayload() [2/2]

const RtpUtility::Payload* webrtc::RTPPayloadRegistry::PayloadTypeToPayload ( uint8_t  payload_type) const

◆ ReceivePayloadType() [1/4]

int32_t webrtc::RTPPayloadRegistry::ReceivePayloadType ( const CodecInst audio_codec,
int8_t payload_type 
) const

◆ ReceivePayloadType() [2/4]

int32_t webrtc::RTPPayloadRegistry::ReceivePayloadType ( const CodecInst audio_codec,
int8_t payload_type 
) const

◆ ReceivePayloadType() [3/4]

int32_t webrtc::RTPPayloadRegistry::ReceivePayloadType ( const VideoCodec video_codec,
int8_t payload_type 
) const

◆ ReceivePayloadType() [4/4]

int32_t webrtc::RTPPayloadRegistry::ReceivePayloadType ( const VideoCodec video_codec,
int8_t payload_type 
) const

◆ red_payload_type() [1/2]

int8_t webrtc::RTPPayloadRegistry::red_payload_type ( ) const
inline

◆ red_payload_type() [2/2]

int8_t webrtc::RTPPayloadRegistry::red_payload_type ( ) const
inline

◆ RegisterReceivePayload() [1/4]

int32_t webrtc::RTPPayloadRegistry::RegisterReceivePayload ( const CodecInst audio_codec,
bool *  created_new_payload_type 
)

◆ RegisterReceivePayload() [2/4]

int32_t webrtc::RTPPayloadRegistry::RegisterReceivePayload ( const CodecInst audio_codec,
bool *  created_new_payload_type 
)

◆ RegisterReceivePayload() [3/4]

int32_t webrtc::RTPPayloadRegistry::RegisterReceivePayload ( const VideoCodec video_codec)

◆ RegisterReceivePayload() [4/4]

int32_t webrtc::RTPPayloadRegistry::RegisterReceivePayload ( const VideoCodec video_codec)

◆ ReportMediaPayloadType() [1/2]

bool webrtc::RTPPayloadRegistry::ReportMediaPayloadType ( uint8_t  media_payload_type)

◆ ReportMediaPayloadType() [2/2]

bool webrtc::RTPPayloadRegistry::ReportMediaPayloadType ( uint8_t  media_payload_type)

◆ ResetLastReceivedPayloadTypes() [1/2]

void webrtc::RTPPayloadRegistry::ResetLastReceivedPayloadTypes ( )
inline

◆ ResetLastReceivedPayloadTypes() [2/2]

void webrtc::RTPPayloadRegistry::ResetLastReceivedPayloadTypes ( )
inline

◆ RestoreOriginalPacket() [1/2]

bool webrtc::RTPPayloadRegistry::RestoreOriginalPacket ( uint8_t restored_packet,
const uint8_t packet,
size_t packet_length,
uint32_t  original_ssrc,
const RTPHeader header 
)

◆ RestoreOriginalPacket() [2/2]

bool webrtc::RTPPayloadRegistry::RestoreOriginalPacket ( uint8_t restored_packet,
const uint8_t packet,
size_t packet_length,
uint32_t  original_ssrc,
const RTPHeader header 
)

◆ RtxEnabled() [1/2]

bool webrtc::RTPPayloadRegistry::RtxEnabled ( ) const

◆ RtxEnabled() [2/2]

bool webrtc::RTPPayloadRegistry::RtxEnabled ( ) const

◆ set_last_received_payload_type() [1/2]

void webrtc::RTPPayloadRegistry::set_last_received_payload_type ( int8_t  last_received_payload_type)
inline

◆ set_last_received_payload_type() [2/2]

void webrtc::RTPPayloadRegistry::set_last_received_payload_type ( int8_t  last_received_payload_type)
inline

◆ set_use_rtx_payload_mapping_on_restore() [1/2]

RTC_DEPRECATED void webrtc::RTPPayloadRegistry::set_use_rtx_payload_mapping_on_restore ( bool  val)
inline

◆ set_use_rtx_payload_mapping_on_restore() [2/2]

RTC_DEPRECATED void webrtc::RTPPayloadRegistry::set_use_rtx_payload_mapping_on_restore ( bool  val)
inline

◆ SetIncomingPayloadType() [1/2]

void webrtc::RTPPayloadRegistry::SetIncomingPayloadType ( const RTPHeader header)

◆ SetIncomingPayloadType() [2/2]

void webrtc::RTPPayloadRegistry::SetIncomingPayloadType ( const RTPHeader header)

◆ SetRtxPayloadType() [1/2]

void webrtc::RTPPayloadRegistry::SetRtxPayloadType ( int  payload_type,
int  associated_payload_type 
)

◆ SetRtxPayloadType() [2/2]

void webrtc::RTPPayloadRegistry::SetRtxPayloadType ( int  payload_type,
int  associated_payload_type 
)

◆ SetRtxSsrc() [1/2]

void webrtc::RTPPayloadRegistry::SetRtxSsrc ( uint32_t  ssrc)

◆ SetRtxSsrc() [2/2]

void webrtc::RTPPayloadRegistry::SetRtxSsrc ( uint32_t  ssrc)

◆ ulpfec_payload_type() [1/2]

int8_t webrtc::RTPPayloadRegistry::ulpfec_payload_type ( ) const
inline

◆ ulpfec_payload_type() [2/2]

int8_t webrtc::RTPPayloadRegistry::ulpfec_payload_type ( ) const
inline

The documentation for this class was generated from the following files: