OLD | NEW |
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 22 matching lines...) Expand all Loading... |
33 AUDIO_FRAME_DECODED = 12; | 33 AUDIO_FRAME_DECODED = 12; |
34 // Video sender. | 34 // Video sender. |
35 VIDEO_FRAME_CAPTURED = 13; | 35 VIDEO_FRAME_CAPTURED = 13; |
36 VIEDO_FRAME_RECEIVED = 14; | 36 VIEDO_FRAME_RECEIVED = 14; |
37 VIDEO_FRAME_SENT_TO_ENCODER = 15; | 37 VIDEO_FRAME_SENT_TO_ENCODER = 15; |
38 VIDEO_FRAME_ENCODED = 16; | 38 VIDEO_FRAME_ENCODED = 16; |
39 // Video receiver. | 39 // Video receiver. |
40 VIDEO_FRAME_DECODED = 17; | 40 VIDEO_FRAME_DECODED = 17; |
41 VIDEO_RENDER_DELAY = 18; | 41 VIDEO_RENDER_DELAY = 18; |
42 // Send-side packet events. | 42 // Send-side packet events. |
43 PACKET_SENT_TO_PACER = 19; | 43 AUDIO_PACKET_SENT_TO_PACER = 19; |
44 PACKET_SENT_TO_NETWORK = 20; | 44 VIDEO_PACKET_SENT_TO_PACER = 20; |
45 PACKET_RETRANSMITTED = 21; | 45 AUDIO_PACKET_SENT_TO_NETWORK = 21; |
| 46 VIDEO_PACKET_SENT_TO_NETWORK = 22; |
| 47 AUDIO_PACKET_RETRANSMITTED = 23; |
| 48 VIDEO_PACKET_RETRANSMITTED = 24; |
46 // Receiver-side packet events. | 49 // Receiver-side packet events. |
47 AUDIO_PACKET_RECEIVED = 22; | 50 AUDIO_PACKET_RECEIVED = 25; |
48 VIDEO_PACKET_RECEIVED = 23; | 51 VIDEO_PACKET_RECEIVED = 26; |
49 DUPLICATE_AUDIO_PACKET_RECEIVED = 24; | 52 DUPLICATE_AUDIO_PACKET_RECEIVED = 27; |
50 DUPLICATE_VIDEO_PACKET_RECEIVED = 25; | 53 DUPLICATE_VIDEO_PACKET_RECEIVED = 28; |
51 } | 54 } |
52 | 55 |
53 // Each log will contain one |LogMetadata|. | 56 // Each log will contain one |LogMetadata|. |
54 message LogMetadata { | 57 message LogMetadata { |
55 // |true| if the events are related to audio. |false| if they are related to | 58 // |true| if the events are related to audio. |false| if they are related to |
56 // video. | 59 // video. |
57 optional bool is_audio = 1; | 60 optional bool is_audio = 1; |
58 | 61 |
59 // Used as a reference for all event entries. | 62 // Used as a reference for all event entries. |
60 // i.e. the original RTP timestamp for each event will be | 63 // i.e. the original RTP timestamp for each event will be |
(...skipping 29 matching lines...) Expand all Loading... |
90 message AggregatedPacketEvent { | 93 message AggregatedPacketEvent { |
91 optional uint32 relative_rtp_timestamp = 1; | 94 optional uint32 relative_rtp_timestamp = 1; |
92 repeated BasePacketEvent base_packet_event = 2; | 95 repeated BasePacketEvent base_packet_event = 2; |
93 }; | 96 }; |
94 | 97 |
95 message AggregatedGenericEvent { | 98 message AggregatedGenericEvent { |
96 optional EventType event_type = 1; | 99 optional EventType event_type = 1; |
97 repeated int64 event_timestamp_micros = 2 [packed = true]; | 100 repeated int64 event_timestamp_micros = 2 [packed = true]; |
98 repeated int32 value = 3 [packed = true]; | 101 repeated int32 value = 3 [packed = true]; |
99 }; | 102 }; |
OLD | NEW |