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

Side by Side Diff: webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc

Issue 2954503002: Implement FrameMarking header extension support
Patch Set: fix fuzzer Created 3 years, 3 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 if (extension == RtpExtension::kVideoRotationUri) 43 if (extension == RtpExtension::kVideoRotationUri)
44 return kRtpExtensionVideoRotation; 44 return kRtpExtensionVideoRotation;
45 if (extension == RtpExtension::kTransportSequenceNumberUri) 45 if (extension == RtpExtension::kTransportSequenceNumberUri)
46 return kRtpExtensionTransportSequenceNumber; 46 return kRtpExtensionTransportSequenceNumber;
47 if (extension == RtpExtension::kPlayoutDelayUri) 47 if (extension == RtpExtension::kPlayoutDelayUri)
48 return kRtpExtensionPlayoutDelay; 48 return kRtpExtensionPlayoutDelay;
49 if (extension == RtpExtension::kVideoContentTypeUri) 49 if (extension == RtpExtension::kVideoContentTypeUri)
50 return kRtpExtensionVideoContentType; 50 return kRtpExtensionVideoContentType;
51 if (extension == RtpExtension::kVideoTimingUri) 51 if (extension == RtpExtension::kVideoTimingUri)
52 return kRtpExtensionVideoTiming; 52 return kRtpExtensionVideoTiming;
53 if (extension == RtpExtension::kFrameMarkingUri)
54 return kRtpExtensionFrameMarking;
53 RTC_NOTREACHED() << "Looking up unsupported RTP extension."; 55 RTC_NOTREACHED() << "Looking up unsupported RTP extension.";
54 return kRtpExtensionNone; 56 return kRtpExtensionNone;
55 } 57 }
56 58
57 RtpRtcp::Configuration::Configuration() = default; 59 RtpRtcp::Configuration::Configuration() = default;
58 60
59 RtpRtcp* RtpRtcp::CreateRtpRtcp(const RtpRtcp::Configuration& configuration) { 61 RtpRtcp* RtpRtcp::CreateRtpRtcp(const RtpRtcp::Configuration& configuration) {
60 if (configuration.clock) { 62 if (configuration.clock) {
61 return new ModuleRtpRtcpImpl(configuration); 63 return new ModuleRtpRtcpImpl(configuration);
62 } else { 64 } else {
(...skipping 848 matching lines...) Expand 10 before | Expand all | Expand 10 after
911 StreamDataCountersCallback* 913 StreamDataCountersCallback*
912 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const { 914 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const {
913 return rtp_sender_->GetRtpStatisticsCallback(); 915 return rtp_sender_->GetRtpStatisticsCallback();
914 } 916 }
915 917
916 void ModuleRtpRtcpImpl::SetVideoBitrateAllocation( 918 void ModuleRtpRtcpImpl::SetVideoBitrateAllocation(
917 const BitrateAllocation& bitrate) { 919 const BitrateAllocation& bitrate) {
918 rtcp_sender_.SetVideoBitrateAllocation(bitrate); 920 rtcp_sender_.SetVideoBitrateAllocation(bitrate);
919 } 921 }
920 } // namespace webrtc 922 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_packet_unittest.cc ('k') | webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698