mangui / flashls

HLS Flash Plugin/Player (Chromeless,OSMF,FlowPlayer,mediaelement.js,video.js,Clappr)
http://www.flashls.org
Mozilla Public License 2.0
751 stars 264 forks source link

When reloading live url, first request for level playlist is served from cahce on IE 11. #583

Closed ashCode0 closed 7 years ago

ashCode0 commented 7 years ago

Setting flushLiveUrlCache config to true adds time parameter (as a cache-buster) only for subsequent playlist requests. First request for playlist after reload (or page refresh) is being served from cache on IE 11.

With regard to the following line of code: https://github.com/mangui/flashls/blob/dff645291460e0977f62562da5b34a7f60212c90/src/org/mangui/hls/playlist/Manifest.as#L86 When making the first request for playlist, stream type (Live or VoD ) is not yet known. Even then we have to add time parameter to the request url if flushLiveUrlCache is set to true.

We have encountered this issue on IE 11.608.15063.0 with flash player v27.0.0.130 when serving live stream from a local server. Every time page is refreshed, the player is playing first few chunks of the stream and then jumping to live when it makes a second request to the playlist.

ashCode0 commented 7 years ago

Fixed :smile: