Split LoggedBweProbeResult into -Success and -Failure.
Also change ParsedEventLog::EventType to enum class. Bug: webrtc:8111 Change-Id: I4747fb9cbcbdb963fa032770078218e5b416b3da Reviewed-on: https://webrtc-review.googlesource.com/79280 Commit-Queue: Björn Terelius <terelius@webrtc.org> Reviewed-by: Elad Alon <eladalon@webrtc.org> Reviewed-by: Minyue Li <minyue@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23432}
This commit is contained in:
committed by
Commit Bot
parent
9545e1c9e5
commit
7a0bb00422
@ -40,7 +40,7 @@ std::unique_ptr<Packet> RtcEventLogSource::NextPacket() {
|
||||
for (; rtp_packet_index_ < parsed_stream_.GetNumberOfEvents();
|
||||
rtp_packet_index_++) {
|
||||
if (parsed_stream_.GetEventType(rtp_packet_index_) ==
|
||||
ParsedRtcEventLogNew::RTP_EVENT) {
|
||||
ParsedRtcEventLogNew::EventType::RTP_EVENT) {
|
||||
PacketDirection direction;
|
||||
size_t header_length;
|
||||
size_t packet_length;
|
||||
@ -84,7 +84,7 @@ std::unique_ptr<Packet> RtcEventLogSource::NextPacket() {
|
||||
int64_t RtcEventLogSource::NextAudioOutputEventMs() {
|
||||
while (audio_output_index_ < parsed_stream_.GetNumberOfEvents()) {
|
||||
if (parsed_stream_.GetEventType(audio_output_index_) ==
|
||||
ParsedRtcEventLogNew::AUDIO_PLAYOUT_EVENT) {
|
||||
ParsedRtcEventLogNew::EventType::AUDIO_PLAYOUT_EVENT) {
|
||||
LoggedAudioPlayoutEvent playout_event =
|
||||
parsed_stream_.GetAudioPlayout(audio_output_index_);
|
||||
if (!(use_ssrc_filter_ && playout_event.ssrc != ssrc_)) {
|
||||
|
||||
Reference in New Issue
Block a user