Abort key XHRs on media change
If a key request was outstanding when the media playlist changed, the call to fetchKeys() for the new playlist would be ignored. This caused segments to get stuck in drainBuffer() waiting for their keys. Now, we abort key requests as soon as we change media and immediately try to fetch the keys for the new playlist.
Showing
2 changed files
with
47 additions
and
2 deletions
-
Please register or sign in to post a comment