Index: webrtc/api/mediacontroller.h |
diff --git a/webrtc/api/mediacontroller.h b/webrtc/api/mediacontroller.h |
index 5721ffe80eff85801b552a10d2d0532ea216a06c..7b6a2a3e3e76d9a1802e26e7d0a2764310950978 100644 |
--- a/webrtc/api/mediacontroller.h |
+++ b/webrtc/api/mediacontroller.h |
@@ -15,6 +15,7 @@ |
namespace cricket { |
class ChannelManager; |
+struct MediaConfig; |
} // namespace cricket |
namespace webrtc { |
@@ -26,12 +27,14 @@ class VoiceEngine; |
class MediaControllerInterface { |
public: |
static MediaControllerInterface* Create( |
+ const cricket::MediaConfig& config, |
rtc::Thread* worker_thread, |
cricket::ChannelManager* channel_manager); |
virtual ~MediaControllerInterface() {} |
virtual webrtc::Call* call_w() = 0; |
virtual cricket::ChannelManager* channel_manager() const = 0; |
+ virtual const cricket::MediaConfig& config() const = 0; |
}; |
} // namespace webrtc |