summaryrefslogtreecommitdiffstats
path: root/media/cast/logging/proto
diff options
context:
space:
mode:
Diffstat (limited to 'media/cast/logging/proto')
-rw-r--r--media/cast/logging/proto/proto_utils.cc8
-rw-r--r--media/cast/logging/proto/raw_events.proto12
2 files changed, 10 insertions, 10 deletions
diff --git a/media/cast/logging/proto/proto_utils.cc b/media/cast/logging/proto/proto_utils.cc
index 6ca194b..90517e1 100644
--- a/media/cast/logging/proto/proto_utils.cc
+++ b/media/cast/logging/proto/proto_utils.cc
@@ -23,13 +23,13 @@ media::cast::proto::EventType ToProtoEventType(CastLoggingEvent event) {
TO_PROTO_ENUM(kRembBitrate, REMB_BITRATE);
TO_PROTO_ENUM(kAudioAckSent, AUDIO_ACK_SENT);
TO_PROTO_ENUM(kVideoAckSent, VIDEO_ACK_SENT);
- TO_PROTO_ENUM(kAudioFrameReceived, AUDIO_FRAME_RECEIVED);
- TO_PROTO_ENUM(kAudioFrameCaptured, AUDIO_FRAME_CAPTURED);
+ TO_PROTO_ENUM(kAudioFrameCaptureEnd, AUDIO_FRAME_CAPTURE_END);
+ TO_PROTO_ENUM(kAudioFrameCaptureBegin, AUDIO_FRAME_CAPTURE_BEGIN);
TO_PROTO_ENUM(kAudioFrameEncoded, AUDIO_FRAME_ENCODED);
TO_PROTO_ENUM(kAudioPlayoutDelay, AUDIO_PLAYOUT_DELAY);
TO_PROTO_ENUM(kAudioFrameDecoded, AUDIO_FRAME_DECODED);
- TO_PROTO_ENUM(kVideoFrameCaptured, VIDEO_FRAME_CAPTURED);
- TO_PROTO_ENUM(kVideoFrameReceived, VIDEO_FRAME_RECEIVED);
+ TO_PROTO_ENUM(kVideoFrameCaptureBegin, VIDEO_FRAME_CAPTURE_BEGIN);
+ TO_PROTO_ENUM(kVideoFrameCaptureEnd, VIDEO_FRAME_CAPTURE_END);
TO_PROTO_ENUM(kVideoFrameSentToEncoder, VIDEO_FRAME_SENT_TO_ENCODER);
TO_PROTO_ENUM(kVideoFrameEncoded, VIDEO_FRAME_ENCODED);
TO_PROTO_ENUM(kVideoFrameDecoded, VIDEO_FRAME_DECODED);
diff --git a/media/cast/logging/proto/raw_events.proto b/media/cast/logging/proto/raw_events.proto
index 8f232cf..adbd943 100644
--- a/media/cast/logging/proto/raw_events.proto
+++ b/media/cast/logging/proto/raw_events.proto
@@ -19,22 +19,22 @@ enum EventType {
PACKET_LOSS = 2;
JITTER_MS = 3;
VIDEO_ACK_RECEIVED = 4; // Sender side frame event.
- REMB_BITRATE = 5; // Generic event. No longer used.
+ REMB_BITRATE = 5; // Generic event. No longer used.
// Audio receiver.
AUDIO_ACK_SENT = 6;
// Video receiver.
VIDEO_ACK_SENT = 7;
// Audio sender.
- AUDIO_FRAME_RECEIVED = 8;
- AUDIO_FRAME_CAPTURED = 9;
+ AUDIO_FRAME_CAPTURE_END = 8;
+ AUDIO_FRAME_CAPTURE_BEGIN = 9;
AUDIO_FRAME_ENCODED = 10;
// Audio receiver.
AUDIO_PLAYOUT_DELAY = 11;
AUDIO_FRAME_DECODED = 12;
// Video sender.
- VIDEO_FRAME_CAPTURED = 13;
- VIDEO_FRAME_RECEIVED = 14;
- VIDEO_FRAME_SENT_TO_ENCODER = 15;
+ VIDEO_FRAME_CAPTURE_BEGIN = 13;
+ VIDEO_FRAME_CAPTURE_END = 14;
+ VIDEO_FRAME_SENT_TO_ENCODER = 15; // Deprecated
VIDEO_FRAME_ENCODED = 16;
// Video receiver.
VIDEO_FRAME_DECODED = 17;