Index: chrome/renderer/extensions/cast_streaming_native_handler.cc |
diff --git a/chrome/renderer/extensions/cast_streaming_native_handler.cc b/chrome/renderer/extensions/cast_streaming_native_handler.cc |
index 38ab2ae7408a3acac7fb5e813348139a593be654..d076d8837adb036d943aeb15f9024858f76facbb 100644 |
--- a/chrome/renderer/extensions/cast_streaming_native_handler.cc |
+++ b/chrome/renderer/extensions/cast_streaming_native_handler.cc |
@@ -988,14 +988,10 @@ void CastStreamingNativeHandler::AddTracksToMediaStream( |
} |
if (!content::AddAudioTrackToMediaStream( |
audio, params.sample_rate(), params.channel_layout(), |
- params.frames_per_buffer(), true, // is_remote |
- true, // is_readonly |
- &web_stream)) { |
+ params.frames_per_buffer(), &web_stream)) { |
LOG(ERROR) << "Failed to add Cast audio track to media stream."; |
} |
- if (!content::AddVideoTrackToMediaStream(std::move(video), true, // is_remote |
- true, // is_readonly |
- &web_stream)) { |
+ if (!content::AddVideoTrackToMediaStream(std::move(video), &web_stream)) { |
LOG(ERROR) << "Failed to add Cast video track to media stream."; |
} |
} |