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

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

Issue 178073004: Cast: IPC from browser to renderer to send packet events from transport to cast library. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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 20 matching lines...) Expand all
31 AUDIO_FRAME_DECODED = 12; 31 AUDIO_FRAME_DECODED = 12;
32 // Video sender. 32 // Video sender.
33 VIDEO_FRAME_CAPTURED = 13; 33 VIDEO_FRAME_CAPTURED = 13;
34 VIEDO_FRAME_RECEIVED = 14; 34 VIEDO_FRAME_RECEIVED = 14;
35 VIDEO_FRAME_SENT_TO_ENCODER = 15; 35 VIDEO_FRAME_SENT_TO_ENCODER = 15;
36 VIDEO_FRAME_ENCODED = 16; 36 VIDEO_FRAME_ENCODED = 16;
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 AUDIO_PACKET_SENT_TO_PACER = 19;
42 PACKET_SENT_TO_NETWORK = 20; 42 VIDEO_PACKET_SENT_TO_PACER = 20;
43 PACKET_RETRANSMITTED = 21; 43 AUDIO_PACKET_SENT_TO_NETWORK = 21;
44 VIDEO_PACKET_SENT_TO_NETWORK = 22;
45 AUDIO_PACKET_RETRANSMITTED = 23;
46 VIDEO_PACKET_RETRANSMITTED = 24;
44 // Receiver-side packet events. 47 // Receiver-side packet events.
45 AUDIO_PACKET_RECEIVED = 22; 48 AUDIO_PACKET_RECEIVED = 25;
46 VIDEO_PACKET_RECEIVED = 23; 49 VIDEO_PACKET_RECEIVED = 26;
47 DUPLICATE_AUDIO_PACKET_RECEIVED = 24; 50 DUPLICATE_AUDIO_PACKET_RECEIVED = 27;
48 DUPLICATE_VIDEO_PACKET_RECEIVED = 25; 51 DUPLICATE_VIDEO_PACKET_RECEIVED = 28;
49 } 52 }
50 53
51 message AggregatedFrameEvent { 54 message AggregatedFrameEvent {
52 optional uint32 rtp_timestamp = 1; 55 optional uint32 rtp_timestamp = 1;
53 56
54 repeated EventType event_type = 2 [packed = true]; 57 repeated EventType event_type = 2 [packed = true];
55 repeated int64 event_timestamp_micros = 3 [packed = true]; 58 repeated int64 event_timestamp_micros = 3 [packed = true];
56 59
57 // Size is set only for kAudioFrameEncoded and kVideoFrameEncoded. 60 // Size is set only for kAudioFrameEncoded and kVideoFrameEncoded.
58 optional int32 encoded_frame_size = 4; 61 optional int32 encoded_frame_size = 4;
(...skipping 11 matching lines...) Expand all
70 message AggregatedPacketEvent { 73 message AggregatedPacketEvent {
71 optional uint32 rtp_timestamp = 1; 74 optional uint32 rtp_timestamp = 1;
72 repeated BasePacketEvent base_packet_event = 2; 75 repeated BasePacketEvent base_packet_event = 2;
73 }; 76 };
74 77
75 message AggregatedGenericEvent { 78 message AggregatedGenericEvent {
76 optional EventType event_type = 1; 79 optional EventType event_type = 1;
77 repeated int64 event_timestamp_micros = 2 [packed = true]; 80 repeated int64 event_timestamp_micros = 2 [packed = true];
78 repeated int32 value = 3 [packed = true]; 81 repeated int32 value = 3 [packed = true];
79 }; 82 };
OLDNEW
« no previous file with comments | « media/cast/logging/proto/proto_utils.cc ('k') | media/cast/logging/serialize_deserialize_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698