Spinning this off from a patch in bug 881512 to track it separately since the current plan is to land this change later than the other patches.
Created attachment 8411549 [details] [diff] [review]
Carrying over cajbir's review from bug 881512.
To land this, also need a patch to update dom/tests/mochitest/general/test_interfaces.html for MediaSource, SourceBuffer, SourceBufferList, VideoPlaybackQuality.
Also should (have already) email an intent to implement, and possibly an intent to ship: https://wiki.mozilla.org/WebAPI/ExposureGuidelines#Intent_to_Implement and https://wiki.mozilla.org/WebAPI/ExposureGuidelines#Intent_to_Ship. It's not clear if the intent to ship is needed until the RELEASE_BUILD ifdef is removed, but I strongly suspect not.
Also need to change the test in content/media/mediasource/test/test_MediaSource.html.
Created attachment 8413113 [details] [diff] [review]
I landed the MIME whitelist part early, because I don't want to have to deal with a bunch of MSE bugs in the MP4 handling code that we're not ready to deal with yet.
Created attachment 8413454 [details] [diff] [review]
This is the rest of the patch. Carrying forward r+ from cajbir and smaug.
(In reply to Matthew Gregan [:kinetik] from comment #5)
Merged to m-c:
(In reply to Matthew Gregan [:kinetik] from comment #48)
> (In reply to Ryan VanderMeulen [:RyanVM UTC-4] from comment #47)
> > https://hg.mozilla.org/mozilla-central/rev/bc6a9d65b84f
> Oops, that's actually for bug 1000686, but I forgot to fix the commit
> message when splitting the bugs.
Created attachment 8413476 [details] [diff] [review]
Identical to previous patch, except the commit message has been fixed to point to this bug.
Seeing the behaviour described in Bug 1024858, though that is marked Resolved. Can’t
(In reply to John Drinkwater (:beta) from comment #9)
> Seeing the behaviour described in Bug 1024858, though that is marked
> Resolved. Can’t
Please retest with a current nightly, it should work better, although there are still bugs outstanding (see list of bugs this bug depends on).
Created attachment 8510663 [details] [diff] [review]
Patch enables MSE for non-release builds.
Remaining open dependant bugs moved to bug 1088553.
Was this wise? YouTube still has playback issues with WebM. None of them are tracked in the YouTube-MSE bug.
I don't know about you guys but i'm still facing several issues with the YouTube HTML5 player too (Video totally freezing, buffer stops when i'm fast-forwarding or scrolling, comment section not loading and so on.......) these issues tend to be less severe when Adblock plus is disabled BTW
(In reply to Leman Bennett [Omega] from comment #16)
> Was this wise? YouTube still has playback issues with WebM. None of them are
> tracked in the YouTube-MSE bug.
If they are not tracked, we don't know about them. Please raise bugs or describe the issues, with links to videos, so we can track them down.