Steve Anton | 6e634bf | 2017-11-13 10:44:53 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2017 The WebRTC project authors. All Rights Reserved. |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license |
| 5 | * that can be found in the LICENSE file in the root of the source |
| 6 | * tree. An additional intellectual property rights grant can be found |
| 7 | * in the file PATENTS. All contributing project authors may |
| 8 | * be found in the AUTHORS file in the root of the source tree. |
| 9 | */ |
| 10 | |
Steve Anton | 10542f2 | 2019-01-11 09:11:00 -0800 | [diff] [blame] | 11 | #include "pc/rtp_transceiver.h" |
Steve Anton | 6e634bf | 2017-11-13 10:44:53 -0800 | [diff] [blame] | 12 | |
| 13 | #include <string> |
| 14 | |
Steve Anton | 64b626b | 2019-01-28 17:25:26 -0800 | [diff] [blame] | 15 | #include "absl/algorithm/container.h" |
Florent Castelli | 2d9d82e | 2019-04-23 19:25:51 +0200 | [diff] [blame] | 16 | #include "pc/channel_manager.h" |
Steve Anton | 10542f2 | 2019-01-11 09:11:00 -0800 | [diff] [blame] | 17 | #include "pc/rtp_media_utils.h" |
Florent Castelli | 2d9d82e | 2019-04-23 19:25:51 +0200 | [diff] [blame] | 18 | #include "pc/rtp_parameters_conversion.h" |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 19 | #include "rtc_base/checks.h" |
| 20 | #include "rtc_base/logging.h" |
Steve Anton | dcc3c02 | 2017-12-22 16:02:54 -0800 | [diff] [blame] | 21 | |
Steve Anton | 6e634bf | 2017-11-13 10:44:53 -0800 | [diff] [blame] | 22 | namespace webrtc { |
| 23 | |
| 24 | RtpTransceiver::RtpTransceiver(cricket::MediaType media_type) |
| 25 | : unified_plan_(false), media_type_(media_type) { |
| 26 | RTC_DCHECK(media_type == cricket::MEDIA_TYPE_AUDIO || |
| 27 | media_type == cricket::MEDIA_TYPE_VIDEO); |
| 28 | } |
| 29 | |
Steve Anton | 79e7960 | 2017-11-20 10:25:56 -0800 | [diff] [blame] | 30 | RtpTransceiver::RtpTransceiver( |
| 31 | rtc::scoped_refptr<RtpSenderProxyWithInternal<RtpSenderInternal>> sender, |
| 32 | rtc::scoped_refptr<RtpReceiverProxyWithInternal<RtpReceiverInternal>> |
Florent Castelli | 2d9d82e | 2019-04-23 19:25:51 +0200 | [diff] [blame] | 33 | receiver, |
| 34 | cricket::ChannelManager* channel_manager) |
| 35 | : unified_plan_(true), |
| 36 | media_type_(sender->media_type()), |
| 37 | channel_manager_(channel_manager) { |
Steve Anton | 79e7960 | 2017-11-20 10:25:56 -0800 | [diff] [blame] | 38 | RTC_DCHECK(media_type_ == cricket::MEDIA_TYPE_AUDIO || |
| 39 | media_type_ == cricket::MEDIA_TYPE_VIDEO); |
| 40 | RTC_DCHECK_EQ(sender->media_type(), receiver->media_type()); |
| 41 | senders_.push_back(sender); |
| 42 | receivers_.push_back(receiver); |
| 43 | } |
| 44 | |
Steve Anton | 6e634bf | 2017-11-13 10:44:53 -0800 | [diff] [blame] | 45 | RtpTransceiver::~RtpTransceiver() { |
| 46 | Stop(); |
| 47 | } |
| 48 | |
Amit Hilbuch | dd9390c | 2018-11-13 16:26:05 -0800 | [diff] [blame] | 49 | void RtpTransceiver::SetChannel(cricket::ChannelInterface* channel) { |
| 50 | // Cannot set a non-null channel on a stopped transceiver. |
| 51 | if (stopped_ && channel) { |
| 52 | return; |
| 53 | } |
| 54 | |
Steve Anton | 6e634bf | 2017-11-13 10:44:53 -0800 | [diff] [blame] | 55 | if (channel) { |
| 56 | RTC_DCHECK_EQ(media_type(), channel->media_type()); |
| 57 | } |
Steve Anton | 6077675 | 2018-01-10 11:51:34 -0800 | [diff] [blame] | 58 | |
| 59 | if (channel_) { |
Amit Hilbuch | dd9390c | 2018-11-13 16:26:05 -0800 | [diff] [blame] | 60 | channel_->SignalFirstPacketReceived().disconnect(this); |
Steve Anton | 6077675 | 2018-01-10 11:51:34 -0800 | [diff] [blame] | 61 | } |
| 62 | |
Steve Anton | 6e634bf | 2017-11-13 10:44:53 -0800 | [diff] [blame] | 63 | channel_ = channel; |
Steve Anton | 6077675 | 2018-01-10 11:51:34 -0800 | [diff] [blame] | 64 | |
| 65 | if (channel_) { |
Amit Hilbuch | dd9390c | 2018-11-13 16:26:05 -0800 | [diff] [blame] | 66 | channel_->SignalFirstPacketReceived().connect( |
Steve Anton | 6077675 | 2018-01-10 11:51:34 -0800 | [diff] [blame] | 67 | this, &RtpTransceiver::OnFirstPacketReceived); |
| 68 | } |
| 69 | |
Mirko Bonadei | 739baf0 | 2019-01-27 17:29:42 +0100 | [diff] [blame] | 70 | for (const auto& sender : senders_) { |
Amit Hilbuch | dd9390c | 2018-11-13 16:26:05 -0800 | [diff] [blame] | 71 | sender->internal()->SetMediaChannel(channel_ ? channel_->media_channel() |
| 72 | : nullptr); |
Steve Anton | 6e634bf | 2017-11-13 10:44:53 -0800 | [diff] [blame] | 73 | } |
Steve Anton | 6077675 | 2018-01-10 11:51:34 -0800 | [diff] [blame] | 74 | |
Mirko Bonadei | 739baf0 | 2019-01-27 17:29:42 +0100 | [diff] [blame] | 75 | for (const auto& receiver : receivers_) { |
Amit Hilbuch | dd9390c | 2018-11-13 16:26:05 -0800 | [diff] [blame] | 76 | if (!channel_) { |
Steve Anton | 6e634bf | 2017-11-13 10:44:53 -0800 | [diff] [blame] | 77 | receiver->internal()->Stop(); |
| 78 | } |
Amit Hilbuch | dd9390c | 2018-11-13 16:26:05 -0800 | [diff] [blame] | 79 | |
| 80 | receiver->internal()->SetMediaChannel(channel_ ? channel_->media_channel() |
| 81 | : nullptr); |
Steve Anton | 6e634bf | 2017-11-13 10:44:53 -0800 | [diff] [blame] | 82 | } |
| 83 | } |
| 84 | |
| 85 | void RtpTransceiver::AddSender( |
| 86 | rtc::scoped_refptr<RtpSenderProxyWithInternal<RtpSenderInternal>> sender) { |
Amit Hilbuch | dd9390c | 2018-11-13 16:26:05 -0800 | [diff] [blame] | 87 | RTC_DCHECK(!stopped_); |
Steve Anton | 6e634bf | 2017-11-13 10:44:53 -0800 | [diff] [blame] | 88 | RTC_DCHECK(!unified_plan_); |
| 89 | RTC_DCHECK(sender); |
Steve Anton | 6947025 | 2018-02-09 11:43:08 -0800 | [diff] [blame] | 90 | RTC_DCHECK_EQ(media_type(), sender->media_type()); |
Steve Anton | 64b626b | 2019-01-28 17:25:26 -0800 | [diff] [blame] | 91 | RTC_DCHECK(!absl::c_linear_search(senders_, sender)); |
Steve Anton | 6e634bf | 2017-11-13 10:44:53 -0800 | [diff] [blame] | 92 | senders_.push_back(sender); |
| 93 | } |
| 94 | |
| 95 | bool RtpTransceiver::RemoveSender(RtpSenderInterface* sender) { |
| 96 | RTC_DCHECK(!unified_plan_); |
| 97 | if (sender) { |
| 98 | RTC_DCHECK_EQ(media_type(), sender->media_type()); |
| 99 | } |
Steve Anton | 64b626b | 2019-01-28 17:25:26 -0800 | [diff] [blame] | 100 | auto it = absl::c_find(senders_, sender); |
Steve Anton | 6e634bf | 2017-11-13 10:44:53 -0800 | [diff] [blame] | 101 | if (it == senders_.end()) { |
| 102 | return false; |
| 103 | } |
| 104 | (*it)->internal()->Stop(); |
| 105 | senders_.erase(it); |
| 106 | return true; |
| 107 | } |
| 108 | |
| 109 | void RtpTransceiver::AddReceiver( |
| 110 | rtc::scoped_refptr<RtpReceiverProxyWithInternal<RtpReceiverInternal>> |
| 111 | receiver) { |
Amit Hilbuch | dd9390c | 2018-11-13 16:26:05 -0800 | [diff] [blame] | 112 | RTC_DCHECK(!stopped_); |
Steve Anton | 6e634bf | 2017-11-13 10:44:53 -0800 | [diff] [blame] | 113 | RTC_DCHECK(!unified_plan_); |
| 114 | RTC_DCHECK(receiver); |
Steve Anton | 6947025 | 2018-02-09 11:43:08 -0800 | [diff] [blame] | 115 | RTC_DCHECK_EQ(media_type(), receiver->media_type()); |
Steve Anton | 64b626b | 2019-01-28 17:25:26 -0800 | [diff] [blame] | 116 | RTC_DCHECK(!absl::c_linear_search(receivers_, receiver)); |
Steve Anton | 6e634bf | 2017-11-13 10:44:53 -0800 | [diff] [blame] | 117 | receivers_.push_back(receiver); |
| 118 | } |
| 119 | |
| 120 | bool RtpTransceiver::RemoveReceiver(RtpReceiverInterface* receiver) { |
| 121 | RTC_DCHECK(!unified_plan_); |
| 122 | if (receiver) { |
| 123 | RTC_DCHECK_EQ(media_type(), receiver->media_type()); |
| 124 | } |
Steve Anton | 64b626b | 2019-01-28 17:25:26 -0800 | [diff] [blame] | 125 | auto it = absl::c_find(receivers_, receiver); |
Steve Anton | 6e634bf | 2017-11-13 10:44:53 -0800 | [diff] [blame] | 126 | if (it == receivers_.end()) { |
| 127 | return false; |
| 128 | } |
| 129 | (*it)->internal()->Stop(); |
Markus Handell | 43e62fc | 2020-01-07 19:46:15 +0100 | [diff] [blame^] | 130 | // After the receiver has been removed, there's no guarantee that the |
| 131 | // contained media channel isn't deleted shortly after this. To make sure that |
| 132 | // the receiver doesn't spontaneously try to use it's (potentially stale) |
| 133 | // media channel reference, we clear it out. |
| 134 | (*it)->internal()->SetMediaChannel(nullptr); |
Steve Anton | 6e634bf | 2017-11-13 10:44:53 -0800 | [diff] [blame] | 135 | receivers_.erase(it); |
| 136 | return true; |
| 137 | } |
| 138 | |
Steve Anton | f9381f0 | 2017-12-14 10:23:57 -0800 | [diff] [blame] | 139 | rtc::scoped_refptr<RtpSenderInternal> RtpTransceiver::sender_internal() const { |
| 140 | RTC_DCHECK(unified_plan_); |
| 141 | RTC_CHECK_EQ(1u, senders_.size()); |
| 142 | return senders_[0]->internal(); |
| 143 | } |
| 144 | |
| 145 | rtc::scoped_refptr<RtpReceiverInternal> RtpTransceiver::receiver_internal() |
| 146 | const { |
| 147 | RTC_DCHECK(unified_plan_); |
| 148 | RTC_CHECK_EQ(1u, receivers_.size()); |
| 149 | return receivers_[0]->internal(); |
| 150 | } |
| 151 | |
Steve Anton | 6947025 | 2018-02-09 11:43:08 -0800 | [diff] [blame] | 152 | cricket::MediaType RtpTransceiver::media_type() const { |
| 153 | return media_type_; |
| 154 | } |
| 155 | |
Danil Chapovalov | 66cadcc | 2018-06-19 16:47:43 +0200 | [diff] [blame] | 156 | absl::optional<std::string> RtpTransceiver::mid() const { |
Steve Anton | 6e634bf | 2017-11-13 10:44:53 -0800 | [diff] [blame] | 157 | return mid_; |
| 158 | } |
| 159 | |
Amit Hilbuch | dd9390c | 2018-11-13 16:26:05 -0800 | [diff] [blame] | 160 | void RtpTransceiver::OnFirstPacketReceived(cricket::ChannelInterface*) { |
Mirko Bonadei | 739baf0 | 2019-01-27 17:29:42 +0100 | [diff] [blame] | 161 | for (const auto& receiver : receivers_) { |
Steve Anton | 6077675 | 2018-01-10 11:51:34 -0800 | [diff] [blame] | 162 | receiver->internal()->NotifyFirstPacketReceived(); |
| 163 | } |
| 164 | } |
| 165 | |
Steve Anton | 6e634bf | 2017-11-13 10:44:53 -0800 | [diff] [blame] | 166 | rtc::scoped_refptr<RtpSenderInterface> RtpTransceiver::sender() const { |
| 167 | RTC_DCHECK(unified_plan_); |
| 168 | RTC_CHECK_EQ(1u, senders_.size()); |
| 169 | return senders_[0]; |
| 170 | } |
| 171 | |
| 172 | rtc::scoped_refptr<RtpReceiverInterface> RtpTransceiver::receiver() const { |
| 173 | RTC_DCHECK(unified_plan_); |
| 174 | RTC_CHECK_EQ(1u, receivers_.size()); |
| 175 | return receivers_[0]; |
| 176 | } |
| 177 | |
Steve Anton | dcc3c02 | 2017-12-22 16:02:54 -0800 | [diff] [blame] | 178 | void RtpTransceiver::set_current_direction(RtpTransceiverDirection direction) { |
Steve Anton | 3d954a6 | 2018-04-02 11:27:23 -0700 | [diff] [blame] | 179 | RTC_LOG(LS_INFO) << "Changing transceiver (MID=" << mid_.value_or("<not set>") |
| 180 | << ") current direction from " |
| 181 | << (current_direction_ ? RtpTransceiverDirectionToString( |
| 182 | *current_direction_) |
| 183 | : "<not set>") |
| 184 | << " to " << RtpTransceiverDirectionToString(direction) |
| 185 | << "."; |
Steve Anton | dcc3c02 | 2017-12-22 16:02:54 -0800 | [diff] [blame] | 186 | current_direction_ = direction; |
| 187 | if (RtpTransceiverDirectionHasSend(*current_direction_)) { |
| 188 | has_ever_been_used_to_send_ = true; |
| 189 | } |
| 190 | } |
| 191 | |
Steve Anton | 0f5400a | 2018-07-17 14:25:36 -0700 | [diff] [blame] | 192 | void RtpTransceiver::set_fired_direction(RtpTransceiverDirection direction) { |
| 193 | fired_direction_ = direction; |
| 194 | } |
| 195 | |
Steve Anton | 6e634bf | 2017-11-13 10:44:53 -0800 | [diff] [blame] | 196 | bool RtpTransceiver::stopped() const { |
| 197 | return stopped_; |
| 198 | } |
| 199 | |
| 200 | RtpTransceiverDirection RtpTransceiver::direction() const { |
| 201 | return direction_; |
| 202 | } |
| 203 | |
| 204 | void RtpTransceiver::SetDirection(RtpTransceiverDirection new_direction) { |
Steve Anton | 52d8677 | 2018-02-20 15:48:12 -0800 | [diff] [blame] | 205 | if (stopped()) { |
| 206 | return; |
| 207 | } |
| 208 | if (new_direction == direction_) { |
| 209 | return; |
| 210 | } |
| 211 | direction_ = new_direction; |
| 212 | SignalNegotiationNeeded(); |
Steve Anton | 6e634bf | 2017-11-13 10:44:53 -0800 | [diff] [blame] | 213 | } |
| 214 | |
Danil Chapovalov | 66cadcc | 2018-06-19 16:47:43 +0200 | [diff] [blame] | 215 | absl::optional<RtpTransceiverDirection> RtpTransceiver::current_direction() |
Steve Anton | 6e634bf | 2017-11-13 10:44:53 -0800 | [diff] [blame] | 216 | const { |
| 217 | return current_direction_; |
| 218 | } |
| 219 | |
Steve Anton | 0f5400a | 2018-07-17 14:25:36 -0700 | [diff] [blame] | 220 | absl::optional<RtpTransceiverDirection> RtpTransceiver::fired_direction() |
| 221 | const { |
| 222 | return fired_direction_; |
| 223 | } |
| 224 | |
Steve Anton | 6e634bf | 2017-11-13 10:44:53 -0800 | [diff] [blame] | 225 | void RtpTransceiver::Stop() { |
Mirko Bonadei | 739baf0 | 2019-01-27 17:29:42 +0100 | [diff] [blame] | 226 | for (const auto& sender : senders_) { |
Steve Anton | 6e634bf | 2017-11-13 10:44:53 -0800 | [diff] [blame] | 227 | sender->internal()->Stop(); |
| 228 | } |
Mirko Bonadei | 739baf0 | 2019-01-27 17:29:42 +0100 | [diff] [blame] | 229 | for (const auto& receiver : receivers_) { |
Steve Anton | 6e634bf | 2017-11-13 10:44:53 -0800 | [diff] [blame] | 230 | receiver->internal()->Stop(); |
| 231 | } |
| 232 | stopped_ = true; |
Danil Chapovalov | 66cadcc | 2018-06-19 16:47:43 +0200 | [diff] [blame] | 233 | current_direction_ = absl::nullopt; |
Steve Anton | 6e634bf | 2017-11-13 10:44:53 -0800 | [diff] [blame] | 234 | } |
| 235 | |
Florent Castelli | 2d9d82e | 2019-04-23 19:25:51 +0200 | [diff] [blame] | 236 | RTCError RtpTransceiver::SetCodecPreferences( |
| 237 | rtc::ArrayView<RtpCodecCapability> codec_capabilities) { |
| 238 | RTC_DCHECK(unified_plan_); |
| 239 | |
| 240 | // 3. If codecs is an empty list, set transceiver's [[PreferredCodecs]] slot |
| 241 | // to codecs and abort these steps. |
| 242 | if (codec_capabilities.empty()) { |
| 243 | codec_preferences_.clear(); |
| 244 | return RTCError::OK(); |
| 245 | } |
| 246 | |
| 247 | // 4. Remove any duplicate values in codecs. |
| 248 | std::vector<RtpCodecCapability> codecs; |
| 249 | absl::c_remove_copy_if(codec_capabilities, std::back_inserter(codecs), |
| 250 | [&codecs](const RtpCodecCapability& codec) { |
| 251 | return absl::c_linear_search(codecs, codec); |
| 252 | }); |
| 253 | |
| 254 | if (media_type_ == cricket::MEDIA_TYPE_AUDIO) { |
| 255 | std::vector<cricket::AudioCodec> audio_codecs; |
| 256 | |
| 257 | std::vector<cricket::AudioCodec> recv_codecs, send_codecs; |
| 258 | channel_manager_->GetSupportedAudioReceiveCodecs(&recv_codecs); |
| 259 | channel_manager_->GetSupportedAudioSendCodecs(&send_codecs); |
| 260 | |
| 261 | // 6. If the intersection between codecs and |
| 262 | // RTCRtpSender.getCapabilities(kind).codecs or the intersection between |
| 263 | // codecs and RTCRtpReceiver.getCapabilities(kind).codecs only contains RTX, |
| 264 | // RED or FEC codecs or is an empty set, throw InvalidModificationError. |
| 265 | // This ensures that we always have something to offer, regardless of |
| 266 | // transceiver.direction. |
| 267 | |
| 268 | if (!absl::c_any_of( |
| 269 | codecs, [&recv_codecs](const RtpCodecCapability& codec) { |
| 270 | return codec.name != cricket::kRtxCodecName && |
| 271 | codec.name != cricket::kRedCodecName && |
| 272 | codec.name != cricket::kFlexfecCodecName && |
| 273 | absl::c_any_of( |
| 274 | recv_codecs, |
| 275 | [&codec](const cricket::AudioCodec& recv_codec) { |
| 276 | return recv_codec.MatchesCapability(codec); |
| 277 | }); |
| 278 | })) { |
| 279 | return RTCError(RTCErrorType::INVALID_MODIFICATION, |
| 280 | "Invalid codec preferences: Missing codec from recv " |
| 281 | "codec capabilities."); |
| 282 | } |
| 283 | |
| 284 | if (!absl::c_any_of( |
| 285 | codecs, [&send_codecs](const RtpCodecCapability& codec) { |
| 286 | return codec.name != cricket::kRtxCodecName && |
| 287 | codec.name != cricket::kRedCodecName && |
| 288 | codec.name != cricket::kFlexfecCodecName && |
| 289 | absl::c_any_of( |
| 290 | send_codecs, |
| 291 | [&codec](const cricket::AudioCodec& send_codec) { |
| 292 | return send_codec.MatchesCapability(codec); |
| 293 | }); |
| 294 | })) { |
| 295 | return RTCError(RTCErrorType::INVALID_MODIFICATION, |
| 296 | "Invalid codec preferences: Missing codec from send " |
| 297 | "codec capabilities."); |
| 298 | } |
| 299 | |
| 300 | // 7. Let codecCapabilities be the union of |
| 301 | // RTCRtpSender.getCapabilities(kind).codecs and |
| 302 | // RTCRtpReceiver.getCapabilities(kind).codecs. 8.1 For each codec in |
| 303 | // codecs, If codec is not in codecCapabilities, throw |
| 304 | // InvalidModificationError. |
| 305 | for (const auto& codec_preference : codecs) { |
| 306 | bool is_recv_codec = absl::c_any_of( |
| 307 | recv_codecs, [&codec_preference](const cricket::AudioCodec& codec) { |
| 308 | return codec.MatchesCapability(codec_preference); |
| 309 | }); |
| 310 | |
| 311 | bool is_send_codec = absl::c_any_of( |
| 312 | send_codecs, [&codec_preference](const cricket::AudioCodec& codec) { |
| 313 | return codec.MatchesCapability(codec_preference); |
| 314 | }); |
| 315 | |
| 316 | if (!is_recv_codec && !is_send_codec) { |
| 317 | return RTCError( |
| 318 | RTCErrorType::INVALID_MODIFICATION, |
| 319 | std::string( |
| 320 | "Invalid codec preferences: invalid codec with name \"") + |
| 321 | codec_preference.name + "\"."); |
| 322 | } |
| 323 | } |
| 324 | } else if (media_type_ == cricket::MEDIA_TYPE_VIDEO) { |
| 325 | std::vector<cricket::VideoCodec> video_codecs; |
| 326 | // Video codecs are both for the receive and send side, so the checks are |
| 327 | // simpler than the audio ones. |
| 328 | channel_manager_->GetSupportedVideoCodecs(&video_codecs); |
| 329 | |
| 330 | // Validate codecs |
| 331 | for (const auto& codec_preference : codecs) { |
| 332 | if (!absl::c_any_of(video_codecs, [&codec_preference]( |
| 333 | const cricket::VideoCodec& codec) { |
| 334 | return codec.MatchesCapability(codec_preference); |
| 335 | })) { |
| 336 | return RTCError( |
| 337 | RTCErrorType::INVALID_MODIFICATION, |
| 338 | std::string( |
| 339 | "Invalid codec preferences: invalid codec with name \"") + |
| 340 | codec_preference.name + "\"."); |
| 341 | } |
| 342 | } |
| 343 | } |
| 344 | |
| 345 | // Check we have a real codec (not just rtx, red or fec) |
| 346 | if (absl::c_all_of(codecs, [](const RtpCodecCapability& codec) { |
| 347 | return codec.name == cricket::kRtxCodecName || |
| 348 | codec.name == cricket::kRedCodecName || |
| 349 | codec.name == cricket::kUlpfecCodecName; |
| 350 | })) { |
| 351 | return RTCError(RTCErrorType::INVALID_MODIFICATION, |
| 352 | "Invalid codec preferences: codec list must have a non " |
| 353 | "RTX, RED or FEC entry."); |
| 354 | } |
| 355 | |
| 356 | codec_preferences_ = codecs; |
| 357 | |
| 358 | return RTCError::OK(); |
Steve Anton | 6e634bf | 2017-11-13 10:44:53 -0800 | [diff] [blame] | 359 | } |
| 360 | |
| 361 | } // namespace webrtc |