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

Unified Diff: content/public/renderer/media_stream_utils.h

Issue 2425703002: Remove |remote| and |readonly| members of MediaStreamTrack (Closed)
Patch Set: Remove |remote| and |readonly| members of MediaStreamTrack Created 4 years, 2 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: content/public/renderer/media_stream_utils.h
diff --git a/content/public/renderer/media_stream_utils.h b/content/public/renderer/media_stream_utils.h
index f3586dd82de2aec4972f365baf5f9f3831d3e6f6..8d74db11a6ec07bf025941501981de45d92716f0 100644
--- a/content/public/renderer/media_stream_utils.h
+++ b/content/public/renderer/media_stream_utils.h
@@ -27,13 +27,8 @@ namespace content {
// provided audio or video capturer source. A new WebMediaStreamTrack +
// MediaStreamTrack pair is created, connected to the source and is plugged into
// the WebMediaStream (|web_media_stream|).
-// |is_remote| should be true if the source of the data is not a local device.
-// |is_readonly| should be true if the format of the data cannot be changed by
-// MediaTrackConstraints.
CONTENT_EXPORT bool AddVideoTrackToMediaStream(
std::unique_ptr<media::VideoCapturerSource> video_source,
- bool is_remote,
- bool is_readonly,
blink::WebMediaStream* web_media_stream);
// |sample_rate|, |channel_layout|, and |frames_per_buffer| specify the audio
@@ -45,8 +40,6 @@ CONTENT_EXPORT bool AddAudioTrackToMediaStream(
int sample_rate,
media::ChannelLayout channel_layout,
int frames_per_buffer,
- bool is_remote,
- bool is_readonly,
blink::WebMediaStream* web_media_stream);
// On success returns pointer to the current format of the given video track;

Powered by Google App Engine
This is Rietveld 408576698