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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 optional BweProbeCluster probe_cluster = 17; | 79 optional BweProbeCluster probe_cluster = 17; |
80 | 80 |
81 // optional - but required if type == BWE_PROBE_RESULT_EVENT | 81 // optional - but required if type == BWE_PROBE_RESULT_EVENT |
82 optional BweProbeResult probe_result = 18; | 82 optional BweProbeResult probe_result = 18; |
83 } | 83 } |
84 | 84 |
85 message RtpPacket { | 85 message RtpPacket { |
86 // required - True if the packet is incoming w.r.t. the user logging the data | 86 // required - True if the packet is incoming w.r.t. the user logging the data |
87 optional bool incoming = 1; | 87 optional bool incoming = 1; |
88 | 88 |
89 // required | 89 optional MediaType type = 2 [deprecated = true]; |
90 optional MediaType type = 2; | |
91 | 90 |
92 // required - The size of the packet including both payload and header. | 91 // required - The size of the packet including both payload and header. |
93 optional uint32 packet_length = 3; | 92 optional uint32 packet_length = 3; |
94 | 93 |
95 // required - The RTP header only. | 94 // required - The RTP header only. |
96 optional bytes header = 4; | 95 optional bytes header = 4; |
97 | 96 |
98 // optional - The probe cluster id. | 97 // optional - The probe cluster id. |
99 optional uint32 probe_cluster_id = 5; | 98 optional uint32 probe_cluster_id = 5; |
100 | 99 |
101 // Do not add code to log user payload data without a privacy review! | 100 // Do not add code to log user payload data without a privacy review! |
102 } | 101 } |
103 | 102 |
104 message RtcpPacket { | 103 message RtcpPacket { |
105 // required - True if the packet is incoming w.r.t. the user logging the data | 104 // required - True if the packet is incoming w.r.t. the user logging the data |
106 optional bool incoming = 1; | 105 optional bool incoming = 1; |
107 | 106 |
108 // required | 107 optional MediaType type = 2 [deprecated = true]; |
109 optional MediaType type = 2; | |
110 | 108 |
111 // required - The whole packet including both payload and header. | 109 // required - The whole packet including both payload and header. |
112 optional bytes packet_data = 3; | 110 optional bytes packet_data = 3; |
113 } | 111 } |
114 | 112 |
115 message AudioPlayoutEvent { | 113 message AudioPlayoutEvent { |
116 // TODO(ivoc): Rename, we currently use the "remote" ssrc, i.e. identifying | 114 // TODO(ivoc): Rename, we currently use the "remote" ssrc, i.e. identifying |
117 // the receive stream, while local_ssrc identifies the send stream, if any. | 115 // the receive stream, while local_ssrc identifies the send stream, if any. |
118 // required - The SSRC of the audio stream associated with the playout event. | 116 // required - The SSRC of the audio stream associated with the playout event. |
119 optional uint32 local_ssrc = 2; | 117 optional uint32 local_ssrc = 2; |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 INVALID_SEND_RECEIVE_RATIO = 2; | 305 INVALID_SEND_RECEIVE_RATIO = 2; |
308 TIMEOUT = 3; | 306 TIMEOUT = 3; |
309 } | 307 } |
310 | 308 |
311 // required - The result of this probing attempt. | 309 // required - The result of this probing attempt. |
312 optional ResultType result = 2; | 310 optional ResultType result = 2; |
313 | 311 |
314 // optional - but required if result == SUCCESS. The resulting bitrate in bps. | 312 // optional - but required if result == SUCCESS. The resulting bitrate in bps. |
315 optional uint64 bitrate_bps = 3; | 313 optional uint64 bitrate_bps = 3; |
316 } | 314 } |
OLD | NEW |