OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2004 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 int64_t max_size_bytes) { | 228 int64_t max_size_bytes) { |
229 RTC_DCHECK(signaling_thread_->IsCurrent()); | 229 RTC_DCHECK(signaling_thread_->IsCurrent()); |
230 return channel_manager_->StartAecDump(file, max_size_bytes); | 230 return channel_manager_->StartAecDump(file, max_size_bytes); |
231 } | 231 } |
232 | 232 |
233 void PeerConnectionFactory::StopAecDump() { | 233 void PeerConnectionFactory::StopAecDump() { |
234 RTC_DCHECK(signaling_thread_->IsCurrent()); | 234 RTC_DCHECK(signaling_thread_->IsCurrent()); |
235 channel_manager_->StopAecDump(); | 235 channel_manager_->StopAecDump(); |
236 } | 236 } |
237 | 237 |
238 bool PeerConnectionFactory::StartRtcEventLog(rtc::PlatformFile file) { | 238 bool PeerConnectionFactory::StartRtcEventLog(rtc::PlatformFile file, |
| 239 int64_t max_size_bytes) { |
239 RTC_DCHECK(signaling_thread_->IsCurrent()); | 240 RTC_DCHECK(signaling_thread_->IsCurrent()); |
240 return channel_manager_->StartRtcEventLog(file); | 241 return channel_manager_->StartRtcEventLog(file, max_size_bytes); |
241 } | 242 } |
242 | 243 |
243 void PeerConnectionFactory::StopRtcEventLog() { | 244 void PeerConnectionFactory::StopRtcEventLog() { |
244 RTC_DCHECK(signaling_thread_->IsCurrent()); | 245 RTC_DCHECK(signaling_thread_->IsCurrent()); |
245 channel_manager_->StopRtcEventLog(); | 246 channel_manager_->StopRtcEventLog(); |
246 } | 247 } |
247 | 248 |
248 rtc::scoped_refptr<PeerConnectionInterface> | 249 rtc::scoped_refptr<PeerConnectionInterface> |
249 PeerConnectionFactory::CreatePeerConnection( | 250 PeerConnectionFactory::CreatePeerConnection( |
250 const PeerConnectionInterface::RTCConfiguration& configuration_in, | 251 const PeerConnectionInterface::RTCConfiguration& configuration_in, |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 } | 338 } |
338 | 339 |
339 cricket::MediaEngineInterface* PeerConnectionFactory::CreateMediaEngine_w() { | 340 cricket::MediaEngineInterface* PeerConnectionFactory::CreateMediaEngine_w() { |
340 ASSERT(worker_thread_ == rtc::Thread::Current()); | 341 ASSERT(worker_thread_ == rtc::Thread::Current()); |
341 return cricket::WebRtcMediaEngineFactory::Create( | 342 return cricket::WebRtcMediaEngineFactory::Create( |
342 default_adm_.get(), video_encoder_factory_.get(), | 343 default_adm_.get(), video_encoder_factory_.get(), |
343 video_decoder_factory_.get()); | 344 video_decoder_factory_.get()); |
344 } | 345 } |
345 | 346 |
346 } // namespace webrtc | 347 } // namespace webrtc |
OLD | NEW |