shaka-project/shaka-player-embedded

Add fetch and ReadableStream support

TheModMaker opened this issue · 2 comments

Shaka Player now supports low-latency DASH and HLS content. To do this in DASH, it uses fetch and ReadableStream. This is used to stream data for a network request down to MSE. We shouldn't need any changes for MSE since Shaka Player still splits the input stream on whole MP4 boxes. But we'll need to add support for the networking components.

Is this why network request/response filters aren't invoked when playing HLS manifests? Took me a while to realize that they only are invoked for dash manifests.

Oh I see. To get the network filters to invoke, one must player.configure("streaming.useNativeHlsOnSafari", with: false); as otherwise by default the AVPlayer is used where network filters are not available.