OLD | NEW |
1 syntax = "proto2"; | 1 syntax = "proto2"; |
2 option optimize_for = LITE_RUNTIME; | 2 option optimize_for = LITE_RUNTIME; |
3 package webrtc.rtclog; | 3 package webrtc.rtclog; |
4 | 4 |
5 enum MediaType { | 5 enum MediaType { |
6 ANY = 0; | 6 ANY = 0; |
7 AUDIO = 1; | 7 AUDIO = 1; |
8 VIDEO = 2; | 8 VIDEO = 2; |
9 DATA = 3; | 9 DATA = 3; |
10 } | 10 } |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 optional bool incoming = 1; | 95 optional bool incoming = 1; |
96 | 96 |
97 // required | 97 // required |
98 optional MediaType type = 2; | 98 optional MediaType type = 2; |
99 | 99 |
100 // required - The whole packet including both payload and header. | 100 // required - The whole packet including both payload and header. |
101 optional bytes packet_data = 3; | 101 optional bytes packet_data = 3; |
102 } | 102 } |
103 | 103 |
104 message AudioPlayoutEvent { | 104 message AudioPlayoutEvent { |
105 // TODO(ivoc): Rename, we currently use the "remote" ssrc, i.e. identifying | |
106 // the receive stream, while local_ssrc identifies the send stream, if any. | |
107 // required - The SSRC of the audio stream associated with the playout event. | 105 // required - The SSRC of the audio stream associated with the playout event. |
108 optional uint32 local_ssrc = 2; | 106 optional uint32 local_ssrc = 2; |
109 } | 107 } |
110 | 108 |
111 message BwePacketLossEvent { | 109 message BwePacketLossEvent { |
112 // required - Bandwidth estimate (in bps) after the update. | 110 // required - Bandwidth estimate (in bps) after the update. |
113 optional int32 bitrate = 1; | 111 optional int32 bitrate = 1; |
114 | 112 |
115 // required - Fraction of lost packets since last receiver report | 113 // required - Fraction of lost packets since last receiver report |
116 // computed as floor( 256 * (#lost_packets / #total_packets) ). | 114 // computed as floor( 256 * (#lost_packets / #total_packets) ). |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 | 262 |
265 // Whether forward error correction (FEC) is turned on or off. | 263 // Whether forward error correction (FEC) is turned on or off. |
266 optional bool enable_fec = 4; | 264 optional bool enable_fec = 4; |
267 | 265 |
268 // Whether discontinuous transmission (DTX) is turned on or off. | 266 // Whether discontinuous transmission (DTX) is turned on or off. |
269 optional bool enable_dtx = 5; | 267 optional bool enable_dtx = 5; |
270 | 268 |
271 // Number of audio channels that each encoded packet consists of. | 269 // Number of audio channels that each encoded packet consists of. |
272 optional uint32 num_channels = 6; | 270 optional uint32 num_channels = 6; |
273 } | 271 } |
OLD | NEW |