Skip to main content

Supported browsers & devices

The nanoStream Player runs in all modern HTML5 browsers on desktop and mobile, with no plugins. The canonical browser matrix for MOQ, H5Live and HLS lives on Playback technologies. This page covers what you need to know for specific devices: iOS, Android, native app WebViews and autoplay rules.

Requirements at a glance​

PlaybackNeeds
MOQ (Media over QUIC)WebTransport and WebCodecs. Chromium 110+ (Chrome, Edge, Opera, Brave, Samsung Internet), Firefox 130+ on Windows and macOS, Safari on macOS/iOS/iPadOS 26.4+
H5Live (WebSocket / MSE)HTML5 video, WebSockets, Media Source Extensions (ManagedMediaSource on iOS 17.1+), fMP4 with H.264 video and AAC audio
H5Live low-latency HLSiOS and iPadOS before 17.1, and iOS WebViews without ManagedMediaSource

The player picks the technology automatically and falls back from MOQ to H5Live if needed.

Minimum browser versions for nanoStream Player 5: Chromium 60+ (Chrome, Opera, Samsung Internet and others), Firefox 55+, Safari 11+, Microsoft Edge 15+. Internet Explorer is not supported.

If a browser lacks a required technology, setup() rejects with error 5002. Handle it and show a message:

player.setup(config).then(function () {
console.log("setup success");
}, function (error) {
showMessage(error.message);
});

iOS and iPadOS​

  • Latency control: balancedadaptive is supported on iOS (Safari, Chrome, Firefox, WebViews). fastadaptive falls back to balancedadaptive.
  • Low Power Mode: playback always needs a user gesture, even muted. The player raises error 1005. Show a "tap to play" button and call player.play() from the tap handler. Don't retry automatically.
  • Silent switch: the player sets the audio session so sound plays with the silent switch on (playback.manageAudioSessionType, default true). If your page also uses the microphone, set navigator.audioSession.type = "play-and-record" yourself first. See Player features.
  • Background and lock screen: when the app goes to the background, playback is suspended and the player raises 1007. Resume with player.play() when the page is visible again.
  • Two video elements: H5Live HLS playback on iOS uses two <video> elements for seamless stream switching. onActiveVideoElementChange tells you which one is active.
  • Volume: setVolume() isn't available for HLS playback.
  • Automatic reconnect isn't available on iOS. Use the retry pattern from Events & error codes.
  • Custom overlays: the video layer on iOS has z-index 1; give your overlays a higher value.

macOS Safari​

Safari on macOS plays with MOQ (26.4+) or H5Live over MSE. Set playback.allowSafariHlsFallback: true to let the player use H5Live low-latency HLS where appropriate. Canvas drawing from MSE video (snapshots) isn't supported in Safari on macOS and in iPadOS desktop mode.

Android​

  • Chrome, Firefox and other Chromium-based browsers are fully supported.
  • Some preinstalled browsers are reduced builds. Samsung Internet, for example, has had Media Source Extensions disabled by default in some versions. Without MSE, H5Live can't play; MOQ needs Chromium 110+.
  • Test on real devices: what works in Chrome doesn't always work in a vendor browser.

Native apps (WebView)​

You can play streams inside an Android or iOS app by loading your player page in a WebView.

tip

Load the player page remotely over HTTPS, not from a local file bundled in the app. Local pages (file://) run into security and sandbox limits, and on iOS they can break playback that uses Managed Media Source (iOS 17.1+).

Android WebView​

Allow playback without a user gesture so autoplay works:

webView.getSettings().setMediaPlaybackRequiresUserGesture(false);

iOS WKWebView​

Allow inline playback and autoplay, then load your remote page:

import UIKit
import WebKit

class ViewController: UIViewController, WKNavigationDelegate {
var webView: WKWebView!

override func loadView() {
let webConfiguration = WKWebViewConfiguration()
webConfiguration.allowsInlineMediaPlayback = true
webConfiguration.mediaTypesRequiringUserActionForPlayback = []
webView = WKWebView(frame: .zero, configuration: webConfiguration)
webView.navigationDelegate = self
if #available(iOS 16.4, *) {
webView.isInspectable = true // for debugging during development only
}
view = webView
}

override func viewDidLoad() {
super.viewDidLoad()
let url = URL(string: "https://your-page.example.com/player.html")!
webView.load(URLRequest(url: url))
}
}

Without these native settings, playback.autoplay: true in the player config has no effect inside the WebView.

Autoplay policies​

All major browsers block autoplay with sound until the user interacts with the page. Configure the player to fall back to muted:

playback: { autoplay: true, automute: true, muted: false }
SituationResultWhat to do
Desktop, no prior interactionStarts muted, mute icon shownLet the viewer unmute
Mobile browserStarts mutedLet the viewer unmute
iOS Low Power ModeDoesn't start, error 1005Show "tap to play"
Background tab at loadDoesn't start, error 1009Call play() on visibilitychange
WebView without native settingsDoesn't startSet the WebView options above

Background reading: Chrome's autoplay policy (https://developers.google.com/web/updates/2017/09/autoplay-policy-changes) and WebKit's (https://webkit.org/blog/7734/auto-play-policy-changes-for-macos/).

Testing tips​

  • Use real devices. Browser device emulation doesn't reproduce real playback conditions and can behave unexpectedly.
  • Test on the networks your viewers use, including mobile data.
  • Check which technology plays: MOQ renders to a <canvas>, H5Live to a <video>.
  • Firewalls and proxies can block WebSocket, QUIC or the playback domains. See Global delivery & nanoStream CDN and Network diagnostics.

Next steps​