shaka-project / shaka-player-embedded

Shaka Player in a C++ Framework
Apache License 2.0
239 stars 62 forks source link

Add fetch and ReadableStream support #192

Open TheModMaker opened 3 years ago

TheModMaker commented 3 years ago

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.

chadacious commented 2 years ago

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.

chadacious commented 2 years ago

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.