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

Unified Diff: content/renderer/renderer_blink_platform_impl.cc

Issue 2710213005: Revert of Remove |remote| and |readonly| members of MediaStreamTrack (Closed)
Patch Set: Created 3 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: content/renderer/renderer_blink_platform_impl.cc
diff --git a/content/renderer/renderer_blink_platform_impl.cc b/content/renderer/renderer_blink_platform_impl.cc
index 8e75d7524a51d1e08841c15c05140b2942170fec..ed2baee580ba97a0df5060fba89dee53cf9b1130 100644
--- a/content/renderer/renderer_blink_platform_impl.cc
+++ b/content/renderer/renderer_blink_platform_impl.cc
@@ -858,6 +858,8 @@
AddVideoTrackToMediaStream(
HtmlVideoElementCapturerSource::CreateFromWebMediaPlayerImpl(
web_media_player, content::RenderThread::Get()->GetIOTaskRunner()),
+ false, // is_remote
+ false, // is_readonly
web_media_stream);
#endif
}
@@ -873,8 +875,10 @@
blink::WebMediaStreamTrack web_media_stream_track;
const WebString track_id = WebString::fromUTF8(base::GenerateGUID());
- web_media_stream_source.initialize(
- track_id, blink::WebMediaStreamSource::TypeAudio, track_id);
+ web_media_stream_source.initialize(track_id,
+ blink::WebMediaStreamSource::TypeAudio,
+ track_id,
+ false /* is_remote */);
web_media_stream_track.initialize(web_media_stream_source);
MediaStreamAudioSource* const media_stream_source =

Powered by Google App Engine
This is Rietveld 408576698