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

#include <rtp_header_extensions.h>

Static Public Member Functions

static bool Parse (const uint8_t *data, bool *voice_activity, uint8_t *audio_level)
 
static bool Write (uint8_t *data, bool voice_activity, uint8_t audio_level)
 
static bool Parse (const uint8_t *data, bool *voice_activity, uint8_t *audio_level)
 
static bool Write (uint8_t *data, bool voice_activity, uint8_t audio_level)
 

Static Public Attributes

static constexpr RTPExtensionType kId = kRtpExtensionAudioLevel
 
static constexpr uint8_t kValueSizeBytes = 1
 
static constexpr const char * kUri
 

Member Function Documentation

◆ Parse() [1/2]

bool webrtc::AudioLevel::Parse ( const uint8_t data,
bool *  voice_activity,
uint8_t audio_level 
)
static

◆ Parse() [2/2]

static bool webrtc::AudioLevel::Parse ( const uint8_t data,
bool *  voice_activity,
uint8_t audio_level 
)
static

◆ Write() [1/2]

static bool webrtc::AudioLevel::Write ( uint8_t data,
bool  voice_activity,
uint8_t  audio_level 
)
static

◆ Write() [2/2]

bool webrtc::AudioLevel::Write ( uint8_t data,
bool  voice_activity,
uint8_t  audio_level 
)
static

Member Data Documentation

◆ kId

static constexpr RTPExtensionType webrtc::AudioLevel::kId = kRtpExtensionAudioLevel
static

◆ kUri

static constexpr const char * webrtc::AudioLevel::kUri
static
Initial value:
=
"urn:ietf:params:rtp-hdrext:ssrc-audio-level"

◆ kValueSizeBytes

static constexpr uint8_t webrtc::AudioLevel::kValueSizeBytes = 1
static

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