| 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 23 matching lines...) Expand all Loading... |
| 34 if (extension == RtpExtension::kAudioLevelUri) | 34 if (extension == RtpExtension::kAudioLevelUri) |
| 35 return kRtpExtensionAudioLevel; | 35 return kRtpExtensionAudioLevel; |
| 36 if (extension == RtpExtension::kAbsSendTimeUri) | 36 if (extension == RtpExtension::kAbsSendTimeUri) |
| 37 return kRtpExtensionAbsoluteSendTime; | 37 return kRtpExtensionAbsoluteSendTime; |
| 38 if (extension == RtpExtension::kVideoRotationUri) | 38 if (extension == RtpExtension::kVideoRotationUri) |
| 39 return kRtpExtensionVideoRotation; | 39 return kRtpExtensionVideoRotation; |
| 40 if (extension == RtpExtension::kTransportSequenceNumberUri) | 40 if (extension == RtpExtension::kTransportSequenceNumberUri) |
| 41 return kRtpExtensionTransportSequenceNumber; | 41 return kRtpExtensionTransportSequenceNumber; |
| 42 if (extension == RtpExtension::kPlayoutDelayUri) | 42 if (extension == RtpExtension::kPlayoutDelayUri) |
| 43 return kRtpExtensionPlayoutDelay; | 43 return kRtpExtensionPlayoutDelay; |
| 44 if (extension == RtpExtension::kVideoContentTypeUri) |
| 45 return kRtpExtensionVideoContentType; |
| 44 RTC_NOTREACHED() << "Looking up unsupported RTP extension."; | 46 RTC_NOTREACHED() << "Looking up unsupported RTP extension."; |
| 45 return kRtpExtensionNone; | 47 return kRtpExtensionNone; |
| 46 } | 48 } |
| 47 | 49 |
| 48 RtpRtcp::Configuration::Configuration() | 50 RtpRtcp::Configuration::Configuration() |
| 49 : receive_statistics(NullObjectReceiveStatistics()) {} | 51 : receive_statistics(NullObjectReceiveStatistics()) {} |
| 50 | 52 |
| 51 RtpRtcp* RtpRtcp::CreateRtpRtcp(const RtpRtcp::Configuration& configuration) { | 53 RtpRtcp* RtpRtcp::CreateRtpRtcp(const RtpRtcp::Configuration& configuration) { |
| 52 if (configuration.clock) { | 54 if (configuration.clock) { |
| 53 return new ModuleRtpRtcpImpl(configuration); | 55 return new ModuleRtpRtcpImpl(configuration); |
| (...skipping 811 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 865 StreamDataCountersCallback* | 867 StreamDataCountersCallback* |
| 866 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const { | 868 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const { |
| 867 return rtp_sender_.GetRtpStatisticsCallback(); | 869 return rtp_sender_.GetRtpStatisticsCallback(); |
| 868 } | 870 } |
| 869 | 871 |
| 870 void ModuleRtpRtcpImpl::SetVideoBitrateAllocation( | 872 void ModuleRtpRtcpImpl::SetVideoBitrateAllocation( |
| 871 const BitrateAllocation& bitrate) { | 873 const BitrateAllocation& bitrate) { |
| 872 rtcp_sender_.SetVideoBitrateAllocation(bitrate); | 874 rtcp_sender_.SetVideoBitrateAllocation(bitrate); |
| 873 } | 875 } |
| 874 } // namespace webrtc | 876 } // namespace webrtc |
| OLD | NEW |