Index: webrtc/api/mediastreaminterface.h |
diff --git a/webrtc/api/mediastreaminterface.h b/webrtc/api/mediastreaminterface.h |
index c9ce4a5a7b49d7bf26a9e5e07677228a3651cc98..54d3fd48c3be3451be643d2eb90f30be546ce840 100644 |
--- a/webrtc/api/mediastreaminterface.h |
+++ b/webrtc/api/mediastreaminterface.h |
@@ -139,7 +139,17 @@ class VideoTrackSourceInterface |
virtual void Stop() = 0; |
virtual void Restart() = 0; |
- virtual const cricket::VideoOptions* options() const = 0; |
+ // Indicates that parameters suitable for screencasts should be automatically |
+ // applied to RtpSenders. |
+ // TODO(perkj): Remove these once all known applications have moved to |
+ // explicitly setting suitable parameters for screencasts and dont' need this |
+ // implicit behavior. |
+ virtual bool is_screencast() const = 0; |
+ |
+ // Indicates that the encoder should denoise the video before encoding it. |
+ // TODO(perkj): Remove this once denoising is done by the source, and not by |
+ // the encoder. |
+ virtual bool needs_denoising() const = 0; |
protected: |
virtual ~VideoTrackSourceInterface() {} |