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

Side by Side Diff: talk/session/media/channelmanager.cc

Issue 1537213002: Revert of Reland "Added option to specify a maximum file size when recording an AEC dump." (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years 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
OLDNEW
1 /* 1 /*
2 * libjingle 2 * libjingle
3 * Copyright 2004 Google Inc. 3 * Copyright 2004 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 case MSG_VIDEOCAPTURESTATE: { 543 case MSG_VIDEOCAPTURESTATE: {
544 CaptureStateParams* data = 544 CaptureStateParams* data =
545 static_cast<CaptureStateParams*>(message->pdata); 545 static_cast<CaptureStateParams*>(message->pdata);
546 SignalVideoCaptureStateChange(data->capturer, data->state); 546 SignalVideoCaptureStateChange(data->capturer, data->state);
547 delete data; 547 delete data;
548 break; 548 break;
549 } 549 }
550 } 550 }
551 } 551 }
552 552
553 bool ChannelManager::StartAecDump(rtc::PlatformFile file, 553 bool ChannelManager::StartAecDump(rtc::PlatformFile file) {
554 int64_t max_size_bytes) { 554 return worker_thread_->Invoke<bool>(
555 return worker_thread_->Invoke<bool>(Bind(&MediaEngineInterface::StartAecDump, 555 Bind(&MediaEngineInterface::StartAecDump, media_engine_.get(), file));
556 media_engine_.get(), file,
557 max_size_bytes));
558 } 556 }
559 557
560 void ChannelManager::StopAecDump() { 558 void ChannelManager::StopAecDump() {
561 worker_thread_->Invoke<void>( 559 worker_thread_->Invoke<void>(
562 Bind(&MediaEngineInterface::StopAecDump, media_engine_.get())); 560 Bind(&MediaEngineInterface::StopAecDump, media_engine_.get()));
563 } 561 }
564 562
565 bool ChannelManager::StartRtcEventLog(rtc::PlatformFile file) { 563 bool ChannelManager::StartRtcEventLog(rtc::PlatformFile file) {
566 return worker_thread_->Invoke<bool>( 564 return worker_thread_->Invoke<bool>(
567 Bind(&MediaEngineInterface::StartRtcEventLog, media_engine_.get(), file)); 565 Bind(&MediaEngineInterface::StartRtcEventLog, media_engine_.get(), file));
568 } 566 }
569 567
570 void ChannelManager::StopRtcEventLog() { 568 void ChannelManager::StopRtcEventLog() {
571 worker_thread_->Invoke<void>( 569 worker_thread_->Invoke<void>(
572 Bind(&MediaEngineInterface::StopRtcEventLog, media_engine_.get())); 570 Bind(&MediaEngineInterface::StopRtcEventLog, media_engine_.get()));
573 } 571 }
574 572
575 } // namespace cricket 573 } // namespace cricket
OLDNEW
« no previous file with comments | « talk/session/media/channelmanager.h ('k') | webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698