Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(261)

Side by Side Diff: media/cast/logging/proto/raw_events.proto

Issue 236123003: Cast: Provide more meaningful stats. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed miu's comments Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Protocol for audio messages. 5 // Protocol for audio messages.
6 6
7 syntax = "proto2"; 7 syntax = "proto2";
8 8
9 option optimize_for = LITE_RUNTIME; 9 option optimize_for = LITE_RUNTIME;
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 VIDEO_PACKET_SENT_TO_PACER = 20; 44 VIDEO_PACKET_SENT_TO_PACER = 20;
45 AUDIO_PACKET_SENT_TO_NETWORK = 21; 45 AUDIO_PACKET_SENT_TO_NETWORK = 21;
46 VIDEO_PACKET_SENT_TO_NETWORK = 22; 46 VIDEO_PACKET_SENT_TO_NETWORK = 22;
47 AUDIO_PACKET_RETRANSMITTED = 23; 47 AUDIO_PACKET_RETRANSMITTED = 23;
48 VIDEO_PACKET_RETRANSMITTED = 24; 48 VIDEO_PACKET_RETRANSMITTED = 24;
49 // Receiver-side packet events. 49 // Receiver-side packet events.
50 AUDIO_PACKET_RECEIVED = 25; 50 AUDIO_PACKET_RECEIVED = 25;
51 VIDEO_PACKET_RECEIVED = 26; 51 VIDEO_PACKET_RECEIVED = 26;
52 DUPLICATE_AUDIO_PACKET_RECEIVED = 27; 52 DUPLICATE_AUDIO_PACKET_RECEIVED = 27;
53 DUPLICATE_VIDEO_PACKET_RECEIVED = 28; 53 DUPLICATE_VIDEO_PACKET_RECEIVED = 28;
54 // Sender-side generic event - These events are not encoded / serialized, but
55 // are only here for keeping the enum in sync with logging_defines.h.
56 AUDIO_RTCP_PACKET_RECEIVED = 29;
57 VIDEO_RTCP_PACKET_RECEIVED = 30;
54 } 58 }
55 59
56 // Each log will contain one |LogMetadata|. 60 // Each log will contain one |LogMetadata|.
57 message LogMetadata { 61 message LogMetadata {
58 // |true| if the events are related to audio. |false| if they are related to 62 // |true| if the events are related to audio. |false| if they are related to
59 // video. 63 // video.
60 optional bool is_audio = 1; 64 optional bool is_audio = 1;
61 65
62 // Used as a reference for all event entries. 66 // Used as a reference for all event entries.
63 // i.e. the original RTP timestamp for each event will be 67 // i.e. the original RTP timestamp for each event will be
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 // LogMetadata.reference_timestamp_ms_at_unix_epoch to relate to a real time 108 // LogMetadata.reference_timestamp_ms_at_unix_epoch to relate to a real time
105 // and date. 109 // and date.
106 repeated int64 event_timestamp_ms = 3 [packed = true]; 110 repeated int64 event_timestamp_ms = 3 [packed = true];
107 } 111 }
108 112
109 message AggregatedPacketEvent { 113 message AggregatedPacketEvent {
110 optional uint32 relative_rtp_timestamp = 1; 114 optional uint32 relative_rtp_timestamp = 1;
111 repeated BasePacketEvent base_packet_event = 2; 115 repeated BasePacketEvent base_packet_event = 2;
112 }; 116 };
113 117
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698