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

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

Issue 2911193002: Implement timing frames. (Closed)
Patch Set: Implement Holmer@ comments Created 3 years, 6 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 24 matching lines...) Expand all
35 if (extension == RtpExtension::kAbsSendTimeUri) 35 if (extension == RtpExtension::kAbsSendTimeUri)
36 return kRtpExtensionAbsoluteSendTime; 36 return kRtpExtensionAbsoluteSendTime;
37 if (extension == RtpExtension::kVideoRotationUri) 37 if (extension == RtpExtension::kVideoRotationUri)
38 return kRtpExtensionVideoRotation; 38 return kRtpExtensionVideoRotation;
39 if (extension == RtpExtension::kTransportSequenceNumberUri) 39 if (extension == RtpExtension::kTransportSequenceNumberUri)
40 return kRtpExtensionTransportSequenceNumber; 40 return kRtpExtensionTransportSequenceNumber;
41 if (extension == RtpExtension::kPlayoutDelayUri) 41 if (extension == RtpExtension::kPlayoutDelayUri)
42 return kRtpExtensionPlayoutDelay; 42 return kRtpExtensionPlayoutDelay;
43 if (extension == RtpExtension::kVideoContentTypeUri) 43 if (extension == RtpExtension::kVideoContentTypeUri)
44 return kRtpExtensionVideoContentType; 44 return kRtpExtensionVideoContentType;
45 if (extension == RtpExtension::kVideoTimingUri)
46 return kRtpExtensionVideoTiming;
45 RTC_NOTREACHED() << "Looking up unsupported RTP extension."; 47 RTC_NOTREACHED() << "Looking up unsupported RTP extension.";
46 return kRtpExtensionNone; 48 return kRtpExtensionNone;
47 } 49 }
48 50
49 RtpRtcp::Configuration::Configuration() 51 RtpRtcp::Configuration::Configuration()
50 : receive_statistics(NullObjectReceiveStatistics()) {} 52 : receive_statistics(NullObjectReceiveStatistics()) {}
51 53
52 RtpRtcp* RtpRtcp::CreateRtpRtcp(const RtpRtcp::Configuration& configuration) { 54 RtpRtcp* RtpRtcp::CreateRtpRtcp(const RtpRtcp::Configuration& configuration) {
53 if (configuration.clock) { 55 if (configuration.clock) {
54 return new ModuleRtpRtcpImpl(configuration); 56 return new ModuleRtpRtcpImpl(configuration);
(...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after
884 StreamDataCountersCallback* 886 StreamDataCountersCallback*
885 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const { 887 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const {
886 return rtp_sender_->GetRtpStatisticsCallback(); 888 return rtp_sender_->GetRtpStatisticsCallback();
887 } 889 }
888 890
889 void ModuleRtpRtcpImpl::SetVideoBitrateAllocation( 891 void ModuleRtpRtcpImpl::SetVideoBitrateAllocation(
890 const BitrateAllocation& bitrate) { 892 const BitrateAllocation& bitrate) {
891 rtcp_sender_.SetVideoBitrateAllocation(bitrate); 893 rtcp_sender_.SetVideoBitrateAllocation(bitrate);
892 } 894 }
893 } // namespace webrtc 895 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_receiver_video.cc ('k') | webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698