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

Unified Diff: webrtc/api/mediacontroller.h

Issue 1670153003: Introduce struct MediaConfig, with construction-time settings. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressed test nit; use reference. Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/api/fakemediacontroller.h ('k') | webrtc/api/mediacontroller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « webrtc/api/fakemediacontroller.h ('k') | webrtc/api/mediacontroller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698