YouTube HLS Stream class for playing audio from a video's HLS manifest.
Used for normal (VOD) videos now that YouTube serves the mobile InnerTube
clients via SABR/HLS with no direct progressive format URLs. It selects the
best audio-only rendition from the HLS manifest and pushes its segments to
the readable stream in order.
NOTE: prototype — segments are fetched back-to-back with no pacing/backpressure
beyond the readable's highWaterMark. Fine for playback via ffmpeg; a production
version should pace fetches like LiveStream/Stream.
YouTube HLS Stream class for playing audio from a video's HLS manifest.
Used for normal (VOD) videos now that YouTube serves the mobile InnerTube clients via SABR/HLS with no direct progressive format URLs. It selects the best audio-only rendition from the HLS manifest and pushes its segments to the readable stream in order.
NOTE: prototype — segments are fetched back-to-back with no pacing/backpressure beyond the readable's highWaterMark. Fine for playback via ffmpeg; a production version should pace fetches like LiveStream/Stream.