Chromium Code Reviews
DescriptionWhen HLS redirects are encountered recreate WebMediaPlayer.
Not all WebMediaPlayer implementations know how to play HLS, and
if the URL does not contain an HLS identifier originally, a later
redirect might break playback if the wrong implementation is
chosen.
When this occurs instead re-trigger Blink's loader with the
redirected source URL that contains the proper HLS tagging.
It's preferred to do this instead of either adding a shim WMP
implementation that choses the real WMP during load() or making
createWebMediaPlayer() block until redirects complete and then
throwing away the data from those connections.
BUG=618109
TEST=Manually tested espn.go.com and adds a new browser test.
Committed: https://crrev.com/ea27a3ed74612a72945993222b01f6aaddccbfe4
Cr-Commit-Position: refs/heads/master@{#401777}
Patch Set 1 #Patch Set 2 : It lives! #Patch Set 3 : Cleanup. #
Total comments: 8
Patch Set 4 : Rename. #
Total comments: 4
Patch Set 5 : Explicit option. #
Total comments: 9
Patch Set 6 : Don't set m_currentSrc. #
Total comments: 2
Patch Set 7 : Comments. #Patch Set 8 : Add browser test. #Patch Set 9 : Fix compile failures. #Messages
Total messages: 40 (11 generated)
|