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

#include <rtc_event_log_parser.h>

Public Types

enum  EventType {
  UNKNOWN_EVENT = 0, LOG_START = 1, LOG_END = 2, RTP_EVENT = 3,
  RTCP_EVENT = 4, AUDIO_PLAYOUT_EVENT = 5, LOSS_BASED_BWE_UPDATE = 6, DELAY_BASED_BWE_UPDATE = 7,
  VIDEO_RECEIVER_CONFIG_EVENT = 8, VIDEO_SENDER_CONFIG_EVENT = 9, AUDIO_RECEIVER_CONFIG_EVENT = 10, AUDIO_SENDER_CONFIG_EVENT = 11,
  AUDIO_NETWORK_ADAPTATION_EVENT = 16, BWE_PROBE_CLUSTER_CREATED_EVENT = 17, BWE_PROBE_RESULT_EVENT = 18, UNKNOWN_EVENT = 0,
  LOG_START = 1, LOG_END = 2, RTP_EVENT = 3, RTCP_EVENT = 4,
  AUDIO_PLAYOUT_EVENT = 5, LOSS_BASED_BWE_UPDATE = 6, DELAY_BASED_BWE_UPDATE = 7, VIDEO_RECEIVER_CONFIG_EVENT = 8,
  VIDEO_SENDER_CONFIG_EVENT = 9, AUDIO_RECEIVER_CONFIG_EVENT = 10, AUDIO_SENDER_CONFIG_EVENT = 11, AUDIO_NETWORK_ADAPTATION_EVENT = 16,
  BWE_PROBE_CLUSTER_CREATED_EVENT = 17, BWE_PROBE_RESULT_EVENT = 18
}
 
enum  EventType {
  UNKNOWN_EVENT = 0, LOG_START = 1, LOG_END = 2, RTP_EVENT = 3,
  RTCP_EVENT = 4, AUDIO_PLAYOUT_EVENT = 5, LOSS_BASED_BWE_UPDATE = 6, DELAY_BASED_BWE_UPDATE = 7,
  VIDEO_RECEIVER_CONFIG_EVENT = 8, VIDEO_SENDER_CONFIG_EVENT = 9, AUDIO_RECEIVER_CONFIG_EVENT = 10, AUDIO_SENDER_CONFIG_EVENT = 11,
  AUDIO_NETWORK_ADAPTATION_EVENT = 16, BWE_PROBE_CLUSTER_CREATED_EVENT = 17, BWE_PROBE_RESULT_EVENT = 18, UNKNOWN_EVENT = 0,
  LOG_START = 1, LOG_END = 2, RTP_EVENT = 3, RTCP_EVENT = 4,
  AUDIO_PLAYOUT_EVENT = 5, LOSS_BASED_BWE_UPDATE = 6, DELAY_BASED_BWE_UPDATE = 7, VIDEO_RECEIVER_CONFIG_EVENT = 8,
  VIDEO_SENDER_CONFIG_EVENT = 9, AUDIO_RECEIVER_CONFIG_EVENT = 10, AUDIO_SENDER_CONFIG_EVENT = 11, AUDIO_NETWORK_ADAPTATION_EVENT = 16,
  BWE_PROBE_CLUSTER_CREATED_EVENT = 17, BWE_PROBE_RESULT_EVENT = 18
}
 

Public Member Functions

bool ParseFile (const std::string &file_name)
 
bool ParseString (const std::string &s)
 
bool ParseStream (std::istream &stream)
 
size_t GetNumberOfEvents () const
 
int64_t GetTimestamp (size_t index) const
 
EventType GetEventType (size_t index) const
 
void GetRtpHeader (size_t index, PacketDirection *incoming, MediaType *media_type, uint8_t *header, size_t *header_length, size_t *total_length) const
 
void GetRtcpPacket (size_t index, PacketDirection *incoming, MediaType *media_type, uint8_t *packet, size_t *length) const
 
void GetVideoReceiveConfig (size_t index, VideoReceiveStream::Config *config) const
 
void GetVideoSendConfig (size_t index, VideoSendStream::Config *config) const
 
void GetAudioReceiveConfig (size_t index, AudioReceiveStream::Config *config) const
 
void GetAudioSendConfig (size_t index, AudioSendStream::Config *config) const
 
void GetAudioPlayout (size_t index, uint32_t *ssrc) const
 
void GetLossBasedBweUpdate (size_t index, int32_t *bitrate_bps, uint8_t *fraction_loss, int32_t *total_packets) const
 
void GetDelayBasedBweUpdate (size_t index, int32_t *bitrate_bps, BandwidthUsage *detector_state) const
 
void GetAudioNetworkAdaptation (size_t index, AudioNetworkAdaptor::EncoderRuntimeConfig *config) const
 
bool ParseFile (const std::string &file_name)
 
bool ParseString (const std::string &s)
 
bool ParseStream (std::istream &stream)
 
size_t GetNumberOfEvents () const
 
int64_t GetTimestamp (size_t index) const
 
EventType GetEventType (size_t index) const
 
void GetRtpHeader (size_t index, PacketDirection *incoming, MediaType *media_type, uint8_t *header, size_t *header_length, size_t *total_length) const
 
void GetRtcpPacket (size_t index, PacketDirection *incoming, MediaType *media_type, uint8_t *packet, size_t *length) const
 
void GetVideoReceiveConfig (size_t index, VideoReceiveStream::Config *config) const
 
void GetVideoSendConfig (size_t index, VideoSendStream::Config *config) const
 
void GetAudioReceiveConfig (size_t index, AudioReceiveStream::Config *config) const
 
void GetAudioSendConfig (size_t index, AudioSendStream::Config *config) const
 
void GetAudioPlayout (size_t index, uint32_t *ssrc) const
 
void GetLossBasedBweUpdate (size_t index, int32_t *bitrate_bps, uint8_t *fraction_loss, int32_t *total_packets) const
 
void GetDelayBasedBweUpdate (size_t index, int32_t *bitrate_bps, BandwidthUsage *detector_state) const
 
void GetAudioNetworkAdaptation (size_t index, AudioNetworkAdaptor::EncoderRuntimeConfig *config) const
 

Friends

class RtcEventLogTestHelper
 

Member Enumeration Documentation

◆ EventType [1/2]

Enumerator
UNKNOWN_EVENT 
LOG_START 
LOG_END 
RTP_EVENT 
RTCP_EVENT 
AUDIO_PLAYOUT_EVENT 
LOSS_BASED_BWE_UPDATE 
DELAY_BASED_BWE_UPDATE 
VIDEO_RECEIVER_CONFIG_EVENT 
VIDEO_SENDER_CONFIG_EVENT 
AUDIO_RECEIVER_CONFIG_EVENT 
AUDIO_SENDER_CONFIG_EVENT 
AUDIO_NETWORK_ADAPTATION_EVENT 
BWE_PROBE_CLUSTER_CREATED_EVENT 
BWE_PROBE_RESULT_EVENT 
UNKNOWN_EVENT 
LOG_START 
LOG_END 
RTP_EVENT 
RTCP_EVENT 
AUDIO_PLAYOUT_EVENT 
LOSS_BASED_BWE_UPDATE 
DELAY_BASED_BWE_UPDATE 
VIDEO_RECEIVER_CONFIG_EVENT 
VIDEO_SENDER_CONFIG_EVENT 
AUDIO_RECEIVER_CONFIG_EVENT 
AUDIO_SENDER_CONFIG_EVENT 
AUDIO_NETWORK_ADAPTATION_EVENT 
BWE_PROBE_CLUSTER_CREATED_EVENT 
BWE_PROBE_RESULT_EVENT 

◆ EventType [2/2]

Enumerator
UNKNOWN_EVENT 
LOG_START 
LOG_END 
RTP_EVENT 
RTCP_EVENT 
AUDIO_PLAYOUT_EVENT 
LOSS_BASED_BWE_UPDATE 
DELAY_BASED_BWE_UPDATE 
VIDEO_RECEIVER_CONFIG_EVENT 
VIDEO_SENDER_CONFIG_EVENT 
AUDIO_RECEIVER_CONFIG_EVENT 
AUDIO_SENDER_CONFIG_EVENT 
AUDIO_NETWORK_ADAPTATION_EVENT 
BWE_PROBE_CLUSTER_CREATED_EVENT 
BWE_PROBE_RESULT_EVENT 
UNKNOWN_EVENT 
LOG_START 
LOG_END 
RTP_EVENT 
RTCP_EVENT 
AUDIO_PLAYOUT_EVENT 
LOSS_BASED_BWE_UPDATE 
DELAY_BASED_BWE_UPDATE 
VIDEO_RECEIVER_CONFIG_EVENT 
VIDEO_SENDER_CONFIG_EVENT 
AUDIO_RECEIVER_CONFIG_EVENT 
AUDIO_SENDER_CONFIG_EVENT 
AUDIO_NETWORK_ADAPTATION_EVENT 
BWE_PROBE_CLUSTER_CREATED_EVENT 
BWE_PROBE_RESULT_EVENT 

Member Function Documentation

◆ GetAudioNetworkAdaptation() [1/2]

void webrtc::ParsedRtcEventLog::GetAudioNetworkAdaptation ( size_t  index,
AudioNetworkAdaptor::EncoderRuntimeConfig config 
) const

◆ GetAudioNetworkAdaptation() [2/2]

void webrtc::ParsedRtcEventLog::GetAudioNetworkAdaptation ( size_t  index,
AudioNetworkAdaptor::EncoderRuntimeConfig config 
) const

◆ GetAudioPlayout() [1/2]

void webrtc::ParsedRtcEventLog::GetAudioPlayout ( size_t  index,
uint32_t ssrc 
) const

◆ GetAudioPlayout() [2/2]

void webrtc::ParsedRtcEventLog::GetAudioPlayout ( size_t  index,
uint32_t ssrc 
) const

◆ GetAudioReceiveConfig() [1/2]

void webrtc::ParsedRtcEventLog::GetAudioReceiveConfig ( size_t  index,
AudioReceiveStream::Config config 
) const

◆ GetAudioReceiveConfig() [2/2]

void webrtc::ParsedRtcEventLog::GetAudioReceiveConfig ( size_t  index,
AudioReceiveStream::Config config 
) const

◆ GetAudioSendConfig() [1/2]

void webrtc::ParsedRtcEventLog::GetAudioSendConfig ( size_t  index,
AudioSendStream::Config config 
) const

◆ GetAudioSendConfig() [2/2]

void webrtc::ParsedRtcEventLog::GetAudioSendConfig ( size_t  index,
AudioSendStream::Config config 
) const

◆ GetDelayBasedBweUpdate() [1/2]

void webrtc::ParsedRtcEventLog::GetDelayBasedBweUpdate ( size_t  index,
int32_t bitrate_bps,
BandwidthUsage detector_state 
) const

◆ GetDelayBasedBweUpdate() [2/2]

void webrtc::ParsedRtcEventLog::GetDelayBasedBweUpdate ( size_t  index,
int32_t bitrate_bps,
BandwidthUsage detector_state 
) const

◆ GetEventType() [1/2]

ParsedRtcEventLog::EventType webrtc::ParsedRtcEventLog::GetEventType ( size_t  index) const

◆ GetEventType() [2/2]

EventType webrtc::ParsedRtcEventLog::GetEventType ( size_t  index) const

◆ GetLossBasedBweUpdate() [1/2]

void webrtc::ParsedRtcEventLog::GetLossBasedBweUpdate ( size_t  index,
int32_t bitrate_bps,
uint8_t fraction_loss,
int32_t total_packets 
) const

◆ GetLossBasedBweUpdate() [2/2]

void webrtc::ParsedRtcEventLog::GetLossBasedBweUpdate ( size_t  index,
int32_t bitrate_bps,
uint8_t fraction_loss,
int32_t total_packets 
) const

◆ GetNumberOfEvents() [1/2]

size_t webrtc::ParsedRtcEventLog::GetNumberOfEvents ( ) const

◆ GetNumberOfEvents() [2/2]

size_t webrtc::ParsedRtcEventLog::GetNumberOfEvents ( ) const

◆ GetRtcpPacket() [1/2]

void webrtc::ParsedRtcEventLog::GetRtcpPacket ( size_t  index,
PacketDirection incoming,
MediaType media_type,
uint8_t packet,
size_t length 
) const

◆ GetRtcpPacket() [2/2]

void webrtc::ParsedRtcEventLog::GetRtcpPacket ( size_t  index,
PacketDirection incoming,
MediaType media_type,
uint8_t packet,
size_t length 
) const

◆ GetRtpHeader() [1/2]

void webrtc::ParsedRtcEventLog::GetRtpHeader ( size_t  index,
PacketDirection incoming,
MediaType media_type,
uint8_t header,
size_t header_length,
size_t total_length 
) const

◆ GetRtpHeader() [2/2]

void webrtc::ParsedRtcEventLog::GetRtpHeader ( size_t  index,
PacketDirection incoming,
MediaType media_type,
uint8_t header,
size_t header_length,
size_t total_length 
) const

◆ GetTimestamp() [1/2]

int64_t webrtc::ParsedRtcEventLog::GetTimestamp ( size_t  index) const

◆ GetTimestamp() [2/2]

int64_t webrtc::ParsedRtcEventLog::GetTimestamp ( size_t  index) const

◆ GetVideoReceiveConfig() [1/2]

void webrtc::ParsedRtcEventLog::GetVideoReceiveConfig ( size_t  index,
VideoReceiveStream::Config config 
) const

◆ GetVideoReceiveConfig() [2/2]

void webrtc::ParsedRtcEventLog::GetVideoReceiveConfig ( size_t  index,
VideoReceiveStream::Config config 
) const

◆ GetVideoSendConfig() [1/2]

void webrtc::ParsedRtcEventLog::GetVideoSendConfig ( size_t  index,
VideoSendStream::Config config 
) const

◆ GetVideoSendConfig() [2/2]

void webrtc::ParsedRtcEventLog::GetVideoSendConfig ( size_t  index,
VideoSendStream::Config config 
) const

◆ ParseFile() [1/2]

bool webrtc::ParsedRtcEventLog::ParseFile ( const std::string file_name)

◆ ParseFile() [2/2]

bool webrtc::ParsedRtcEventLog::ParseFile ( const std::string file_name)

◆ ParseStream() [1/2]

bool webrtc::ParsedRtcEventLog::ParseStream ( std::istream &  stream)

◆ ParseStream() [2/2]

bool webrtc::ParsedRtcEventLog::ParseStream ( std::istream &  stream)

◆ ParseString() [1/2]

bool webrtc::ParsedRtcEventLog::ParseString ( const std::string s)

◆ ParseString() [2/2]

bool webrtc::ParsedRtcEventLog::ParseString ( const std::string s)

Friends And Related Function Documentation

◆ RtcEventLogTestHelper


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