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

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

Issue 1378513003: Change 'mute' parameter of MediaChannel::SetAudioSend()/SetVideoSend() to 'enable'. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 5 years, 2 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 | « talk/session/media/channel_unittest.cc ('k') | no next file » | 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 * 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
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
629 static void GetDeviceNames(const std::vector<Device>& devs,
630 std::vector<std::string>* names) {
631 names->clear();
632 for (size_t i = 0; i < devs.size(); ++i) {
633 names->push_back(devs[i].name);
634 }
635 }
636
637 bool ChannelManager::StartAecDump(rtc::PlatformFile file) { 628 bool ChannelManager::StartAecDump(rtc::PlatformFile file) {
638 return worker_thread_->Invoke<bool>( 629 return worker_thread_->Invoke<bool>(
639 Bind(&MediaEngineInterface::StartAecDump, media_engine_.get(), file)); 630 Bind(&MediaEngineInterface::StartAecDump, media_engine_.get(), file));
640 } 631 }
641 632
642 } // namespace cricket 633 } // namespace cricket
OLDNEW
« no previous file with comments | « talk/session/media/channel_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698