OLD | NEW |
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 Loading... |
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::kFrameMarkingUri) |
| 46 return kRtpExtensionFrameMarking; |
45 if (extension == RtpExtension::kVideoTimingUri) | 47 if (extension == RtpExtension::kVideoTimingUri) |
46 return kRtpExtensionVideoTiming; | 48 return kRtpExtensionVideoTiming; |
47 RTC_NOTREACHED() << "Looking up unsupported RTP extension."; | 49 RTC_NOTREACHED() << "Looking up unsupported RTP extension."; |
48 return kRtpExtensionNone; | 50 return kRtpExtensionNone; |
49 } | 51 } |
50 | 52 |
51 RtpRtcp::Configuration::Configuration() | 53 RtpRtcp::Configuration::Configuration() |
52 : receive_statistics(NullObjectReceiveStatistics()) {} | 54 : receive_statistics(NullObjectReceiveStatistics()) {} |
53 | 55 |
54 RtpRtcp* RtpRtcp::CreateRtpRtcp(const RtpRtcp::Configuration& configuration) { | 56 RtpRtcp* RtpRtcp::CreateRtpRtcp(const RtpRtcp::Configuration& configuration) { |
(...skipping 831 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
886 StreamDataCountersCallback* | 888 StreamDataCountersCallback* |
887 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const { | 889 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const { |
888 return rtp_sender_->GetRtpStatisticsCallback(); | 890 return rtp_sender_->GetRtpStatisticsCallback(); |
889 } | 891 } |
890 | 892 |
891 void ModuleRtpRtcpImpl::SetVideoBitrateAllocation( | 893 void ModuleRtpRtcpImpl::SetVideoBitrateAllocation( |
892 const BitrateAllocation& bitrate) { | 894 const BitrateAllocation& bitrate) { |
893 rtcp_sender_.SetVideoBitrateAllocation(bitrate); | 895 rtcp_sender_.SetVideoBitrateAllocation(bitrate); |
894 } | 896 } |
895 } // namespace webrtc | 897 } // namespace webrtc |
OLD | NEW |