| 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 57ab3951c4b516106c3050c2331b82322dc985d1..c1e09376cb8a051683a5d2726729cf570885a3a5 100644
|
| --- a/content/public/renderer/media_stream_utils.h
|
| +++ b/content/public/renderer/media_stream_utils.h
|
| @@ -27,8 +27,13 @@
|
| // 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
|
| @@ -40,6 +45,8 @@
|
| 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;
|
|
|