summaryrefslogtreecommitdiff
path: root/voice_engine/voe_base_impl.h
diff options
context:
space:
mode:
authorturaj@webrtc.org <turaj@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2013-11-13 00:02:48 +0000
committerturaj@webrtc.org <turaj@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2013-11-13 00:02:48 +0000
commitb43ac9f2c5d33f5613ad2757e1e62a0aa3c2d34f (patch)
tree5e7a8f53fbbf644e1efeb4155f630289a8dc4c44 /voice_engine/voe_base_impl.h
parent591be3b50428e3c1ea6c29093d1d97e6b3743273 (diff)
downloadwebrtc-b43ac9f2c5d33f5613ad2757e1e62a0aa3c2d34f.tar.gz
Inject config when creating channels to override the existing one.
BUG= R=xians@webrtc.org Review URL: https://webrtc-codereview.appspot.com/3239004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@5116 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'voice_engine/voe_base_impl.h')
-rw-r--r--voice_engine/voe_base_impl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/voice_engine/voe_base_impl.h b/voice_engine/voe_base_impl.h
index 6715c360..bee2ea37 100644
--- a/voice_engine/voe_base_impl.h
+++ b/voice_engine/voe_base_impl.h
@@ -39,6 +39,7 @@ public:
virtual int Terminate();
virtual int CreateChannel();
+ virtual int CreateChannel(const Config& config);
virtual int DeleteChannel(int channel);
@@ -133,6 +134,10 @@ private:
int32_t AddBuildInfo(char* str) const;
int32_t AddVoEVersion(char* str) const;
+
+ // Initialize channel by setting Engine Information then initializing
+ // channel.
+ int InitializeChannel(voe::ChannelOwner* channel_owner);
#ifdef WEBRTC_EXTERNAL_TRANSPORT
int32_t AddExternalTransportBuild(char* str) const;
#endif