Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Side by Side Diff: webrtc/api/peerconnectionfactory.cc

Issue 1974453002: Add a parameter to set a maximum filesize when starting an RTC event log on the PeerConnectionFacto… (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fixed typo in JNI code. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/api/peerconnectionfactory.h ('k') | webrtc/api/peerconnectionfactoryproxy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « webrtc/api/peerconnectionfactory.h ('k') | webrtc/api/peerconnectionfactoryproxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698