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

Unified Diff: webrtc/media/webrtc/webrtcvoiceengine.h

Issue 1670153003: Introduce struct MediaConfig, with construction-time settings. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Split into three separate tests. 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: webrtc/media/webrtc/webrtcvoiceengine.h
diff --git a/webrtc/media/webrtc/webrtcvoiceengine.h b/webrtc/media/webrtc/webrtcvoiceengine.h
index de12ef3410fae4ad58a0cce36d219077502accc5..ffe909b42349f45d4cf1468992488b8996b06611 100644
--- a/webrtc/media/webrtc/webrtcvoiceengine.h
+++ b/webrtc/media/webrtc/webrtcvoiceengine.h
@@ -69,6 +69,7 @@ class WebRtcVoiceEngine final : public webrtc::TraceCallback {
rtc::scoped_refptr<webrtc::AudioState> GetAudioState() const;
VoiceMediaChannel* CreateChannel(webrtc::Call* call,
+ const MediaConfig& config,
const AudioOptions& options);
bool GetOutputVolume(int* level);
@@ -157,12 +158,15 @@ class WebRtcVoiceMediaChannel final : public VoiceMediaChannel,
public webrtc::Transport {
public:
WebRtcVoiceMediaChannel(WebRtcVoiceEngine* engine,
+ const MediaConfig& config,
const AudioOptions& options,
webrtc::Call* call);
~WebRtcVoiceMediaChannel() override;
const AudioOptions& options() const { return options_; }
+ rtc::DiffServCodePoint PreferredDscp() const override;
+
bool SetSendParameters(const AudioSendParameters& params) override;
bool SetRecvParameters(const AudioRecvParameters& params) override;
bool SetPlayout(bool playout) override;

Powered by Google App Engine
This is Rietveld 408576698