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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 | 112 |
113 // Compound mode is described by RFC 4585 and reduced-size | 113 // Compound mode is described by RFC 4585 and reduced-size |
114 // RTCP mode is described by RFC 5506. | 114 // RTCP mode is described by RFC 5506. |
115 enum RtcpMode { | 115 enum RtcpMode { |
116 RTCP_COMPOUND = 1; | 116 RTCP_COMPOUND = 1; |
117 RTCP_REDUCEDSIZE = 2; | 117 RTCP_REDUCEDSIZE = 2; |
118 } | 118 } |
119 // required - RTCP mode to use. | 119 // required - RTCP mode to use. |
120 optional RtcpMode rtcp_mode = 3; | 120 optional RtcpMode rtcp_mode = 3; |
121 | 121 |
122 // required - Extended RTCP settings. | |
123 optional bool receiver_reference_time_report = 4; | |
124 | |
125 // required - Receiver estimated maximum bandwidth. | 122 // required - Receiver estimated maximum bandwidth. |
126 optional bool remb = 5; | 123 optional bool remb = 4; |
127 | 124 |
128 // Map from video RTP payload type -> RTX config. | 125 // Map from video RTP payload type -> RTX config. |
129 repeated RtxMap rtx_map = 6; | 126 repeated RtxMap rtx_map = 5; |
130 | 127 |
131 // RTP header extensions used for the received stream. | 128 // RTP header extensions used for the received stream. |
132 repeated RtpHeaderExtension header_extensions = 7; | 129 repeated RtpHeaderExtension header_extensions = 6; |
133 | 130 |
134 // List of decoders associated with the stream. | 131 // List of decoders associated with the stream. |
135 repeated DecoderConfig decoders = 8; | 132 repeated DecoderConfig decoders = 7; |
136 } | 133 } |
137 | 134 |
138 | 135 |
139 // Maps decoder names to payload types. | 136 // Maps decoder names to payload types. |
140 message DecoderConfig { | 137 message DecoderConfig { |
141 // required | 138 // required |
142 optional string name = 1; | 139 optional string name = 1; |
143 | 140 |
144 // required | 141 // required |
145 optional sint32 payload_type = 2; | 142 optional sint32 payload_type = 2; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 | 181 |
185 // RTP header extensions used for the outgoing stream. | 182 // RTP header extensions used for the outgoing stream. |
186 repeated RtpHeaderExtension header_extensions = 2; | 183 repeated RtpHeaderExtension header_extensions = 2; |
187 | 184 |
188 // List of SSRCs for retransmitted packets. | 185 // List of SSRCs for retransmitted packets. |
189 repeated uint32 rtx_ssrcs = 3; | 186 repeated uint32 rtx_ssrcs = 3; |
190 | 187 |
191 // required if rtx_ssrcs is used - Payload type for retransmitted packets. | 188 // required if rtx_ssrcs is used - Payload type for retransmitted packets. |
192 optional sint32 rtx_payload_type = 4; | 189 optional sint32 rtx_payload_type = 4; |
193 | 190 |
194 // required - Canonical end-point identifier. | |
195 optional string c_name = 5; | |
196 | |
197 // required - Encoder associated with the stream. | 191 // required - Encoder associated with the stream. |
198 optional EncoderConfig encoder = 6; | 192 optional EncoderConfig encoder = 5; |
199 } | 193 } |
200 | 194 |
201 | 195 |
202 // Maps encoder names to payload types. | 196 // Maps encoder names to payload types. |
203 message EncoderConfig { | 197 message EncoderConfig { |
204 // required | 198 // required |
205 optional string name = 1; | 199 optional string name = 1; |
206 | 200 |
207 // required | 201 // required |
208 optional sint32 payload_type = 2; | 202 optional sint32 payload_type = 2; |
(...skipping 12 matching lines...) Expand all Loading... |
221 } | 215 } |
222 | 216 |
223 | 217 |
224 message AudioSendConfig { | 218 message AudioSendConfig { |
225 // required - Synchronization source (stream identifier) for outgoing stream. | 219 // required - Synchronization source (stream identifier) for outgoing stream. |
226 optional uint32 ssrc = 1; | 220 optional uint32 ssrc = 1; |
227 | 221 |
228 // RTP header extensions used for the outgoing audio stream. | 222 // RTP header extensions used for the outgoing audio stream. |
229 repeated RtpHeaderExtension header_extensions = 2; | 223 repeated RtpHeaderExtension header_extensions = 2; |
230 } | 224 } |
OLD | NEW |