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

Unified Diff: content/renderer/render_frame_impl.cc

Issue 2283493003: Delete browser MSE implementation. (Closed)
Patch Set: Actually delete MSP. Cleanse references. Remove AudioTrack usage. Created 4 years, 3 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/render_frame_impl.cc
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index 829f6226658c7eee94113739f08051d4ff799fe9..f97e71fce02a0649c45f4ac4cdb68d30434c4c3e 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -793,6 +793,11 @@ bool IsHttpPost(const blink::WebURLRequest& request) {
// Note that HLS and MP4 detection are pre-redirect and path-based. It is
// possible to load such a URL and find different content.
bool UseWebMediaPlayerImpl(const GURL& url) {
+ // Always use WMPI for playing blob URLs since WMPA could never play them very
ncarter (slow) 2016/09/29 21:17:08 Is this hunk supposed to be part of this CL? I do
DaleCurtis 2016/09/29 21:55:54 Yes. All MSE playbacks are blob:// but we still ha
+ // well and no longer has support for MSE based playbacks.
+ if (url.SchemeIsBlob())
+ return true;
+
// WMPI does not support HLS.
if (media::MediaCodecUtil::IsHLSURL(url))
return false;

Powered by Google App Engine
This is Rietveld 408576698