OLD | NEW |
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 607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
618 case MSG_VIDEOCAPTURESTATE: { | 618 case MSG_VIDEOCAPTURESTATE: { |
619 CaptureStateParams* data = | 619 CaptureStateParams* data = |
620 static_cast<CaptureStateParams*>(message->pdata); | 620 static_cast<CaptureStateParams*>(message->pdata); |
621 SignalVideoCaptureStateChange(data->capturer, data->state); | 621 SignalVideoCaptureStateChange(data->capturer, data->state); |
622 delete data; | 622 delete data; |
623 break; | 623 break; |
624 } | 624 } |
625 } | 625 } |
626 } | 626 } |
627 | 627 |
628 bool ChannelManager::StartAecDump(rtc::PlatformFile file) { | 628 bool ChannelManager::StartAecDump(rtc::PlatformFile file, |
629 return worker_thread_->Invoke<bool>( | 629 int64_t max_size_bytes) { |
630 Bind(&MediaEngineInterface::StartAecDump, media_engine_.get(), file)); | 630 return worker_thread_->Invoke<bool>(Bind(&MediaEngineInterface::StartAecDump, |
| 631 media_engine_.get(), file, |
| 632 max_size_bytes)); |
631 } | 633 } |
632 | 634 |
633 bool ChannelManager::StartRtcEventLog(rtc::PlatformFile file) { | 635 bool ChannelManager::StartRtcEventLog(rtc::PlatformFile file) { |
634 return worker_thread_->Invoke<bool>( | 636 return worker_thread_->Invoke<bool>( |
635 Bind(&MediaEngineInterface::StartRtcEventLog, media_engine_.get(), file)); | 637 Bind(&MediaEngineInterface::StartRtcEventLog, media_engine_.get(), file)); |
636 } | 638 } |
637 | 639 |
638 void ChannelManager::StopRtcEventLog() { | 640 void ChannelManager::StopRtcEventLog() { |
639 worker_thread_->Invoke<void>( | 641 worker_thread_->Invoke<void>( |
640 Bind(&MediaEngineInterface::StopRtcEventLog, media_engine_.get())); | 642 Bind(&MediaEngineInterface::StopRtcEventLog, media_engine_.get())); |
641 } | 643 } |
642 | 644 |
643 } // namespace cricket | 645 } // namespace cricket |
OLD | NEW |