hls.js Now Supports iPhone's Managed Media Source API on iOS 17.1 and Later
Apple introduced Managed Media Source (MMS), a variant of Media Source Extensions, in iOS 17.1 Safari, giving JavaScript-based media players programmatic control over HLS playback on iPhone for the first time. Prior to this, iPhone Safari lacked MSE support entirely, forcing players like hls.js to fall back to native HLS and surrender control over buffering, adaptive bitrate, and quality selection. hls.js version 1.6.x automatically detects and uses ManagedMediaSource when available, meaning most developers only need to upgrade the library and set two video element attributes to enable the feature. A key behavioral difference from classic MSE is that the browser can evict buffered segments under memory pressure, a detail developers must account for when building or debugging players. For those building custom players or working with DASH on iOS, MMS also requires a child source element rather than assigning an object URL directly to the video element.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in