| OLD | NEW |
| 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 #include "webrtc/config.h" | 10 #include "webrtc/config.h" |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 return ss.str(); | 29 return ss.str(); |
| 30 } | 30 } |
| 31 | 31 |
| 32 const char* RtpExtension::kTOffset = "urn:ietf:params:rtp-hdrext:toffset"; | 32 const char* RtpExtension::kTOffset = "urn:ietf:params:rtp-hdrext:toffset"; |
| 33 const char* RtpExtension::kAbsSendTime = | 33 const char* RtpExtension::kAbsSendTime = |
| 34 "http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time"; | 34 "http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time"; |
| 35 const char* RtpExtension::kVideoRotation = "urn:3gpp:video-orientation"; | 35 const char* RtpExtension::kVideoRotation = "urn:3gpp:video-orientation"; |
| 36 const char* RtpExtension::kAudioLevel = | 36 const char* RtpExtension::kAudioLevel = |
| 37 "urn:ietf:params:rtp-hdrext:ssrc-audio-level"; | 37 "urn:ietf:params:rtp-hdrext:ssrc-audio-level"; |
| 38 const char* RtpExtension::kTransportSequenceNumber = | 38 const char* RtpExtension::kTransportSequenceNumber = |
| 39 "http://www.webrtc.org/experiments/rtp-hdrext/transport-sequence-number"; | 39 "http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions"; |
| 40 | 40 |
| 41 bool RtpExtension::IsSupportedForAudio(const std::string& name) { | 41 bool RtpExtension::IsSupportedForAudio(const std::string& name) { |
| 42 return name == webrtc::RtpExtension::kAbsSendTime || | 42 return name == webrtc::RtpExtension::kAbsSendTime || |
| 43 name == webrtc::RtpExtension::kAudioLevel || | 43 name == webrtc::RtpExtension::kAudioLevel || |
| 44 name == webrtc::RtpExtension::kTransportSequenceNumber; | 44 name == webrtc::RtpExtension::kTransportSequenceNumber; |
| 45 } | 45 } |
| 46 | 46 |
| 47 bool RtpExtension::IsSupportedForVideo(const std::string& name) { | 47 bool RtpExtension::IsSupportedForVideo(const std::string& name) { |
| 48 return name == webrtc::RtpExtension::kTOffset || | 48 return name == webrtc::RtpExtension::kTOffset || |
| 49 name == webrtc::RtpExtension::kAbsSendTime || | 49 name == webrtc::RtpExtension::kAbsSendTime || |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 } | 113 } |
| 114 ss << ", encoder_specific_settings: "; | 114 ss << ", encoder_specific_settings: "; |
| 115 ss << (encoder_specific_settings != NULL ? "(ptr)" : "NULL"); | 115 ss << (encoder_specific_settings != NULL ? "(ptr)" : "NULL"); |
| 116 | 116 |
| 117 ss << ", min_transmit_bitrate_bps: " << min_transmit_bitrate_bps; | 117 ss << ", min_transmit_bitrate_bps: " << min_transmit_bitrate_bps; |
| 118 ss << '}'; | 118 ss << '}'; |
| 119 return ss.str(); | 119 return ss.str(); |
| 120 } | 120 } |
| 121 | 121 |
| 122 } // namespace webrtc | 122 } // namespace webrtc |
| OLD | NEW |