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/media/webrtc/webrtcvideoengine2.h

Issue 1646253004: Split out dscp option from VideoOptions to new struct MediaChannelOptions. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase. 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/media/webrtc/nullwebrtcvideoengine.h ('k') | webrtc/media/webrtc/webrtcvideoengine2.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/webrtc/webrtcvideoengine2.h
diff --git a/webrtc/media/webrtc/webrtcvideoengine2.h b/webrtc/media/webrtc/webrtcvideoengine2.h
index 70caef1e1cf46367707c4b67fd8305a5e74fd27f..9706140c0293fc0b7995e136a84747d8ce358d16 100644
--- a/webrtc/media/webrtc/webrtcvideoengine2.h
+++ b/webrtc/media/webrtc/webrtcvideoengine2.h
@@ -115,7 +115,8 @@ class WebRtcVideoEngine2 {
void Init();
WebRtcVideoChannel2* CreateChannel(webrtc::Call* call,
- const VideoOptions& options);
+ const MediaChannelOptions& options,
+ const VideoOptions& video_options);
const std::vector<VideoCodec>& codecs() const;
RtpCapabilities GetCapabilities() const;
@@ -147,13 +148,16 @@ class WebRtcVideoChannel2 : public VideoMediaChannel,
public webrtc::LoadObserver {
public:
WebRtcVideoChannel2(webrtc::Call* call,
- const VideoOptions& options,
+ const MediaChannelOptions& options,
+ const VideoOptions& video_options,
const std::vector<VideoCodec>& recv_codecs,
WebRtcVideoEncoderFactory* external_encoder_factory,
WebRtcVideoDecoderFactory* external_decoder_factory);
~WebRtcVideoChannel2() override;
// VideoMediaChannel implementation
+ rtc::DiffServCodePoint MediaTypeDscpValue() const override;
+
bool SetSendParameters(const VideoSendParameters& params) override;
bool SetRecvParameters(const VideoRecvParameters& params) override;
bool GetSendCodec(VideoCodec* send_codec) override;
« no previous file with comments | « webrtc/media/webrtc/nullwebrtcvideoengine.h ('k') | webrtc/media/webrtc/webrtcvideoengine2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698