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 | 5 |
6 enum MediaType { | 6 enum MediaType { |
7 ANY = 0; | 7 ANY = 0; |
8 AUDIO = 1; | 8 AUDIO = 1; |
9 VIDEO = 2; | 9 VIDEO = 2; |
10 DATA = 3; | 10 DATA = 3; |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 | 130 |
131 // Compound mode is described by RFC 4585 and reduced-size | 131 // Compound mode is described by RFC 4585 and reduced-size |
132 // RTCP mode is described by RFC 5506. | 132 // RTCP mode is described by RFC 5506. |
133 enum RtcpMode { | 133 enum RtcpMode { |
134 RTCP_COMPOUND = 1; | 134 RTCP_COMPOUND = 1; |
135 RTCP_REDUCEDSIZE = 2; | 135 RTCP_REDUCEDSIZE = 2; |
136 } | 136 } |
137 // required - RTCP mode to use. | 137 // required - RTCP mode to use. |
138 optional RtcpMode rtcp_mode = 3; | 138 optional RtcpMode rtcp_mode = 3; |
139 | 139 |
140 // required - Extended RTCP settings. | |
141 optional bool receiver_reference_time_report = 4; | |
142 | |
143 // required - Receiver estimated maximum bandwidth. | 140 // required - Receiver estimated maximum bandwidth. |
144 optional bool remb = 5; | 141 optional bool remb = 4; |
145 | 142 |
146 // Map from video RTP payload type -> RTX config. | 143 // Map from video RTP payload type -> RTX config. |
147 repeated RtxMap rtx_map = 6; | 144 repeated RtxMap rtx_map = 5; |
148 | 145 |
149 // RTP header extensions used for the received stream. | 146 // RTP header extensions used for the received stream. |
150 repeated RtpHeaderExtension header_extensions = 7; | 147 repeated RtpHeaderExtension header_extensions = 6; |
151 | 148 |
152 // List of decoders associated with the stream. | 149 // List of decoders associated with the stream. |
153 repeated DecoderConfig decoders = 8; | 150 repeated DecoderConfig decoders = 7; |
154 } | 151 } |
155 | 152 |
156 | 153 |
157 // Maps decoder names to payload types. | 154 // Maps decoder names to payload types. |
158 message DecoderConfig { | 155 message DecoderConfig { |
159 // required | 156 // required |
160 optional string name = 1; | 157 optional string name = 1; |
161 | 158 |
162 // required | 159 // required |
163 optional int32 payload_type = 2; | 160 optional int32 payload_type = 2; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 | 199 |
203 // RTP header extensions used for the outgoing stream. | 200 // RTP header extensions used for the outgoing stream. |
204 repeated RtpHeaderExtension header_extensions = 2; | 201 repeated RtpHeaderExtension header_extensions = 2; |
205 | 202 |
206 // List of SSRCs for retransmitted packets. | 203 // List of SSRCs for retransmitted packets. |
207 repeated uint32 rtx_ssrcs = 3; | 204 repeated uint32 rtx_ssrcs = 3; |
208 | 205 |
209 // required if rtx_ssrcs is used - Payload type for retransmitted packets. | 206 // required if rtx_ssrcs is used - Payload type for retransmitted packets. |
210 optional int32 rtx_payload_type = 4; | 207 optional int32 rtx_payload_type = 4; |
211 | 208 |
212 // required - Canonical end-point identifier. | |
213 optional string c_name = 5; | |
214 | |
215 // required - Encoder associated with the stream. | 209 // required - Encoder associated with the stream. |
216 optional EncoderConfig encoder = 6; | 210 optional EncoderConfig encoder = 5; |
217 } | 211 } |
218 | 212 |
219 | 213 |
220 // Maps encoder names to payload types. | 214 // Maps encoder names to payload types. |
221 message EncoderConfig { | 215 message EncoderConfig { |
222 // required | 216 // required |
223 optional string name = 1; | 217 optional string name = 1; |
224 | 218 |
225 // required | 219 // required |
226 optional int32 payload_type = 2; | 220 optional int32 payload_type = 2; |
(...skipping 12 matching lines...) Expand all Loading... |
239 } | 233 } |
240 | 234 |
241 | 235 |
242 message AudioSendConfig { | 236 message AudioSendConfig { |
243 // required - Synchronization source (stream identifier) for outgoing stream. | 237 // required - Synchronization source (stream identifier) for outgoing stream. |
244 optional uint32 ssrc = 1; | 238 optional uint32 ssrc = 1; |
245 | 239 |
246 // RTP header extensions used for the outgoing audio stream. | 240 // RTP header extensions used for the outgoing audio stream. |
247 repeated RtpHeaderExtension header_extensions = 2; | 241 repeated RtpHeaderExtension header_extensions = 2; |
248 } | 242 } |
OLD | NEW |