summaryrefslogtreecommitdiff
path: root/app/webrtc/peerconnectioninterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/webrtc/peerconnectioninterface.h')
-rw-r--r--app/webrtc/peerconnectioninterface.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/app/webrtc/peerconnectioninterface.h b/app/webrtc/peerconnectioninterface.h
index a127dad..01f1e1c 100644
--- a/app/webrtc/peerconnectioninterface.h
+++ b/app/webrtc/peerconnectioninterface.h
@@ -393,11 +393,9 @@ class PeerConnectionFactoryInterface : public talk_base::RefCountInterface {
class Options {
public:
Options() :
- enable_aec_dump(false),
disable_encryption(false),
disable_sctp_data_channels(false) {
}
- bool enable_aec_dump;
bool disable_encryption;
bool disable_sctp_data_channels;
};
@@ -442,6 +440,12 @@ class PeerConnectionFactoryInterface : public talk_base::RefCountInterface {
CreateAudioTrack(const std::string& label,
AudioSourceInterface* source) = 0;
+ // Starts AEC dump using existing file. Takes ownership of |file| and passes
+ // it on to VoiceEngine (via other objects) immediately, which will take
+ // the ownerhip.
+ // TODO(grunell): Remove when Chromium has started to use AEC in each source.
+ virtual bool StartAecDump(FILE* file) = 0;
+
protected:
// Dtor and ctor protected as objects shouldn't be created or deleted via
// this interface.