Index: webrtc/api/fakemediacontroller.h |
diff --git a/webrtc/api/fakemediacontroller.h b/webrtc/api/fakemediacontroller.h |
index 56af5cfe38e71af8b514c8dd9084afec956a19cb..0ff8a5562265554eeecffe4f65f0579c7dd4530e 100644 |
--- a/webrtc/api/fakemediacontroller.h |
+++ b/webrtc/api/fakemediacontroller.h |
@@ -13,6 +13,7 @@ |
#include "webrtc/api/mediacontroller.h" |
#include "webrtc/base/checks.h" |
+#include "webrtc/media/base/mediachannel.h" |
namespace cricket { |
@@ -29,8 +30,12 @@ class FakeMediaController : public webrtc::MediaControllerInterface { |
cricket::ChannelManager* channel_manager() const override { |
return channel_manager_; |
} |
+ const MediaConfig& config() const override { |
+ return media_config_; |
+ } |
private: |
+ const MediaConfig media_config_ = MediaConfig(); |
pbos-webrtc
2016/02/11 11:34:10
Don't need the initialization here, media_config_
nisse-webrtc
2016/02/11 12:10:18
Unfortunately, the compiler doesn't agree. If I re
|
cricket::ChannelManager* channel_manager_; |
webrtc::Call* call_; |
}; |