blob: 171fc4d6fdf39f0f2a3d3f72b66f030991792bf5 [file] [log] [blame]
philipelbe7a9e52016-05-19 12:19:35 +02001/*
2 * Copyright (c) 2016 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
11#include "webrtc/modules/video_coding/frame_buffer2.h"
12
13#include <algorithm>
philipele0b2f152016-09-28 10:23:49 +020014#include <cstring>
15#include <queue>
philipelbe7a9e52016-05-19 12:19:35 +020016
17#include "webrtc/base/checks.h"
philipele0b2f152016-09-28 10:23:49 +020018#include "webrtc/base/logging.h"
tommidb23ea62017-03-03 07:21:18 -080019#include "webrtc/base/trace_event.h"
philipela45102f2017-02-22 05:30:39 -080020#include "webrtc/modules/video_coding/include/video_coding_defines.h"
philipelbe7a9e52016-05-19 12:19:35 +020021#include "webrtc/modules/video_coding/jitter_estimator.h"
philipelbe7a9e52016-05-19 12:19:35 +020022#include "webrtc/modules/video_coding/timing.h"
23#include "webrtc/system_wrappers/include/clock.h"
philipel266f0a42016-11-28 08:49:07 -080024#include "webrtc/system_wrappers/include/metrics.h"
philipelbe7a9e52016-05-19 12:19:35 +020025
26namespace webrtc {
27namespace video_coding {
28
29namespace {
philipele0b2f152016-09-28 10:23:49 +020030// Max number of frames the buffer will hold.
31constexpr int kMaxFramesBuffered = 600;
philipelbe7a9e52016-05-19 12:19:35 +020032
philipele0b2f152016-09-28 10:23:49 +020033// Max number of decoded frame info that will be saved.
philipelfd5a20f2016-11-15 00:57:57 -080034constexpr int kMaxFramesHistory = 50;
philipelbe7a9e52016-05-19 12:19:35 +020035} // namespace
36
philipelbe7a9e52016-05-19 12:19:35 +020037FrameBuffer::FrameBuffer(Clock* clock,
38 VCMJitterEstimator* jitter_estimator,
philipela45102f2017-02-22 05:30:39 -080039 VCMTiming* timing,
40 VCMReceiveStatisticsCallback* stats_callback)
philipelbe7a9e52016-05-19 12:19:35 +020041 : clock_(clock),
philipele0b2f152016-09-28 10:23:49 +020042 new_countinuous_frame_event_(false, false),
philipelbe7a9e52016-05-19 12:19:35 +020043 jitter_estimator_(jitter_estimator),
44 timing_(timing),
philipel4f6cd6a2016-08-03 10:59:32 +020045 inter_frame_delay_(clock_->TimeInMilliseconds()),
philipele0b2f152016-09-28 10:23:49 +020046 last_decoded_frame_it_(frames_.end()),
47 last_continuous_frame_it_(frames_.end()),
48 num_frames_history_(0),
49 num_frames_buffered_(0),
philipel4f6cd6a2016-08-03 10:59:32 +020050 stopped_(false),
philipela45102f2017-02-22 05:30:39 -080051 protection_mode_(kProtectionNack),
52 stats_callback_(stats_callback) {}
philipel266f0a42016-11-28 08:49:07 -080053
philipela45102f2017-02-22 05:30:39 -080054FrameBuffer::~FrameBuffer() {}
philipelbe7a9e52016-05-19 12:19:35 +020055
philipel75562822016-09-05 10:57:41 +020056FrameBuffer::ReturnReason FrameBuffer::NextFrame(
57 int64_t max_wait_time_ms,
58 std::unique_ptr<FrameObject>* frame_out) {
tommidb23ea62017-03-03 07:21:18 -080059 TRACE_EVENT0("webrtc", "FrameBuffer::NextFrame");
philipel1c056252017-01-31 09:53:12 -080060 int64_t latest_return_time_ms =
61 clock_->TimeInMilliseconds() + max_wait_time_ms;
philipel504c47d2016-06-30 17:33:02 +020062 int64_t wait_ms = max_wait_time_ms;
philipele0b2f152016-09-28 10:23:49 +020063
64 do {
65 int64_t now_ms = clock_->TimeInMilliseconds();
philipel504c47d2016-06-30 17:33:02 +020066 {
67 rtc::CritScope lock(&crit_);
philipele0b2f152016-09-28 10:23:49 +020068 new_countinuous_frame_event_.Reset();
philipel504c47d2016-06-30 17:33:02 +020069 if (stopped_)
philipel75562822016-09-05 10:57:41 +020070 return kStopped;
philipelbe7a9e52016-05-19 12:19:35 +020071
philipel504c47d2016-06-30 17:33:02 +020072 wait_ms = max_wait_time_ms;
philipele0b2f152016-09-28 10:23:49 +020073
74 // Need to hold |crit_| in order to use |frames_|, therefore we
75 // set it here in the loop instead of outside the loop in order to not
76 // acquire the lock unnecesserily.
philipel1c056252017-01-31 09:53:12 -080077 next_frame_it_ = frames_.end();
philipelbe7a9e52016-05-19 12:19:35 +020078
philipele0b2f152016-09-28 10:23:49 +020079 // |frame_it| points to the first frame after the
80 // |last_decoded_frame_it_|.
81 auto frame_it = frames_.end();
82 if (last_decoded_frame_it_ == frames_.end()) {
83 frame_it = frames_.begin();
philipelbe7a9e52016-05-19 12:19:35 +020084 } else {
philipele0b2f152016-09-28 10:23:49 +020085 frame_it = last_decoded_frame_it_;
86 ++frame_it;
philipelbe7a9e52016-05-19 12:19:35 +020087 }
philipele0b2f152016-09-28 10:23:49 +020088
89 // |continuous_end_it| points to the first frame after the
90 // |last_continuous_frame_it_|.
91 auto continuous_end_it = last_continuous_frame_it_;
92 if (continuous_end_it != frames_.end())
93 ++continuous_end_it;
94
95 for (; frame_it != continuous_end_it; ++frame_it) {
philipel93e451b2016-10-06 12:25:13 +020096 if (!frame_it->second.continuous ||
97 frame_it->second.num_missing_decodable > 0) {
philipele0b2f152016-09-28 10:23:49 +020098 continue;
philipel93e451b2016-10-06 12:25:13 +020099 }
philipele0b2f152016-09-28 10:23:49 +0200100
101 FrameObject* frame = frame_it->second.frame.get();
philipel1c056252017-01-31 09:53:12 -0800102 next_frame_it_ = frame_it;
philipele0b2f152016-09-28 10:23:49 +0200103 if (frame->RenderTime() == -1)
104 frame->SetRenderTime(timing_->RenderTimeMs(frame->timestamp, now_ms));
105 wait_ms = timing_->MaxWaitingTime(frame->RenderTime(), now_ms);
106
107 // This will cause the frame buffer to prefer high framerate rather
108 // than high resolution in the case of the decoder not decoding fast
109 // enough and the stream has multiple spatial and temporal layers.
110 if (wait_ms == 0)
111 continue;
112
113 break;
114 }
115 } // rtc::Critscope lock(&crit_);
116
philipel1c056252017-01-31 09:53:12 -0800117 wait_ms = std::min<int64_t>(wait_ms, latest_return_time_ms - now_ms);
philipele0b2f152016-09-28 10:23:49 +0200118 wait_ms = std::max<int64_t>(wait_ms, 0);
119 } while (new_countinuous_frame_event_.Wait(wait_ms));
120
121 rtc::CritScope lock(&crit_);
philipel1c056252017-01-31 09:53:12 -0800122 int64_t now_ms = clock_->TimeInMilliseconds();
123 if (next_frame_it_ != frames_.end()) {
124 std::unique_ptr<FrameObject> frame =
125 std::move(next_frame_it_->second.frame);
philipele0b2f152016-09-28 10:23:49 +0200126
philipele0754302017-01-25 08:56:23 -0800127 if (!frame->delayed_by_retransmission()) {
128 int64_t frame_delay;
129
130 if (inter_frame_delay_.CalculateDelay(frame->timestamp, &frame_delay,
131 frame->ReceivedTime())) {
132 jitter_estimator_->UpdateEstimate(frame_delay, frame->size());
133 }
134
135 float rtt_mult = protection_mode_ == kProtectionNackFEC ? 0.0 : 1.0;
136 timing_->SetJitterDelay(jitter_estimator_->GetJitterEstimate(rtt_mult));
philipel1c056252017-01-31 09:53:12 -0800137 timing_->UpdateCurrentDelay(frame->RenderTime(), now_ms);
philipelbe7a9e52016-05-19 12:19:35 +0200138 }
philipele0b2f152016-09-28 10:23:49 +0200139
philipelbe742702016-11-30 01:31:40 -0800140 UpdateJitterDelay();
141
philipel1c056252017-01-31 09:53:12 -0800142 PropagateDecodability(next_frame_it_->second);
143 AdvanceLastDecodedFrame(next_frame_it_);
philipelfcc60062017-01-18 05:35:20 -0800144 last_decoded_frame_timestamp_ = frame->timestamp;
philipele0b2f152016-09-28 10:23:49 +0200145 *frame_out = std::move(frame);
146 return kFrameFound;
philipel1c056252017-01-31 09:53:12 -0800147 } else if (latest_return_time_ms - now_ms > 0) {
148 // If |next_frame_it_ == frames_.end()| and there is still time left, it
149 // means that the frame buffer was cleared as the thread in this function
150 // was waiting to acquire |crit_| in order to return. Wait for the
151 // remaining time and then return.
152 return NextFrame(latest_return_time_ms - now_ms, frame_out);
philipele0b2f152016-09-28 10:23:49 +0200153 } else {
154 return kTimeout;
philipelbe7a9e52016-05-19 12:19:35 +0200155 }
156}
157
philipel4f6cd6a2016-08-03 10:59:32 +0200158void FrameBuffer::SetProtectionMode(VCMVideoProtection mode) {
tommidb23ea62017-03-03 07:21:18 -0800159 TRACE_EVENT0("webrtc", "FrameBuffer::SetProtectionMode");
philipel4f6cd6a2016-08-03 10:59:32 +0200160 rtc::CritScope lock(&crit_);
161 protection_mode_ = mode;
162}
163
philipel504c47d2016-06-30 17:33:02 +0200164void FrameBuffer::Start() {
tommidb23ea62017-03-03 07:21:18 -0800165 TRACE_EVENT0("webrtc", "FrameBuffer::Start");
philipel504c47d2016-06-30 17:33:02 +0200166 rtc::CritScope lock(&crit_);
167 stopped_ = false;
168}
169
170void FrameBuffer::Stop() {
tommidb23ea62017-03-03 07:21:18 -0800171 TRACE_EVENT0("webrtc", "FrameBuffer::Stop");
philipel504c47d2016-06-30 17:33:02 +0200172 rtc::CritScope lock(&crit_);
173 stopped_ = true;
philipele0b2f152016-09-28 10:23:49 +0200174 new_countinuous_frame_event_.Set();
philipel504c47d2016-06-30 17:33:02 +0200175}
176
philipele0b2f152016-09-28 10:23:49 +0200177int FrameBuffer::InsertFrame(std::unique_ptr<FrameObject> frame) {
tommidb23ea62017-03-03 07:21:18 -0800178 TRACE_EVENT0("webrtc", "FrameBuffer::InsertFrame");
philipelbe7a9e52016-05-19 12:19:35 +0200179 rtc::CritScope lock(&crit_);
philipel93e451b2016-10-06 12:25:13 +0200180 RTC_DCHECK(frame);
181
philipela45102f2017-02-22 05:30:39 -0800182 if (stats_callback_)
183 stats_callback_->OnCompleteFrame(frame->num_references == 0, frame->size());
philipel266f0a42016-11-28 08:49:07 -0800184
philipelbe7a9e52016-05-19 12:19:35 +0200185 FrameKey key(frame->picture_id, frame->spatial_layer);
philipele0b2f152016-09-28 10:23:49 +0200186 int last_continuous_picture_id =
187 last_continuous_frame_it_ == frames_.end()
188 ? -1
189 : last_continuous_frame_it_->first.picture_id;
190
191 if (num_frames_buffered_ >= kMaxFramesBuffered) {
192 LOG(LS_WARNING) << "Frame with (picture_id:spatial_id) (" << key.picture_id
193 << ":" << static_cast<int>(key.spatial_layer)
194 << ") could not be inserted due to the frame "
195 << "buffer being full, dropping frame.";
196 return last_continuous_picture_id;
197 }
198
199 if (frame->inter_layer_predicted && frame->spatial_layer == 0) {
200 LOG(LS_WARNING) << "Frame with (picture_id:spatial_id) (" << key.picture_id
201 << ":" << static_cast<int>(key.spatial_layer)
202 << ") is marked as inter layer predicted, dropping frame.";
203 return last_continuous_picture_id;
204 }
205
206 if (last_decoded_frame_it_ != frames_.end() &&
207 key < last_decoded_frame_it_->first) {
philipelfcc60062017-01-18 05:35:20 -0800208 if (AheadOf(frame->timestamp, last_decoded_frame_timestamp_) &&
209 frame->num_references == 0) {
210 // If this frame has a newer timestamp but an earlier picture id then we
211 // assume there has been a jump in the picture id due to some encoder
212 // reconfiguration or some other reason. Even though this is not according
213 // to spec we can still continue to decode from this frame if it is a
214 // keyframe.
215 LOG(LS_WARNING) << "A jump in picture id was detected, clearing buffer.";
216 ClearFramesAndHistory();
217 last_continuous_picture_id = -1;
218 } else {
219 LOG(LS_WARNING) << "Frame with (picture_id:spatial_id) ("
220 << key.picture_id << ":"
221 << static_cast<int>(key.spatial_layer)
222 << ") inserted after frame ("
223 << last_decoded_frame_it_->first.picture_id << ":"
224 << static_cast<int>(
225 last_decoded_frame_it_->first.spatial_layer)
226 << ") was handed off for decoding, dropping frame.";
227 return last_continuous_picture_id;
228 }
philipele0b2f152016-09-28 10:23:49 +0200229 }
230
231 auto info = frames_.insert(std::make_pair(key, FrameInfo())).first;
232
philipel93e451b2016-10-06 12:25:13 +0200233 if (info->second.frame) {
234 LOG(LS_WARNING) << "Frame with (picture_id:spatial_id) (" << key.picture_id
235 << ":" << static_cast<int>(key.spatial_layer)
236 << ") already inserted, dropping frame.";
philipele0b2f152016-09-28 10:23:49 +0200237 return last_continuous_picture_id;
238 }
239
philipel93e451b2016-10-06 12:25:13 +0200240 if (!UpdateFrameInfoWithIncomingFrame(*frame, info))
241 return last_continuous_picture_id;
242
philipele0b2f152016-09-28 10:23:49 +0200243 info->second.frame = std::move(frame);
244 ++num_frames_buffered_;
245
246 if (info->second.num_missing_continuous == 0) {
247 info->second.continuous = true;
248 PropagateContinuity(info);
249 last_continuous_picture_id = last_continuous_frame_it_->first.picture_id;
250
251 // Since we now have new continuous frames there might be a better frame
252 // to return from NextFrame. Signal that thread so that it again can choose
253 // which frame to return.
254 new_countinuous_frame_event_.Set();
255 }
256
257 return last_continuous_picture_id;
philipelbe7a9e52016-05-19 12:19:35 +0200258}
259
philipele0b2f152016-09-28 10:23:49 +0200260void FrameBuffer::PropagateContinuity(FrameMap::iterator start) {
tommidb23ea62017-03-03 07:21:18 -0800261 TRACE_EVENT0("webrtc", "FrameBuffer::PropagateContinuity");
philipele0b2f152016-09-28 10:23:49 +0200262 RTC_DCHECK(start->second.continuous);
263 if (last_continuous_frame_it_ == frames_.end())
264 last_continuous_frame_it_ = start;
265
266 std::queue<FrameMap::iterator> continuous_frames;
267 continuous_frames.push(start);
268
269 // A simple BFS to traverse continuous frames.
270 while (!continuous_frames.empty()) {
271 auto frame = continuous_frames.front();
272 continuous_frames.pop();
273
274 if (last_continuous_frame_it_->first < frame->first)
275 last_continuous_frame_it_ = frame;
276
277 // Loop through all dependent frames, and if that frame no longer has
278 // any unfulfilled dependencies then that frame is continuous as well.
279 for (size_t d = 0; d < frame->second.num_dependent_frames; ++d) {
280 auto frame_ref = frames_.find(frame->second.dependent_frames[d]);
281 --frame_ref->second.num_missing_continuous;
282
283 if (frame_ref->second.num_missing_continuous == 0) {
284 frame_ref->second.continuous = true;
285 continuous_frames.push(frame_ref);
286 }
287 }
288 }
289}
290
291void FrameBuffer::PropagateDecodability(const FrameInfo& info) {
tommidb23ea62017-03-03 07:21:18 -0800292 TRACE_EVENT0("webrtc", "FrameBuffer::PropagateDecodability");
philipele0b2f152016-09-28 10:23:49 +0200293 for (size_t d = 0; d < info.num_dependent_frames; ++d) {
294 auto ref_info = frames_.find(info.dependent_frames[d]);
philipel93e451b2016-10-06 12:25:13 +0200295 RTC_DCHECK(ref_info != frames_.end());
philipele0b2f152016-09-28 10:23:49 +0200296 RTC_DCHECK_GT(ref_info->second.num_missing_decodable, 0U);
297 --ref_info->second.num_missing_decodable;
298 }
299}
300
301void FrameBuffer::AdvanceLastDecodedFrame(FrameMap::iterator decoded) {
tommidb23ea62017-03-03 07:21:18 -0800302 TRACE_EVENT0("webrtc", "FrameBuffer::AdvanceLastDecodedFrame");
philipele0b2f152016-09-28 10:23:49 +0200303 if (last_decoded_frame_it_ == frames_.end()) {
304 last_decoded_frame_it_ = frames_.begin();
305 } else {
306 RTC_DCHECK(last_decoded_frame_it_->first < decoded->first);
307 ++last_decoded_frame_it_;
308 }
309 --num_frames_buffered_;
310 ++num_frames_history_;
311
312 // First, delete non-decoded frames from the history.
313 while (last_decoded_frame_it_ != decoded) {
314 if (last_decoded_frame_it_->second.frame)
315 --num_frames_buffered_;
316 last_decoded_frame_it_ = frames_.erase(last_decoded_frame_it_);
philipelbe7a9e52016-05-19 12:19:35 +0200317 }
318
philipele0b2f152016-09-28 10:23:49 +0200319 // Then remove old history if we have too much history saved.
320 if (num_frames_history_ > kMaxFramesHistory) {
321 frames_.erase(frames_.begin());
322 --num_frames_history_;
323 }
324}
325
326bool FrameBuffer::UpdateFrameInfoWithIncomingFrame(const FrameObject& frame,
327 FrameMap::iterator info) {
tommidb23ea62017-03-03 07:21:18 -0800328 TRACE_EVENT0("webrtc", "FrameBuffer::UpdateFrameInfoWithIncomingFrame");
philipele0b2f152016-09-28 10:23:49 +0200329 FrameKey key(frame.picture_id, frame.spatial_layer);
330 info->second.num_missing_continuous = frame.num_references;
331 info->second.num_missing_decodable = frame.num_references;
332
333 RTC_DCHECK(last_decoded_frame_it_ == frames_.end() ||
334 last_decoded_frame_it_->first < info->first);
335
336 // Check how many dependencies that have already been fulfilled.
337 for (size_t i = 0; i < frame.num_references; ++i) {
338 FrameKey ref_key(frame.references[i], frame.spatial_layer);
339 auto ref_info = frames_.find(ref_key);
340
341 // Does |frame| depend on a frame earlier than the last decoded frame?
342 if (last_decoded_frame_it_ != frames_.end() &&
343 ref_key <= last_decoded_frame_it_->first) {
344 if (ref_info == frames_.end()) {
345 LOG(LS_WARNING) << "Frame with (picture_id:spatial_id) ("
346 << key.picture_id << ":"
347 << static_cast<int>(key.spatial_layer)
348 << " depends on a non-decoded frame more previous than "
349 << "the last decoded frame, dropping frame.";
350 return false;
351 }
352
353 --info->second.num_missing_continuous;
354 --info->second.num_missing_decodable;
355 } else {
356 if (ref_info == frames_.end())
357 ref_info = frames_.insert(std::make_pair(ref_key, FrameInfo())).first;
358
359 if (ref_info->second.continuous)
360 --info->second.num_missing_continuous;
361
362 // Add backwards reference so |frame| can be updated when new
363 // frames are inserted or decoded.
364 ref_info->second.dependent_frames[ref_info->second.num_dependent_frames] =
365 key;
366 ++ref_info->second.num_dependent_frames;
367 }
philipel93e451b2016-10-06 12:25:13 +0200368 RTC_DCHECK_LE(ref_info->second.num_missing_continuous,
369 ref_info->second.num_missing_decodable);
philipelbe7a9e52016-05-19 12:19:35 +0200370 }
371
philipele0b2f152016-09-28 10:23:49 +0200372 // Check if we have the lower spatial layer frame.
philipelbe7a9e52016-05-19 12:19:35 +0200373 if (frame.inter_layer_predicted) {
philipele0b2f152016-09-28 10:23:49 +0200374 ++info->second.num_missing_continuous;
375 ++info->second.num_missing_decodable;
376
philipelbe7a9e52016-05-19 12:19:35 +0200377 FrameKey ref_key(frame.picture_id, frame.spatial_layer - 1);
philipele0b2f152016-09-28 10:23:49 +0200378 // Gets or create the FrameInfo for the referenced frame.
379 auto ref_info = frames_.insert(std::make_pair(ref_key, FrameInfo())).first;
380 if (ref_info->second.continuous)
381 --info->second.num_missing_continuous;
382
383 if (ref_info == last_decoded_frame_it_) {
384 --info->second.num_missing_decodable;
385 } else {
386 ref_info->second.dependent_frames[ref_info->second.num_dependent_frames] =
387 key;
388 ++ref_info->second.num_dependent_frames;
389 }
philipel93e451b2016-10-06 12:25:13 +0200390 RTC_DCHECK_LE(ref_info->second.num_missing_continuous,
391 ref_info->second.num_missing_decodable);
philipelbe7a9e52016-05-19 12:19:35 +0200392 }
393
philipel93e451b2016-10-06 12:25:13 +0200394 RTC_DCHECK_LE(info->second.num_missing_continuous,
395 info->second.num_missing_decodable);
396
philipelbe7a9e52016-05-19 12:19:35 +0200397 return true;
398}
399
philipelbe742702016-11-30 01:31:40 -0800400void FrameBuffer::UpdateJitterDelay() {
tommidb23ea62017-03-03 07:21:18 -0800401 TRACE_EVENT0("webrtc", "FrameBuffer::UpdateJitterDelay");
philipela45102f2017-02-22 05:30:39 -0800402 if (!stats_callback_)
403 return;
philipelbe742702016-11-30 01:31:40 -0800404
philipela45102f2017-02-22 05:30:39 -0800405 int decode_ms;
406 int max_decode_ms;
407 int current_delay_ms;
408 int target_delay_ms;
409 int jitter_buffer_ms;
410 int min_playout_delay_ms;
411 int render_delay_ms;
412 if (timing_->GetTimings(&decode_ms, &max_decode_ms, &current_delay_ms,
413 &target_delay_ms, &jitter_buffer_ms,
414 &min_playout_delay_ms, &render_delay_ms)) {
415 stats_callback_->OnFrameBufferTimingsUpdated(
416 decode_ms, max_decode_ms, current_delay_ms, target_delay_ms,
417 jitter_buffer_ms, min_playout_delay_ms, render_delay_ms);
philipelbe742702016-11-30 01:31:40 -0800418 }
philipel266f0a42016-11-28 08:49:07 -0800419}
420
philipelfcc60062017-01-18 05:35:20 -0800421void FrameBuffer::ClearFramesAndHistory() {
tommidb23ea62017-03-03 07:21:18 -0800422 TRACE_EVENT0("webrtc", "FrameBuffer::UpdateJitterDelay");
philipelfcc60062017-01-18 05:35:20 -0800423 frames_.clear();
424 last_decoded_frame_it_ = frames_.end();
425 last_continuous_frame_it_ = frames_.end();
philipel1c056252017-01-31 09:53:12 -0800426 next_frame_it_ = frames_.end();
philipelfcc60062017-01-18 05:35:20 -0800427 num_frames_history_ = 0;
428 num_frames_buffered_ = 0;
429}
430
philipelbe7a9e52016-05-19 12:19:35 +0200431} // namespace video_coding
432} // namespace webrtc