Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: webrtc/media/engine/webrtcvideoengine.cc

Issue 2994893002: Add video timing frames to set of default RTP header extensions (Closed)
Patch Set: Rebase Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 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 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 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 webrtc::RtpExtension::kVideoRotationDefaultId)); 419 webrtc::RtpExtension::kVideoRotationDefaultId));
420 capabilities.header_extensions.push_back(webrtc::RtpExtension( 420 capabilities.header_extensions.push_back(webrtc::RtpExtension(
421 webrtc::RtpExtension::kTransportSequenceNumberUri, 421 webrtc::RtpExtension::kTransportSequenceNumberUri,
422 webrtc::RtpExtension::kTransportSequenceNumberDefaultId)); 422 webrtc::RtpExtension::kTransportSequenceNumberDefaultId));
423 capabilities.header_extensions.push_back( 423 capabilities.header_extensions.push_back(
424 webrtc::RtpExtension(webrtc::RtpExtension::kPlayoutDelayUri, 424 webrtc::RtpExtension(webrtc::RtpExtension::kPlayoutDelayUri,
425 webrtc::RtpExtension::kPlayoutDelayDefaultId)); 425 webrtc::RtpExtension::kPlayoutDelayDefaultId));
426 capabilities.header_extensions.push_back( 426 capabilities.header_extensions.push_back(
427 webrtc::RtpExtension(webrtc::RtpExtension::kVideoContentTypeUri, 427 webrtc::RtpExtension(webrtc::RtpExtension::kVideoContentTypeUri,
428 webrtc::RtpExtension::kVideoContentTypeDefaultId)); 428 webrtc::RtpExtension::kVideoContentTypeDefaultId));
429 // TODO(ilnik): Add kVideoTimingUri/kVideoTimingDefaultId to capabilities. 429 capabilities.header_extensions.push_back(
430 // Possibly inside field trial. 430 webrtc::RtpExtension(webrtc::RtpExtension::kVideoTimingUri,
431 webrtc::RtpExtension::kVideoTimingDefaultId));
431 return capabilities; 432 return capabilities;
432 } 433 }
433 434
434 void WebRtcVideoEngine::SetExternalDecoderFactory( 435 void WebRtcVideoEngine::SetExternalDecoderFactory(
435 WebRtcVideoDecoderFactory* decoder_factory) { 436 WebRtcVideoDecoderFactory* decoder_factory) {
436 RTC_DCHECK(!initialized_); 437 RTC_DCHECK(!initialized_);
437 external_decoder_factory_ = decoder_factory; 438 external_decoder_factory_ = decoder_factory;
438 } 439 }
439 440
440 void WebRtcVideoEngine::SetExternalEncoderFactory( 441 void WebRtcVideoEngine::SetExternalEncoderFactory(
(...skipping 2209 matching lines...) Expand 10 before | Expand all | Expand 10 after
2650 stream.temporal_layer_thresholds_bps.resize(GetDefaultVp9TemporalLayers() - 2651 stream.temporal_layer_thresholds_bps.resize(GetDefaultVp9TemporalLayers() -
2651 1); 2652 1);
2652 } 2653 }
2653 2654
2654 std::vector<webrtc::VideoStream> streams; 2655 std::vector<webrtc::VideoStream> streams;
2655 streams.push_back(stream); 2656 streams.push_back(stream);
2656 return streams; 2657 return streams;
2657 } 2658 }
2658 2659
2659 } // namespace cricket 2660 } // namespace cricket
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698