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

Unified Diff: talk/app/webrtc/mediacontroller.h

Issue 1670153003: Introduce struct MediaConfig, with construction-time settings. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Added new peerconnection test for dscp constraint. 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
Index: talk/app/webrtc/mediacontroller.h
diff --git a/talk/app/webrtc/mediacontroller.h b/talk/app/webrtc/mediacontroller.h
index 1b51be7ca2872f762f5708e1c94d402a554e8434..329d511961865c3690ad3ebc56c8fff59d03302f 100644
--- a/talk/app/webrtc/mediacontroller.h
+++ b/talk/app/webrtc/mediacontroller.h
@@ -32,6 +32,7 @@
namespace cricket {
class ChannelManager;
+struct MediaConfig;
} // namespace cricket
namespace webrtc {
@@ -43,12 +44,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

Powered by Google App Engine
This is Rietveld 408576698