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

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

Issue 164253003: Cast: Split kDuplicatePacketReceived into separate events for audio/video. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 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
« no previous file with comments | « media/cast/logging/proto/proto_utils.cc ('k') | media/cast/rtcp/rtcp.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 26 matching lines...) Expand all
37 // Video receiver. 37 // Video receiver.
38 VIDEO_FRAME_DECODED = 17; 38 VIDEO_FRAME_DECODED = 17;
39 VIDEO_RENDER_DELAY = 18; 39 VIDEO_RENDER_DELAY = 18;
40 // Send-side packet events. 40 // Send-side packet events.
41 PACKET_SENT_TO_PACER = 19; 41 PACKET_SENT_TO_PACER = 19;
42 PACKET_SENT_TO_NETWORK = 20; 42 PACKET_SENT_TO_NETWORK = 20;
43 PACKET_RETRANSMITTED = 21; 43 PACKET_RETRANSMITTED = 21;
44 // Receiver-side packet events. 44 // Receiver-side packet events.
45 AUDIO_PACKET_RECEIVED = 22; 45 AUDIO_PACKET_RECEIVED = 22;
46 VIDEO_PACKET_RECEIVED = 23; 46 VIDEO_PACKET_RECEIVED = 23;
47 DUPLICATE_PACKET_RECEIVED = 24; 47 DUPLICATE_AUDIO_PACKET_RECEIVED = 24;
48 DUPLICATE_VIDEO_PACKET_RECEIVED = 25;
48 } 49 }
49 50
50 message AggregatedFrameEvent { 51 message AggregatedFrameEvent {
51 optional uint32 rtp_timestamp = 1; 52 optional uint32 rtp_timestamp = 1;
52 53
53 repeated EventType event_type = 2 [packed = true]; 54 repeated EventType event_type = 2 [packed = true];
54 repeated int64 event_timestamp_micros = 3 [packed = true]; 55 repeated int64 event_timestamp_micros = 3 [packed = true];
55 56
56 // Size is set only for kAudioFrameEncoded and kVideoFrameEncoded. 57 // Size is set only for kAudioFrameEncoded and kVideoFrameEncoded.
57 optional int32 encoded_frame_size = 4; 58 optional int32 encoded_frame_size = 4;
(...skipping 11 matching lines...) Expand all
69 message AggregatedPacketEvent { 70 message AggregatedPacketEvent {
70 optional uint32 rtp_timestamp = 1; 71 optional uint32 rtp_timestamp = 1;
71 repeated BasePacketEvent base_packet_event = 2; 72 repeated BasePacketEvent base_packet_event = 2;
72 }; 73 };
73 74
74 message AggregatedGenericEvent { 75 message AggregatedGenericEvent {
75 optional EventType event_type = 1; 76 optional EventType event_type = 1;
76 repeated int64 event_timestamp_micros = 2 [packed = true]; 77 repeated int64 event_timestamp_micros = 2 [packed = true];
77 repeated int32 value = 3 [packed = true]; 78 repeated int32 value = 3 [packed = true];
78 }; 79 };
OLDNEW
« no previous file with comments | « media/cast/logging/proto/proto_utils.cc ('k') | media/cast/rtcp/rtcp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698