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

Side by Side Diff: talk/app/webrtc/peerconnectioninterface.h

Issue 1415733005: Added StopAecDump function to PeerConnectionFactory. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Initial version. 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
OLDNEW
1 /* 1 /*
2 * libjingle 2 * libjingle
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 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 601 matching lines...) Expand 10 before | Expand all | Expand 10 after
612 CreateAudioTrack(const std::string& label, 612 CreateAudioTrack(const std::string& label,
613 AudioSourceInterface* source) = 0; 613 AudioSourceInterface* source) = 0;
614 614
615 // Starts AEC dump using existing file. Takes ownership of |file| and passes 615 // Starts AEC dump using existing file. Takes ownership of |file| and passes
616 // it on to VoiceEngine (via other objects) immediately, which will take 616 // it on to VoiceEngine (via other objects) immediately, which will take
617 // the ownerhip. If the operation fails, the file will be closed. 617 // the ownerhip. If the operation fails, the file will be closed.
618 // TODO(grunell): Remove when Chromium has started to use AEC in each source. 618 // TODO(grunell): Remove when Chromium has started to use AEC in each source.
619 // http://crbug.com/264611. 619 // http://crbug.com/264611.
620 virtual bool StartAecDump(rtc::PlatformFile file) = 0; 620 virtual bool StartAecDump(rtc::PlatformFile file) = 0;
621 621
622 // Stops logging the AEC dump.
623 virtual void StopAecDump() = 0;
624
622 // Starts RtcEventLog using existing file. Takes ownership of |file| and 625 // Starts RtcEventLog using existing file. Takes ownership of |file| and
623 // passes it on to VoiceEngine, which will take the ownership. If the 626 // passes it on to VoiceEngine, which will take the ownership. If the
624 // operation fails the file will be closed. The logging will stop 627 // operation fails the file will be closed. The logging will stop
625 // automatically after 10 minutes have passed, or when the StopRtcEventLog 628 // automatically after 10 minutes have passed, or when the StopRtcEventLog
626 // function is called. 629 // function is called.
627 // This function as well as the StopRtcEventLog don't really belong on this 630 // This function as well as the StopRtcEventLog don't really belong on this
628 // interface, this is a temporary solution until we move the logging object 631 // interface, this is a temporary solution until we move the logging object
629 // from inside voice engine to webrtc::Call, which will happen when the VoE 632 // from inside voice engine to webrtc::Call, which will happen when the VoE
630 // restructuring effort is further along. 633 // restructuring effort is further along.
631 // TODO(ivoc): Move this into being: 634 // TODO(ivoc): Move this into being:
(...skipping 21 matching lines...) Expand all
653 CreatePeerConnectionFactory( 656 CreatePeerConnectionFactory(
654 rtc::Thread* worker_thread, 657 rtc::Thread* worker_thread,
655 rtc::Thread* signaling_thread, 658 rtc::Thread* signaling_thread,
656 AudioDeviceModule* default_adm, 659 AudioDeviceModule* default_adm,
657 cricket::WebRtcVideoEncoderFactory* encoder_factory, 660 cricket::WebRtcVideoEncoderFactory* encoder_factory,
658 cricket::WebRtcVideoDecoderFactory* decoder_factory); 661 cricket::WebRtcVideoDecoderFactory* decoder_factory);
659 662
660 } // namespace webrtc 663 } // namespace webrtc
661 664
662 #endif // TALK_APP_WEBRTC_PEERCONNECTIONINTERFACE_H_ 665 #endif // TALK_APP_WEBRTC_PEERCONNECTIONINTERFACE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698