| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2004 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2004 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 945 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 956 webrtc::RtpExtension::kAudioLevelDefaultId)); | 956 webrtc::RtpExtension::kAudioLevelDefaultId)); |
| 957 capabilities.header_extensions.push_back( | 957 capabilities.header_extensions.push_back( |
| 958 webrtc::RtpExtension(webrtc::RtpExtension::kAbsSendTimeUri, | 958 webrtc::RtpExtension(webrtc::RtpExtension::kAbsSendTimeUri, |
| 959 webrtc::RtpExtension::kAbsSendTimeDefaultId)); | 959 webrtc::RtpExtension::kAbsSendTimeDefaultId)); |
| 960 if (webrtc::field_trial::FindFullName("WebRTC-Audio-SendSideBwe") == | 960 if (webrtc::field_trial::FindFullName("WebRTC-Audio-SendSideBwe") == |
| 961 "Enabled") { | 961 "Enabled") { |
| 962 capabilities.header_extensions.push_back(webrtc::RtpExtension( | 962 capabilities.header_extensions.push_back(webrtc::RtpExtension( |
| 963 webrtc::RtpExtension::kTransportSequenceNumberUri, | 963 webrtc::RtpExtension::kTransportSequenceNumberUri, |
| 964 webrtc::RtpExtension::kTransportSequenceNumberDefaultId)); | 964 webrtc::RtpExtension::kTransportSequenceNumberDefaultId)); |
| 965 } | 965 } |
| 966 capabilities.header_extensions.push_back( |
| 967 webrtc::RtpExtension(webrtc::RtpExtension::kPlayoutDelayUri, |
| 968 webrtc::RtpExtension::kPlayoutDelayId)); |
| 966 return capabilities; | 969 return capabilities; |
| 967 } | 970 } |
| 968 | 971 |
| 969 int WebRtcVoiceEngine::GetLastEngineError() { | 972 int WebRtcVoiceEngine::GetLastEngineError() { |
| 970 RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); | 973 RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); |
| 971 return voe_wrapper_->error(); | 974 return voe_wrapper_->error(); |
| 972 } | 975 } |
| 973 | 976 |
| 974 void WebRtcVoiceEngine::Print(webrtc::TraceLevel level, const char* trace, | 977 void WebRtcVoiceEngine::Print(webrtc::TraceLevel level, const char* trace, |
| 975 int length) { | 978 int length) { |
| (...skipping 1652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2628 } | 2631 } |
| 2629 } else { | 2632 } else { |
| 2630 LOG(LS_INFO) << "Stopping playout for channel #" << channel; | 2633 LOG(LS_INFO) << "Stopping playout for channel #" << channel; |
| 2631 engine()->voe()->base()->StopPlayout(channel); | 2634 engine()->voe()->base()->StopPlayout(channel); |
| 2632 } | 2635 } |
| 2633 return true; | 2636 return true; |
| 2634 } | 2637 } |
| 2635 } // namespace cricket | 2638 } // namespace cricket |
| 2636 | 2639 |
| 2637 #endif // HAVE_WEBRTC_VOICE | 2640 #endif // HAVE_WEBRTC_VOICE |
| OLD | NEW |