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

#include <rtp_header_extension.h>

Public Member Functions

 RtpHeaderExtensionMap ()
 
 RtpHeaderExtensionMap (rtc::ArrayView< const RtpExtension > extensions)
 
template<typename Extension >
bool Register (uint8_t id)
 
bool RegisterByType (uint8_t id, RTPExtensionType type)
 
bool RegisterByUri (uint8_t id, const std::string &uri)
 
bool IsRegistered (RTPExtensionType type) const
 
RTPExtensionType GetType (uint8_t id) const
 
uint8_t GetId (RTPExtensionType type) const
 
size_t GetTotalLengthInBytes () const
 
int32_t Register (RTPExtensionType type, uint8_t id)
 
int32_t Deregister (RTPExtensionType type)
 
 RtpHeaderExtensionMap ()
 
 RtpHeaderExtensionMap (rtc::ArrayView< const RtpExtension > extensions)
 
template<typename Extension >
bool Register (uint8_t id)
 
bool RegisterByType (uint8_t id, RTPExtensionType type)
 
bool RegisterByUri (uint8_t id, const std::string &uri)
 
bool IsRegistered (RTPExtensionType type) const
 
RTPExtensionType GetType (uint8_t id) const
 
uint8_t GetId (RTPExtensionType type) const
 
size_t GetTotalLengthInBytes () const
 
int32_t Register (RTPExtensionType type, uint8_t id)
 
int32_t Deregister (RTPExtensionType type)
 

Static Public Attributes

static constexpr RTPExtensionType kInvalidType = kRtpExtensionNone
 
static constexpr uint8_t kInvalidId = 0
 

Constructor & Destructor Documentation

◆ RtpHeaderExtensionMap() [1/4]

webrtc::RtpHeaderExtensionMap::RtpHeaderExtensionMap ( )

◆ RtpHeaderExtensionMap() [2/4]

webrtc::RtpHeaderExtensionMap::RtpHeaderExtensionMap ( rtc::ArrayView< const RtpExtension extensions)
explicit

◆ RtpHeaderExtensionMap() [3/4]

webrtc::RtpHeaderExtensionMap::RtpHeaderExtensionMap ( )

◆ RtpHeaderExtensionMap() [4/4]

webrtc::RtpHeaderExtensionMap::RtpHeaderExtensionMap ( rtc::ArrayView< const RtpExtension extensions)
explicit

Member Function Documentation

◆ Deregister() [1/2]

int32_t webrtc::RtpHeaderExtensionMap::Deregister ( RTPExtensionType  type)

◆ Deregister() [2/2]

int32_t webrtc::RtpHeaderExtensionMap::Deregister ( RTPExtensionType  type)

◆ GetId() [1/2]

uint8_t webrtc::RtpHeaderExtensionMap::GetId ( RTPExtensionType  type) const
inline

◆ GetId() [2/2]

uint8_t webrtc::RtpHeaderExtensionMap::GetId ( RTPExtensionType  type) const
inline

◆ GetTotalLengthInBytes() [1/2]

size_t webrtc::RtpHeaderExtensionMap::GetTotalLengthInBytes ( ) const

◆ GetTotalLengthInBytes() [2/2]

size_t webrtc::RtpHeaderExtensionMap::GetTotalLengthInBytes ( ) const

◆ GetType() [1/2]

RTPExtensionType webrtc::RtpHeaderExtensionMap::GetType ( uint8_t  id) const
inline

◆ GetType() [2/2]

RTPExtensionType webrtc::RtpHeaderExtensionMap::GetType ( uint8_t  id) const
inline

◆ IsRegistered() [1/2]

bool webrtc::RtpHeaderExtensionMap::IsRegistered ( RTPExtensionType  type) const
inline

◆ IsRegistered() [2/2]

bool webrtc::RtpHeaderExtensionMap::IsRegistered ( RTPExtensionType  type) const
inline

◆ Register() [1/4]

template<typename Extension >
bool webrtc::RtpHeaderExtensionMap::Register ( uint8_t  id)
inline

◆ Register() [2/4]

template<typename Extension >
bool webrtc::RtpHeaderExtensionMap::Register ( uint8_t  id)
inline

◆ Register() [3/4]

int32_t webrtc::RtpHeaderExtensionMap::Register ( RTPExtensionType  type,
uint8_t  id 
)
inline

◆ Register() [4/4]

int32_t webrtc::RtpHeaderExtensionMap::Register ( RTPExtensionType  type,
uint8_t  id 
)
inline

◆ RegisterByType() [1/2]

bool webrtc::RtpHeaderExtensionMap::RegisterByType ( uint8_t  id,
RTPExtensionType  type 
)

◆ RegisterByType() [2/2]

bool webrtc::RtpHeaderExtensionMap::RegisterByType ( uint8_t  id,
RTPExtensionType  type 
)

◆ RegisterByUri() [1/2]

bool webrtc::RtpHeaderExtensionMap::RegisterByUri ( uint8_t  id,
const std::string uri 
)

◆ RegisterByUri() [2/2]

bool webrtc::RtpHeaderExtensionMap::RegisterByUri ( uint8_t  id,
const std::string uri 
)

Member Data Documentation

◆ kInvalidId

static constexpr uint8_t webrtc::RtpHeaderExtensionMap::kInvalidId = 0
static

◆ kInvalidType

static constexpr RTPExtensionType webrtc::RtpHeaderExtensionMap::kInvalidType = kRtpExtensionNone
static

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