niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 1 | /* |
mikhal@webrtc.org | a2031d5 | 2012-07-31 15:53:44 +0000 | [diff] [blame] | 2 | * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 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 | |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 11 | #include "modules/video_coding/generic_decoder.h" |
tommi | 5b7fc8c | 2017-07-05 16:45:57 -0700 | [diff] [blame] | 12 | |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 13 | #include <stddef.h> |
ilnik | 2edc684 | 2017-07-06 03:06:50 -0700 | [diff] [blame] | 14 | #include <algorithm> |
| 15 | |
Yves Gerey | 3e70781 | 2018-11-28 16:47:49 +0100 | [diff] [blame] | 16 | #include "api/video/video_timing.h" |
| 17 | #include "modules/video_coding/include/video_error_codes.h" |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 18 | #include "rtc_base/checks.h" |
| 19 | #include "rtc_base/logging.h" |
Steve Anton | 10542f2 | 2019-01-11 09:11:00 -0800 | [diff] [blame] | 20 | #include "rtc_base/time_utils.h" |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 21 | #include "rtc_base/trace_event.h" |
| 22 | #include "system_wrappers/include/clock.h" |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 23 | |
| 24 | namespace webrtc { |
| 25 | |
philipel | 9d3ab61 | 2015-12-21 04:12:39 -0800 | [diff] [blame] | 26 | VCMDecodedFrameCallback::VCMDecodedFrameCallback(VCMTiming* timing, |
stefan@webrtc.org | a678a3b | 2013-01-21 07:42:11 +0000 | [diff] [blame] | 27 | Clock* clock) |
Niels Möller | 43f7002 | 2019-04-23 14:52:33 +0200 | [diff] [blame^] | 28 | : _clock(clock), _timing(timing), _timestampMap(kDecoderFrameMemoryLength) { |
ilnik | 04f4d12 | 2017-06-19 07:18:55 -0700 | [diff] [blame] | 29 | ntp_offset_ = |
| 30 | _clock->CurrentNtpInMilliseconds() - _clock->TimeInMilliseconds(); |
| 31 | } |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 32 | |
Yves Gerey | 665174f | 2018-06-19 15:03:05 +0200 | [diff] [blame] | 33 | VCMDecodedFrameCallback::~VCMDecodedFrameCallback() {} |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 34 | |
stefan@webrtc.org | 06887ae | 2011-10-10 14:17:46 +0000 | [diff] [blame] | 35 | void VCMDecodedFrameCallback::SetUserReceiveCallback( |
philipel | 9d3ab61 | 2015-12-21 04:12:39 -0800 | [diff] [blame] | 36 | VCMReceiveCallback* receiveCallback) { |
Sebastian Jansson | c01367d | 2019-04-08 15:20:44 +0200 | [diff] [blame] | 37 | RTC_DCHECK(construction_thread_.IsCurrent()); |
tommi | d0a71ba | 2017-03-14 04:16:20 -0700 | [diff] [blame] | 38 | RTC_DCHECK((!_receiveCallback && receiveCallback) || |
| 39 | (_receiveCallback && !receiveCallback)); |
philipel | 9d3ab61 | 2015-12-21 04:12:39 -0800 | [diff] [blame] | 40 | _receiveCallback = receiveCallback; |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 41 | } |
| 42 | |
philipel | 9d3ab61 | 2015-12-21 04:12:39 -0800 | [diff] [blame] | 43 | VCMReceiveCallback* VCMDecodedFrameCallback::UserReceiveCallback() { |
tommi | d0a71ba | 2017-03-14 04:16:20 -0700 | [diff] [blame] | 44 | // Called on the decode thread via VCMCodecDataBase::GetDecoder. |
| 45 | // The callback must always have been set before this happens. |
| 46 | RTC_DCHECK(_receiveCallback); |
philipel | 9d3ab61 | 2015-12-21 04:12:39 -0800 | [diff] [blame] | 47 | return _receiveCallback; |
wuchengli@chromium.org | 0d94c2f | 2013-08-12 14:20:49 +0000 | [diff] [blame] | 48 | } |
| 49 | |
Miguel Casas-Sanchez | 4765070 | 2015-05-29 17:21:40 -0700 | [diff] [blame] | 50 | int32_t VCMDecodedFrameCallback::Decoded(VideoFrame& decodedImage) { |
Per | 327d8ba | 2015-11-10 14:00:27 +0100 | [diff] [blame] | 51 | return Decoded(decodedImage, -1); |
| 52 | } |
| 53 | |
| 54 | int32_t VCMDecodedFrameCallback::Decoded(VideoFrame& decodedImage, |
| 55 | int64_t decode_time_ms) { |
sakal | cc452e1 | 2017-02-09 04:53:45 -0800 | [diff] [blame] | 56 | Decoded(decodedImage, |
Danil Chapovalov | 0040b66 | 2018-06-18 10:48:16 +0200 | [diff] [blame] | 57 | decode_time_ms >= 0 ? absl::optional<int32_t>(decode_time_ms) |
| 58 | : absl::nullopt, |
| 59 | absl::nullopt); |
sakal | cc452e1 | 2017-02-09 04:53:45 -0800 | [diff] [blame] | 60 | return WEBRTC_VIDEO_CODEC_OK; |
| 61 | } |
| 62 | |
| 63 | void VCMDecodedFrameCallback::Decoded(VideoFrame& decodedImage, |
Danil Chapovalov | 0040b66 | 2018-06-18 10:48:16 +0200 | [diff] [blame] | 64 | absl::optional<int32_t> decode_time_ms, |
| 65 | absl::optional<uint8_t> qp) { |
tommi | d0a71ba | 2017-03-14 04:16:20 -0700 | [diff] [blame] | 66 | RTC_DCHECK(_receiveCallback) << "Callback must not be null at this point"; |
philipel | 9d3ab61 | 2015-12-21 04:12:39 -0800 | [diff] [blame] | 67 | TRACE_EVENT_INSTANT1("webrtc", "VCMDecodedFrameCallback::Decoded", |
| 68 | "timestamp", decodedImage.timestamp()); |
| 69 | // TODO(holmer): We should improve this so that we can handle multiple |
| 70 | // callbacks from one call to Decode(). |
Lu Liu | 352314a | 2018-02-21 19:38:59 +0000 | [diff] [blame] | 71 | VCMFrameInformation* frameInfo; |
| 72 | { |
| 73 | rtc::CritScope cs(&lock_); |
| 74 | frameInfo = _timestampMap.Pop(decodedImage.timestamp()); |
| 75 | } |
philipel | 9d3ab61 | 2015-12-21 04:12:39 -0800 | [diff] [blame] | 76 | |
| 77 | if (frameInfo == NULL) { |
Mirko Bonadei | 675513b | 2017-11-09 11:09:25 +0100 | [diff] [blame] | 78 | RTC_LOG(LS_WARNING) << "Too many frames backed up in the decoder, dropping " |
| 79 | "this one."; |
sakal | cc452e1 | 2017-02-09 04:53:45 -0800 | [diff] [blame] | 80 | return; |
philipel | 9d3ab61 | 2015-12-21 04:12:39 -0800 | [diff] [blame] | 81 | } |
| 82 | |
| 83 | const int64_t now_ms = _clock->TimeInMilliseconds(); |
sakal | cc452e1 | 2017-02-09 04:53:45 -0800 | [diff] [blame] | 84 | if (!decode_time_ms) { |
Oskar Sundbom | 6bd3902 | 2017-11-16 10:54:49 +0100 | [diff] [blame] | 85 | decode_time_ms = now_ms - frameInfo->decodeStartTimeMs; |
philipel | 9d3ab61 | 2015-12-21 04:12:39 -0800 | [diff] [blame] | 86 | } |
sakal | cc452e1 | 2017-02-09 04:53:45 -0800 | [diff] [blame] | 87 | _timing->StopDecodeTimer(decodedImage.timestamp(), *decode_time_ms, now_ms, |
philipel | 9d3ab61 | 2015-12-21 04:12:39 -0800 | [diff] [blame] | 88 | frameInfo->renderTimeMs); |
| 89 | |
ilnik | 04f4d12 | 2017-06-19 07:18:55 -0700 | [diff] [blame] | 90 | // Report timing information. |
Benjamin Wright | 3f10ca8 | 2018-12-07 03:45:19 -0800 | [diff] [blame] | 91 | TimingFrameInfo timing_frame_info; |
Ilya Nikolaevskiy | b6c462d | 2018-06-05 15:21:32 +0200 | [diff] [blame] | 92 | if (frameInfo->timing.flags != VideoSendTiming::kInvalid) { |
ilnik | 2edc684 | 2017-07-06 03:06:50 -0700 | [diff] [blame] | 93 | int64_t capture_time_ms = decodedImage.ntp_time_ms() - ntp_offset_; |
ilnik | 04f4d12 | 2017-06-19 07:18:55 -0700 | [diff] [blame] | 94 | // Convert remote timestamps to local time from ntp timestamps. |
| 95 | frameInfo->timing.encode_start_ms -= ntp_offset_; |
| 96 | frameInfo->timing.encode_finish_ms -= ntp_offset_; |
| 97 | frameInfo->timing.packetization_finish_ms -= ntp_offset_; |
| 98 | frameInfo->timing.pacer_exit_ms -= ntp_offset_; |
| 99 | frameInfo->timing.network_timestamp_ms -= ntp_offset_; |
| 100 | frameInfo->timing.network2_timestamp_ms -= ntp_offset_; |
ilnik | 2edc684 | 2017-07-06 03:06:50 -0700 | [diff] [blame] | 101 | |
| 102 | int64_t sender_delta_ms = 0; |
| 103 | if (decodedImage.ntp_time_ms() < 0) { |
| 104 | // Sender clock is not estimated yet. Make sure that sender times are all |
| 105 | // negative to indicate that. Yet they still should be relatively correct. |
| 106 | sender_delta_ms = |
| 107 | std::max({capture_time_ms, frameInfo->timing.encode_start_ms, |
| 108 | frameInfo->timing.encode_finish_ms, |
| 109 | frameInfo->timing.packetization_finish_ms, |
| 110 | frameInfo->timing.pacer_exit_ms, |
| 111 | frameInfo->timing.network_timestamp_ms, |
| 112 | frameInfo->timing.network2_timestamp_ms}) + |
| 113 | 1; |
| 114 | } |
| 115 | |
ilnik | 2edc684 | 2017-07-06 03:06:50 -0700 | [diff] [blame] | 116 | |
| 117 | timing_frame_info.capture_time_ms = capture_time_ms - sender_delta_ms; |
| 118 | timing_frame_info.encode_start_ms = |
| 119 | frameInfo->timing.encode_start_ms - sender_delta_ms; |
| 120 | timing_frame_info.encode_finish_ms = |
| 121 | frameInfo->timing.encode_finish_ms - sender_delta_ms; |
| 122 | timing_frame_info.packetization_finish_ms = |
| 123 | frameInfo->timing.packetization_finish_ms - sender_delta_ms; |
| 124 | timing_frame_info.pacer_exit_ms = |
| 125 | frameInfo->timing.pacer_exit_ms - sender_delta_ms; |
| 126 | timing_frame_info.network_timestamp_ms = |
| 127 | frameInfo->timing.network_timestamp_ms - sender_delta_ms; |
| 128 | timing_frame_info.network2_timestamp_ms = |
| 129 | frameInfo->timing.network2_timestamp_ms - sender_delta_ms; |
ilnik | 04f4d12 | 2017-06-19 07:18:55 -0700 | [diff] [blame] | 130 | } |
| 131 | |
Benjamin Wright | 3f10ca8 | 2018-12-07 03:45:19 -0800 | [diff] [blame] | 132 | timing_frame_info.flags = frameInfo->timing.flags; |
| 133 | timing_frame_info.decode_start_ms = frameInfo->decodeStartTimeMs; |
| 134 | timing_frame_info.decode_finish_ms = now_ms; |
| 135 | timing_frame_info.render_time_ms = frameInfo->renderTimeMs; |
| 136 | timing_frame_info.rtp_timestamp = decodedImage.timestamp(); |
| 137 | timing_frame_info.receive_start_ms = frameInfo->timing.receive_start_ms; |
| 138 | timing_frame_info.receive_finish_ms = frameInfo->timing.receive_finish_ms; |
| 139 | _timing->SetTimingFrameInfo(timing_frame_info); |
| 140 | |
Yves Gerey | 665174f | 2018-06-19 15:03:05 +0200 | [diff] [blame] | 141 | decodedImage.set_timestamp_us(frameInfo->renderTimeMs * |
| 142 | rtc::kNumMicrosecsPerMillisec); |
Artem Titarenko | 84ae2b6 | 2019-04-24 12:56:36 +0000 | [diff] [blame] | 143 | decodedImage.set_rotation(frameInfo->rotation); |
ilnik | 00d802b | 2017-04-11 10:34:31 -0700 | [diff] [blame] | 144 | _receiveCallback->FrameToRender(decodedImage, qp, frameInfo->content_type); |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 145 | } |
| 146 | |
Peter Boström | b7d9a97 | 2015-12-18 16:01:11 +0100 | [diff] [blame] | 147 | void VCMDecodedFrameCallback::OnDecoderImplementationName( |
| 148 | const char* implementation_name) { |
tommi | d0a71ba | 2017-03-14 04:16:20 -0700 | [diff] [blame] | 149 | _receiveCallback->OnDecoderImplementationName(implementation_name); |
Peter Boström | b7d9a97 | 2015-12-18 16:01:11 +0100 | [diff] [blame] | 150 | } |
| 151 | |
pbos | 1968d3f | 2015-09-28 08:52:18 -0700 | [diff] [blame] | 152 | void VCMDecodedFrameCallback::Map(uint32_t timestamp, |
| 153 | VCMFrameInformation* frameInfo) { |
Lu Liu | 352314a | 2018-02-21 19:38:59 +0000 | [diff] [blame] | 154 | rtc::CritScope cs(&lock_); |
pbos | 1968d3f | 2015-09-28 08:52:18 -0700 | [diff] [blame] | 155 | _timestampMap.Add(timestamp, frameInfo); |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 156 | } |
| 157 | |
philipel | 9d3ab61 | 2015-12-21 04:12:39 -0800 | [diff] [blame] | 158 | int32_t VCMDecodedFrameCallback::Pop(uint32_t timestamp) { |
Lu Liu | 352314a | 2018-02-21 19:38:59 +0000 | [diff] [blame] | 159 | rtc::CritScope cs(&lock_); |
| 160 | if (_timestampMap.Pop(timestamp) == NULL) { |
| 161 | return VCM_GENERAL_ERROR; |
| 162 | } |
| 163 | return VCM_OK; |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 164 | } |
| 165 | |
Magnus Jedvert | 46a2765 | 2017-11-13 14:10:02 +0100 | [diff] [blame] | 166 | VCMGenericDecoder::VCMGenericDecoder(std::unique_ptr<VideoDecoder> decoder) |
| 167 | : VCMGenericDecoder(decoder.release(), false /* isExternal */) {} |
| 168 | |
Peter Boström | 187db63 | 2015-12-01 17:20:01 +0100 | [diff] [blame] | 169 | VCMGenericDecoder::VCMGenericDecoder(VideoDecoder* decoder, bool isExternal) |
| 170 | : _callback(NULL), |
| 171 | _frameInfos(), |
| 172 | _nextFrameInfoIdx(0), |
tommi | 5b7fc8c | 2017-07-05 16:45:57 -0700 | [diff] [blame] | 173 | decoder_(decoder), |
Kári Tristan Helgason | 84ccb2d | 2018-08-16 14:35:26 +0200 | [diff] [blame] | 174 | _codecType(kVideoCodecGeneric), |
guidou | c337258 | 2017-04-04 07:16:21 -0700 | [diff] [blame] | 175 | _isExternal(isExternal), |
tommi | 5b7fc8c | 2017-07-05 16:45:57 -0700 | [diff] [blame] | 176 | _last_keyframe_content_type(VideoContentType::UNSPECIFIED) { |
| 177 | RTC_DCHECK(decoder_); |
| 178 | } |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 179 | |
tommi | 5b7fc8c | 2017-07-05 16:45:57 -0700 | [diff] [blame] | 180 | VCMGenericDecoder::~VCMGenericDecoder() { |
| 181 | decoder_->Release(); |
| 182 | if (_isExternal) |
| 183 | decoder_.release(); |
tommi | 058aa71 | 2017-07-15 11:33:35 -0700 | [diff] [blame] | 184 | RTC_DCHECK(_isExternal || decoder_); |
tommi | 5b7fc8c | 2017-07-05 16:45:57 -0700 | [diff] [blame] | 185 | } |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 186 | |
pbos@webrtc.org | 7b859cc | 2013-04-02 15:54:38 +0000 | [diff] [blame] | 187 | int32_t VCMGenericDecoder::InitDecode(const VideoCodec* settings, |
philipel | 9d3ab61 | 2015-12-21 04:12:39 -0800 | [diff] [blame] | 188 | int32_t numberOfCores) { |
| 189 | TRACE_EVENT0("webrtc", "VCMGenericDecoder::InitDecode"); |
| 190 | _codecType = settings->codecType; |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 191 | |
tommi | 5b7fc8c | 2017-07-05 16:45:57 -0700 | [diff] [blame] | 192 | return decoder_->InitDecode(settings, numberOfCores); |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 193 | } |
| 194 | |
pbos | d9eec76 | 2015-11-17 06:03:43 -0800 | [diff] [blame] | 195 | int32_t VCMGenericDecoder::Decode(const VCMEncodedFrame& frame, int64_t nowMs) { |
Yves Gerey | 665174f | 2018-06-19 15:03:05 +0200 | [diff] [blame] | 196 | TRACE_EVENT1("webrtc", "VCMGenericDecoder::Decode", "timestamp", |
Niels Möller | 2377588 | 2018-08-16 10:24:12 +0200 | [diff] [blame] | 197 | frame.Timestamp()); |
Yves Gerey | 665174f | 2018-06-19 15:03:05 +0200 | [diff] [blame] | 198 | _frameInfos[_nextFrameInfoIdx].decodeStartTimeMs = nowMs; |
| 199 | _frameInfos[_nextFrameInfoIdx].renderTimeMs = frame.RenderTimeMs(); |
| 200 | _frameInfos[_nextFrameInfoIdx].rotation = frame.rotation(); |
| 201 | _frameInfos[_nextFrameInfoIdx].timing = frame.video_timing(); |
| 202 | // Set correctly only for key frames. Thus, use latest key frame |
| 203 | // content type. If the corresponding key frame was lost, decode will fail |
| 204 | // and content type will be ignored. |
Niels Möller | 8f7ce22 | 2019-03-21 15:43:58 +0100 | [diff] [blame] | 205 | if (frame.FrameType() == VideoFrameType::kVideoFrameKey) { |
Yves Gerey | 665174f | 2018-06-19 15:03:05 +0200 | [diff] [blame] | 206 | _frameInfos[_nextFrameInfoIdx].content_type = frame.contentType(); |
| 207 | _last_keyframe_content_type = frame.contentType(); |
| 208 | } else { |
| 209 | _frameInfos[_nextFrameInfoIdx].content_type = _last_keyframe_content_type; |
| 210 | } |
Niels Möller | 2377588 | 2018-08-16 10:24:12 +0200 | [diff] [blame] | 211 | _callback->Map(frame.Timestamp(), &_frameInfos[_nextFrameInfoIdx]); |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 212 | |
Yves Gerey | 665174f | 2018-06-19 15:03:05 +0200 | [diff] [blame] | 213 | _nextFrameInfoIdx = (_nextFrameInfoIdx + 1) % kDecoderFrameMemoryLength; |
| 214 | int32_t ret = decoder_->Decode(frame.EncodedImage(), frame.MissingFrame(), |
Niels Möller | 7aacdd9 | 2019-03-25 09:11:40 +0100 | [diff] [blame] | 215 | frame.RenderTimeMs()); |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 216 | |
Yves Gerey | 665174f | 2018-06-19 15:03:05 +0200 | [diff] [blame] | 217 | _callback->OnDecoderImplementationName(decoder_->ImplementationName()); |
| 218 | if (ret < WEBRTC_VIDEO_CODEC_OK) { |
| 219 | RTC_LOG(LS_WARNING) << "Failed to decode frame with timestamp " |
Niels Möller | 2377588 | 2018-08-16 10:24:12 +0200 | [diff] [blame] | 220 | << frame.Timestamp() << ", error code: " << ret; |
| 221 | _callback->Pop(frame.Timestamp()); |
Lu Liu | 352314a | 2018-02-21 19:38:59 +0000 | [diff] [blame] | 222 | return ret; |
Niels Möller | 9cccf85 | 2018-12-04 11:01:26 +0100 | [diff] [blame] | 223 | } else if (ret == WEBRTC_VIDEO_CODEC_NO_OUTPUT) { |
Yves Gerey | 665174f | 2018-06-19 15:03:05 +0200 | [diff] [blame] | 224 | // No output |
Niels Möller | 2377588 | 2018-08-16 10:24:12 +0200 | [diff] [blame] | 225 | _callback->Pop(frame.Timestamp()); |
Yves Gerey | 665174f | 2018-06-19 15:03:05 +0200 | [diff] [blame] | 226 | } |
| 227 | return ret; |
guidou | c337258 | 2017-04-04 07:16:21 -0700 | [diff] [blame] | 228 | } |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 229 | |
Peter Boström | 187db63 | 2015-12-01 17:20:01 +0100 | [diff] [blame] | 230 | int32_t VCMGenericDecoder::RegisterDecodeCompleteCallback( |
| 231 | VCMDecodedFrameCallback* callback) { |
| 232 | _callback = callback; |
tommi | 5b7fc8c | 2017-07-05 16:45:57 -0700 | [diff] [blame] | 233 | return decoder_->RegisterDecodeCompleteCallback(callback); |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 234 | } |
| 235 | |
perkj | 796cfaf | 2015-12-10 09:27:38 -0800 | [diff] [blame] | 236 | bool VCMGenericDecoder::PrefersLateDecoding() const { |
tommi | 5b7fc8c | 2017-07-05 16:45:57 -0700 | [diff] [blame] | 237 | return decoder_->PrefersLateDecoding(); |
perkj | 796cfaf | 2015-12-10 09:27:38 -0800 | [diff] [blame] | 238 | } |
| 239 | |
philipel | 9d3ab61 | 2015-12-21 04:12:39 -0800 | [diff] [blame] | 240 | } // namespace webrtc |