NanoPlayer - Release History
Please find more about the MOQ playback mode feature in our documentation
For easy-to-use migration follow our guide
[5.1.0]
Release Notes
This release makes configuring non-default domains simpler with the new config.source.general.baseDomain setting, which lets you configure all domains via a single value. The screen wake lock is now renewed after the browser has released it. Configuration related warning events during player setup have been improved.
Changelog
Added
- new config setting
config.source.general.baseDomain, allowing configuring all domains via a single value
Fixed
- screen wake lock not being renewed after it has been released by the browser
Improved
- configuration related warning events during player setup
[5.0.13]
Release Notes
This release fixes an issue in MSE playback where specific SourceBuffer error conditions could cause playback to stall. Media error recovery will restore playback automatically.
Changelog
Fixed
- detection and recovery from specific
SourceBuffererror conditions during MSE playback that could lead to stalled playback
[5.0.12]
Release Notes
In this release, we have improved MOQ playback by enhancing iOS audio interruption handling and resolving a Firefox on Windows playback issue for H.264 Baseline streams with missing constraint_set flags, further improving playback reliability across supported environments.
Changelog
Improved
- handling of iOS AudioSession interruptions caused by system or app audio during MOQ playback
Fixed
- issue affecting MOQ playback in Firefox on Windows for H.264 Baseline streams with missing
constraint_setflags
[5.0.11]
Release Notes
This release focuses on improvements for MoQ playback mode, enabling unmuted audio playback when the iOS silent switch/mode is active and speeding up the initial ABR switch-up.
Changelog
Added
- option to keep audio playing in MoQ playback mode when the iOS silent switch/mode is enabled
- controlled via configuration option
playback.manageAudioSessionType, enabled by default - ensures the underlying
AudioSession.typeis set to eitherplaybackorplay-and-recordso audio continues when the iOS silent switch/mode is active
- controlled via configuration option
Improved
- faster initial ABR switch-up in MoQ mode
[5.0.10]
Release Notes
This release improves MOQ playback compatibility with H.264 streams encoded using "High 10" or "High 4:2:2" profiles across Safari MacOS and iOS.
Changelog
Improved
- MOQ playback compatibility with H.264 video "High 10" & "High 4:2:2" profiles in Safari MacOS and iOS
[5.0.9]
Release Notes
This release focuses on stability improvements and fixes for iOS playback behavior and stream quality handling.
The playback resume behavior after background suspension has been improved for MSE playback, fixing an issue where playback could get stuck when resuming in muted mode if the session was never unmuted, particularly on iOS 26.4.
In addition, HLS playback in iOS WebViews has been improved to ensure fallback playback when MSE/MOQ playback is not possible.
This release also fixes an issue with incorrect group.startQuality selection when the configured quality was not available in the active rendition set.
Changelog
Fixed
- issue in MSE playback where playback could get stuck when resuming in muted mode if the session was never unmuted, after being suspended in background state, particularly on iOS 26.4
- ensured HLS playback in iOS WebViews as fallback when MSE/MOQ playback is not possible
- incorrect
group.startQualitymatching when the configured quality was not included in the available group renditions
[5.0.8]
Release Notes
This release resolves an issue with growing memory allocation during MOQ playback if audio is remaining muted from playback start. The update is recommended for NanoPlayer 5.0.x users.
Changelog
Fixed
- increasing memory allocation when MOQ playback is started and remains in muted state
[5.0.7]
Release Notes
This release improves layout consistency for playback. When the nanoplayer view is disabled (style.view: false), the CSS property object-fit: contain was added to the MOQ playback CanvasElement to align its default video scaling behavior (aspect ratio preservation and letterboxing) with the HTMLVideoElement. All playback modes now display consistently without additional configuration.
Changelog
Fixed
- default
CanvasElementbehavior for MOQ playback withstyle.view: falseadjusted to matchHTMLVideoElementbehavior in MSE/HLS playback, ensuring similar display across all playback modes
[5.0.6]
Release Notes
This release fixes an fullscreen issue with MOQ playback on iOS 26.4 and higher where the video isn't visible. THIS UPDATE IS MANDATORY FOR NANOPLAYER 5.0.X USERS AND SHOULD BE APPLIED ASAP.
Changelog
Fixed
- video not visible in fullscreen mode with MOQ playback on iOS 26.4 and higher
[5.0.5]
Release Notes
This update resolves a slight audio delay in MOQ playback that could gradually become noticeable after repeated stream switches and improves the robustness of config.source.general.serverDomain parsing for edge cases. In addition, onReady metrics have been improved, and an inconsistency in error emission for malformed or missing source configurations has been fixed.
Changelog
Fixed
- slight audio delay in MOQ playback that could gradually become noticeable after repeated stream switches
- ensure a dedicated error with code 5004 is emitted consistently when the source configuration is missing or incomplete
Improved
- metrics for the
onReadyevent - robustness of
config.source.general.serverDomainparsing for edge cases
[5.0.4]
Release Notes
This release includes an improvement to the overall resilience of the player’s error handling and recovery. It resolves an issue that caused a black screen during error recovery in MSE and HLS playback modes. Furthermore, it fixes a playback start error that occurred when MOQ mode was enabled without a configured server.webtransport URL.
Changelog
Fixed
- an issue causing a black screen during error recovery in MSE and HLS playback modes.
- a playback start failure that occurred when MOQ mode was enabled but no server.webtransport URL was provided in the configuration.
Improved
- Enhanced overall resilience of error handling and recovery mechanisms.
[5.0.3]
Release Notes
This release includes fixes for loading timeout behavior and fast-start buffer management, along with improved screen wake behavior on mobile devices. The loading timeout now properly resets when updating sources during the loading state. Separately, fast-start buffer requests are now prevented during playback to avoid unnecessary buffering. Additionally, mobile devices will stay active during MOQ mode playback, with screen dimming and locking disabled by default through the new playback.enableWakeLock setting.
Changelog
Fixed
- loading timeout is now correctly reinstated after updateSource is called in the loading state.
- prevent fast-start buffer from being requested by updateSource while in the playing state.
Improved
- mobile devices no longer dim or lock the screen during playback in MOQ mode, ensuring consistent behavior across browsers and playback modes.
- controlled via playback.enableWakeLock (default: enabled)
[5.0.2]
Release Notes
This update fixes an issue with secure token playback on iOS ≤ 17.1 in H5Live-HLS mode, resulting in error code 4200.
Changelog
Fixed
- secure token playback failing with error
4200on iOS ≤ 17.1 in H5Live-HLS mode
[5.0.1]
Release Notes
This update fixes occasional audio lag in MOQ playback mode that could occur when larger faststart buffers were received and removes an unintended log line via console.log.
Changelog
Fixed
- occasional audio lag in MOQ playback mode when larger faststart buffers are received
- unintended log line via
console.log
[5.0.0]
Release Notes
BREAKING CHANGE
This major release introduces Media over QUIC (MoQ) playback, bringing next-generation streaming with ultra-low latency and real-time playback powered by modern web technologies like QUIC and WebCodecs. This unlocks smoother, more interactive streaming experiences while still maintaining full compatibility with proven playback modes such as WebSocket/MSE and H5Live-HLS. Playback control has also been improved. You can now set the player volume directly at startup, and the player performs smarter connection checks to ensure QUIC compatibility before playback begins. We have optimized the default settings to deliver faster startup times, lower latency, and more reliable adaptive streaming. When multiple quality levels are available, the player will automatically use adaptive bitrate (ABR). Finally, we have cleaned up outdated and rarely used features. Flash player and legacy iOS ≤ 9 native-HLS fallback modes have been removed, configuration options have been simplified, and older scaling modes have been retired to ensure a more consistent playback experience.
Changelog
Added
-
Media over QUIC transport and playback mode
- utilizing the benefits of latest web technologies including WebTransport/QUIC and WebCodecs
- pushing the boundaries of interactive real-time streaming
- keeping full support of production proven playback modes using WebSocket/MSE and H5Live-HLS
-
new config setting
playback.enableMediaOverQuic- enabling/disabling the new MoQ playback mode
true/false, default:true
-
new config setting
playback.enableQuicConnectionProbe- enabling/disabling performing a connection probe at setup call to test WebTransport/QUIC connectivity
true/false, default:true
-
new config setting
playback.volume- enabling setting the player's volume directly at setup call
- range between
0.0and1.0, default:1.0
Changed
- default values for improved performance and usability
config.playback.latencyControlMode: from"classic"to"balancedadaptive"config.playback.automute: fromfalsetotrueconfig.playback.faststart: fromfalsetotruesource.startIndex: from0/highestton-1/lowestsource.options.adaption.rule: from"none"to"deviationOfMean2"- enabling ABR playback if more than one stream/entry is available
Removed
- flash player fallback mode
- native hls fallback mode (iOS version ≤ 9)
- deprecated single source configuration via
config.source.h5liveobject- remaining valid source configurations are
config.source.groupandconfig.source.entries
- remaining valid source configurations are
- scaling modes
"resize"and"original"
[4.31.2]
Release Notes
This release focuses on stability improvements and fixes for iOS playback behavior and stream quality handling. The playback resume behavior after background suspension has been improved for MSE playback, fixing an issue where playback could get stuck when resuming in muted mode if the session was never unmuted, particularly on iOS 26.4. This release also fixes an issue with incorrect group.startQuality selection when the configured quality was not available in the active rendition set.
Changelog
Fixed
- issue in MSE playback where playback could get stuck when resuming in muted mode if the session was never unmuted, after being suspended in background state, particularly on iOS 26.4
- incorrect
group.startQualitymatching when the configured quality was not included in the available group renditions
[4.31.1]
Release Notes
This release includes fixes for fast-start buffer management and hls playback error recovery. Fast-start buffer requests are now prevented during playback to avoid unnecessary buffering. Furthermore, it resolves an issue that caused a black screen during error recovery in HLS playback mode.
Changelog
Fixed
- prevent fast-start buffer from being requested by updateSource while in the playing state.
- an issue causing a black screen during error recovery in HLS playback mode.
[4.31.0]
Release Notes
In this release, we introduce the new config option metrics.serverDomain, which allows you to configure a custom white-label domain for nanoStream Cloud metrics and telemetry endpoints.
Changelog
Added
- option
metrics.serverDomainenabling to configure a custom white-label domain name for nanoStream Cloud metrics/telemetry endpoints
[4.30.1]
Release Notes
This update resolves an issue on iOS 18.4+ that prevented video playback from starting when using HLS fallback mode. The issue affected WebView-based iOS apps that load the web application from local content, e.g. app bundle.
Changelog
Fixed
- resolved an issue on iOS 18.4+ that prevented video playback from starting when using HLS fallback mode
[4.30.0]
Release Notes
In this update, additional media and network capabilities are now logged in the onReady event. An issue was fixed where the player view was not correctly set up after a failed bintu source configuration. Additionally, an issue was resolved to prevent metrics and event duplication when multiple setup calls happen in quick succession.
Changelog
Added
- log additional media and network capabilities in
onReadyevent
Fixed
- removed an issue where the player view was not properly set up following a failed bintu source configuration
- resolved an issue that could cause metrics and event duplication when multiple setup calls occurred in rapid succession
Please find more about the stream switching and abr feature in our documentation
[4.29.0]
Release Notes
This release introduces a new configuration option for adaptive bitrate (ABR) setups.
You can now omit specific renditions in ABR configurations using the new config.source.options.adaption.omitRenditions parameter. This parameter accepts an array of predefined quality identifiers (e.g., "high", "medium", "low") or stream entry indexes (e.g., 0, 1, 2, etc.), providing greater flexibility in tailoring adaptive bitrate playback.
Additionally, an issue affecting the config.source.options.adaption.downStep value in group configurations has been resolved, ensuring proper functionality.
These updates enhance flexibility and reliability in ABR setups.
Changelog
Added
- introduced an option to omit specific renditions in ABR multi-stream configurations via Bintu stream group or entries:
- new parameter:
config.source.options.adaption.omitRenditions(type:array) - accepted values include predefined quality identifiers (type:
string) or stream entry indexes (type:number):- qualities:
"high","medium-high","medium","medium-low","low" - indexes:
0,1,2, etc.
- qualities:
- see the feature description for more details
- new parameter:
Fixed
- resolved an issue where the
config.source.options.adaption.downStepvalue was not applied correctly when using group configurations
[4.28.0]
Release Notes
This update introduces improved error observability and enhanced player responsiveness. Startup errors now include detailed insights, making it easier to identify and resolve playback issues during the initial loading phase, including the first 30 seconds of playback. For full details, refer to our Startup Errors Documentation. Additionally, the player’s resizing behavior has been optimized, ensuring a smoother experience when the container dimensions change. These enhancements ensure a more reliable and user-friendly experience.
Changelog
Added
- enhanced observability with additional information in the error event when identified as a startup error:
- errors occurring during playback attempts in the initial loading phase, including the first 30 seconds of playback
- for details, see Startup Errors Documentation
Improved
- optimized resizing behavior during player container dimension changes
[4.27.0]
Release Notes
This version includes a more robust conditioning for initial switch up which results in a faster up switch while using ABR. Applies to all platforms including iOS17, iOS18 and higher.
Changelog
Improved
- initial switch up time for ABR
[4.26.1]
Release Notes
With this patch version, we resolved an issue during player.setup that could cause an unhandled exception.
Changelog
Fixed
- error condition during
player.setupthat could result in an unhandled exception
[4.26.0]
Release Notes
This version includes several improvements. Playback attempts on mobile devices failing due to visibility state hidden at load start will now result in a dedicated event 1009. This allows for clearer differentiation from other startup errors, such as network or stream issues 2003 Not enough media data received. Further we improved playback start behavior in iOS WebView apps, which require user interaction for video playback in their WebView settings. Now, if a playback attempt is rejected due to missing user interaction, the player will emit error 1005 early on, allowing the application to prompt the user for interaction more quickly. Refer to recommended settings for iOS WebView:. In general find more information about error codes here:
API NanoPlayer..errorcode.
Changelog
Improved
- playback attempts on mobile devices failing due to visibility state
hiddenwill now result in a dedicated error event with code1009and messagePlayback failed because the player was in visibility state 'hidden' at load start.- allowing to distinguish from network or stream related startup errors, e.g.
2003 Not enough media data received.
- allowing to distinguish from network or stream related startup errors, e.g.
Fixed
- playback start behaviour in iOS WebView apps requiring user interaction for video playback
mediaTypesRequiringUserActionForPlayback- in case of a playback attempt rejected due to missing user interaction, the player will now emit error
1005 Playback must be initialized by user gesture.early on - this enables the application to handle the condition faster by asking the user to interact
- see recommended settings for iOS WebView:nanoplayer WebView iOS
- in case of a playback attempt rejected due to missing user interaction, the player will now emit error
[4.25.1]
Release Notes
In this patch release we enhanced the observability of player metrics to better monitor and ensure quality of service when using the Bintu configuration.
Changelog
Improved
- observability in player metrics for quality of service in case of bintu configuration being used
[4.25.0]
Release Notes
With this release, we've implemented handling for repeated switch stream failures by introducing cooldown functionality, thereby enhancing the robustness of stream switching.
Additionally, we've strengthened access to video elements, ensuring more reliable and stable functionality.
Furthermore, we've resolved issues related to preventing multiple 2004 errors and event order discrepancies when a bintu stream group is not live during setup.
Lastly, we've addressed a random playback error occurring when keepConnection was enabled, ensuring a smoother playback experience.
Changelog
Added
- handling in case of repeated switch stream fails via cooldown functionality
Improved
- hardening video element access
Fixed
- redundant
2004error in case a bintu streamgroup is not live at setup - random playback error with
keepConnectionenabled
[4.24.3]
Release Notes
This patch release is enabling H5Live-HLS fallbacks when access to ManagedMediaSource API is denied for locally loaded webpages in iOS WKWebView.
Changelog
Fixed
- H5Live-HLS fallback in case of a denied access to the ManagedMediaSource API for locally loaded webpages in iOS WKWebView
[4.24.2]
Release Notes
This patch release addresses an autoPlay issue occurring when the application called player.unmute() without user interaction context. This issue could result in black frames or errors during playback start if unmuted playback was not permitted. Further we enhanced the smoothness of stream switches specifically in H5Live-HLS mode, providing a better viewing experience for users.
Changelog
Fixed
- autoPlay issue in case of application calling
player.unmute()without user interaction context that could lead to black frames or errors during playback start if unmuted playback was not permitted
Improved
- smoothness during stream switches in H5Live-HLS mode
[4.24.1]
Release Notes
The update addresses an issue where playback would become stuck after repeated stream switches or pause/play actions in H5Live-HLS mode on iOS devices. Specifically, the fix resolves problems encountered with H5Live-HLS fallback when using locally loaded web pages in iOS WKWebView.
Changelog
Fixed
- playback stuck after repeated stream switches or pause/play in H5Live-HLS mode on iOS
- H5Live-HLS fallback with locally loaded web pages in iOS WKWebView
[4.24.0]
Release Notes
This release comes with several improvements. We added the use of a new lean response option via the Bintu API, which improves response times.
Further we improved the latency recovery during playback on desktop platforms when transitioning from a hidden to visible state, enhancing user experience.
Moreover, we implemented measures to prevent buffering when quality adaptations occur in streams ingested via WebRTC, ensuring smoother streaming experiences.
Additionally we improved the detection of iOS desktop mode and application of background suspension, ensuring consistent behavior across browsers and modes on iOS devices.
Also we addressed a bug where stream switching failed while in a paused state with keepConnection and forcePlay options enabled, improving overall functionality and stability.
We added a fix regarding the unintended fallback behavior in latency control mode fastadaptive to balancedadaptive for Safari versions 17.4 and above on MacOS Sonoma. The fallback was introduced in version 4.23.1.
As a last point we enabled H5Live-HLS fallbacks when access to ManagedMediaSource API is denied for locally loaded webpages in iOS WKWebView.
Changelog
Improved
- utilizing new lean response option for configuration via bintu API for a faster response
- faster latency recovery of playback via desktop when returning from hidden to visible state
- prevent buffering in case of quality adaptions in streams ingested via webrtc
- iOS desktop mode detection and application of background suspension to ensure consisent behaviour across browsers and modes on iOS
- use H5Live-HLS fallback in case of a denied access to the ManagedMediaSource API for locally loaded webpages in iOS WKWebView
Fixed
- stream switch failing in paused state with
keepConnectionandforcePlayoptions enabled - remove unintended fallback for latency control mode
fastadaptivetobalancedadaptivefor Safari 17.4+ on MacOS Sonoma (introduced in 4.23.1)
Please find more about the latency control modes feature in our documentation
[4.23.1]
Release Notes
In this latest release, we're exited to introduce enhanced playback support through the Managed Media Source API (MMSE) for iOS 17.1 and above. By default, this feature provides an upgraded media playback experience in line with desktop and Android platforms, resulting in improved latency, faster start-up times, and an overall enhanced user experience. In the event that MMSE API is unsupported or disabled, H5live-HLS will seamlessly take over on iOS.
Moreover, we've expanded support for the latency control mode balancedadaptive across all iOS versions. This empowers users to achieve lower latency while ensuring a smooth playback experience on iOS devices. For more detailed information, refer to our comprehensive feature description in the documentation.
Additionally, this version includes a general enhancement to buffer and latency control for H5live-HLS playback on iOS. These improvements contribute to an even more refined and optimized playback experience.
Changelog
Added
- support for playback via Managed Media Source API (MMSE) on iOS 17.1 and higher
- media playback workflow similar to desktop and Android
- replacing h5live-HLS
- improving: latency, start-up time, general UX
- support for playback with latency control mode
balancedadaptiveon iOS (all versions)- configuration fallback from
fastadaptivetobalancedadaptivemode - improving: latency (control)
- configuration fallback from
Improved
- buffer and latency control on iOS (all versions)
- workflow similar to desktop and Android
Fixed
- false positive
warningevent related toswitch.methodconfiguration on iOS - reconnect behaviour in
keepConnectionmode - adaptive bitrate control after error recovery on iOS
- redundant adaptive bitrate control down step attempts
Please find more about the fast playback start feature in our documentation
[4.22.3]
Release Notes
This version is improving the detection of supported browsers for iOS WebView apps with customized user agent strings.
Changelog
Improved
- detection of supported browsers for iOS WebView apps with customized user agent strings
[4.22.2]
Release Notes
This release introduces crucial improvements and fixes to elevate your streaming experience. We have addressed issues that had impacted playback on iOS devices, ensuring a smoother experience across various scenarios. This update focuses on improving playback latencies, stream switch buffering on iOS, fullscreen layout issues, and occasional exceptions during player destruction on iOS.
Changelog
Improved
- preventing higher playback latencies of some webrtc ingest streams that show frequent resolution adaptions
Fixed
- randomly occurring issue that could lead to repeated buffering after stream switches on iOS
- fullscreen layout issue after entering fullscreen mode more than one time
- affected screens with display ratios higher/wider than the player including mobile landscape orientation
- the bottom of the video was partially out of the display area
- (the issue has been introduced in v4.22.0)
- non critical exception occurring occasionally during
player.destroyon iOS
[4.22.1]
Release Notes
This version fixes a rare issue that could lead to incorrect startup stats, mainly occuring if the browser or tab was not visible in LOADING state.
Changelog
Fixed
- issue with incorrect startup stats in
LOADINGstate at visibilityhidden
[4.22.0]
Release Notes
This version is introducing the new Fast Start Mode feature that enhances playback start-up times with nanoStream Cloud.
This cutting-edge addition allows you to significantly reduce startup times when initiating playback.
Fast Start Mode can be enabled using the configuration setting config.playback.faststart.
Please note that it is disabled by default, so you have full control over its activation.
The unused option config.source.options.switch.fastStart has been deprecated.
Furthermore we have improved the Adaptive Bitrate (ABR) initial switch-up behavior in case of degraded network conditions. In addition, a layout issue that occurred after exiting fullscreen mode in Safari 16.5 macOS has been fixed.
Changelog
Added
- fast start mode feature for improved playback start-up times with nanoStream Cloud
- can be enabled via boolean
config.playback.faststart, disabled by default - fast start related values in
onStreamInfoandonPlayevent
- can be enabled via boolean
Improved
- initial ABR switch up behaviour in case of degraded network conditions
Fixed
- layout issue after exiting fullscreen mode in Safari 16.5 macOS
Removed
- deprecated unused option
config.source.options.switch.fastStart
Please find more about the media error recovery feature in our documentation
[4.21.0]
Release Notes
This release brings a range of enhancements and fixes to improve your experience. We have made adjustments to iOS buffer control to ensure best performance with iOS 17.
All metrics events now include an event counter and an indication of Document.visibilityState to provide deeper insights into user interactions.
Furthermore we've worked on enhancing iOS playback recovery. In case of network interruptions or degradations, the iOS playback will be recovered more smoothly.
An issue has been resolved that previously led to a false positive PLAYING state on iOS during network interruptions. This will result in more accurate playback status representation.
In addition we've addressed an issue that could occasionally lead to an incomplete or empty stats object in the onPlay event.
Changelog
Added
- iOS 17 related adjustment in iOS buffer control
- indication of
Document.visibilityStatein all metrics events - event counter in all metrics events
Improved
- iOS playback recovery in case of network interruptions or degradations
Fixed
- prevent false positive
playingstate in case of iOS network interruptions - issue that could cause an incomplete or empty
statsobject in theonPlayevent
[4.20.4]
Release Notes
This version fixes an issue that occurred when attempting media error recovery immediately after a switch stream fail on iOS. The issue was introduced in version 4.20.2. Additionally, an issue related to the interactionrequired error with code 1005 on iOS has been resolved. The onStreamInfo event will now be fired correctly before the onError and onPause events. This problem was introduced with the release of version 4.20.3.
Furthermore, a minor issue regarding the automute feature at delayed play attempts without prior or direct user interaction has been fixed. The same applies to unmute attempts without user interaction during playback, that was started in muted state. These attempts will now result in muted playback or, in the case of automute being disabled, in error 1005.
Changelog
Fixed
- issue in case of a media error recovery immediately after a switch stream fail
- correct emitting of
onStreamInfoin case of the error1005interactionrequiredon iOS - automute behaviour at delayed play or unmute attempts without prior or direct user interaction on iOS
[4.20.3]
Release Notes
This version is fixing an issue in context of a media error occuring during an ongoing stream switch. The issue has been introduced in version 4.20.2.
Changelog
Fixed
- issue in context of a media error occuring during an ongoing stream switch
[4.20.2]
Release Notes
This version is adding further improvements for error handling and automatic recovery on iOS.
The improvements include detection and automatic recovery in cases of stalled video playback due to
decoding issues and in cases of buffering errors that could formerly lead to playback stopping.
For further informations see the feature description for media error recoveries
and the errorcode definitions in the documentation.
Another improvement is related to updateSource API calls made during LOADING state.
Until now, updateSource API calls made during LOADING state could run into a loading timeout,
especially if initiated late in the loading phase. This will now be prevented by removing
the loading timeout in case of an updateSource API call during LOADING state.
The current playback time values in onStats events are now increasing continuously without setbacks
after stream switches and error recoveries on iOS to be consistent with other platforms.
Furthermore an issue related to failing rejections of unmuted autoPlay on iOS has been fixed. The issue has been introduced in version 4.19.
Changelog
Added
- detection and automatic recovery of stalled video playback due to decoding issues on iOS
- related error:
3005-'An error occurred while hls playback when decoding video.'
- related error:
- detection and automatic recovery of buffering errors on iOS
- related error:
3101-'An error occurred while buffering on hls playback.'
- related error:
- see
errorcodedefinitions - see feature description
Improved
- timeout handling in case of
updateSourceAPI calls during LOADING state - current playback time monotonically increasing after stream switches and recoveries on iOS
Fixed
- failing rejections of unmuted autoPlay on iOS
[4.19.2]
Release Notes
This version is introducing improvements for error handling and automatic recovery on iOS. Playback interruptions in context of stream switches in iOS low power mode have been fixed. Furthermore robustness for fullscreen handling in multi-player use cases has been increased. The improvement for classic playback on iOS 15 to avoid buffer impacts after adjusting latency has now been applied for iOS 16 as well. This was introduced in version 4.15.0.
Changelog
Improved
- automatic error recovery during an ongoing stream switch on iOS
- playback speed ~1.0 on iOS 16 as standard to reduce rebuffering effects after latency adjustment
Fixed
- playback interruptions in context of stream switches in iOS low power mode
- fullscreen handling with multiple player instances
- unreasoned configuration warnings for event handlers
onServerInfoandonFullscreenChange - added fields
id,player,version,stateinonFullscreenChangeevent object
Please find more about the stream group configuration feature in our documentation
Please find more about secure playback with JWT in our documentation
[4.18.0]
Release Notes
This version is introducing two new features.
Utilizing the new bintu stream group feature, it is now possible to configure an entire set of ABR streams by passing only the corresponding bintu stream group id via the player source configuration. This allows a much easier configuration for ABR playback. All existing options that are part of the configuration remain unchanged.
Please find more about the stream group configuration feature in our documentation.
Furthermore, this version is adding support for the new secure playback using JSON Web Token (JWT).
The new token type can contain playback permissions for one or more stream names.
This way a single token can be used for all secure use cases.
It can be applied with the current entries configuration and with the new group configuration.
Please find more about secure playback with JWT in our documentation.
Since this version, the nanoStream Player will not attempt to autoplay non live streams configured via bintu stream ID or bintu group ID after the setup call.
Instead it will pause with reason 'sourcestreamstopped' and emit the error event 2004 with message 'The source stream has been stopped.'.
This will enable the nanoStream Player to properly initialize in the setup method and allow users to reattempt playback even if the stream was not in live state at the time of the initialization.
Changelog
Added
- stream group configuration via
config.source.groupobject- see feature description
- support for secure playback using JSON Web Token (JWT)
- see feature description
Improved
- player setup with bintu stream ID or bintu group ID if the stream in not
live
Please find more about the video processing feature in our documentation
[4.17.0]
Release Notes
This version is adding a new public event to the player. The event onActiveVideoElementChange is emitted when the active video element for playback has been created and if the element has been changed in case of a stream switch on iOS. The event data is providing the activeVideoElement and the complete videoElementList.
Having a reference to the activeVideoElement simplifies use cases like drawing or rendering images to a canvas or saving snapshots from the video.
See the api description of the event and our docs feature entry for more information.
Changelog
Added
- new public event
onActiveVideoElementChange- is emitted when the active video element for playback has been created and if the element has been changed in case of a stream switch on iOS
- provides the
videoElementList {Array.HTMLVideoElement}and theactiveVideoElement {HTMLVideoElement}in the event data - see the api description
[4.16.0]
Release Notes
This version adds the possibility to set a general H5Live server domain. A domain can be applied via config.source.general.serverDomain. This can be especially useful with configurations via source.defaults or bintu.streamid. By default, these configurations are using the standard geo-load-balanced domain namest. Please find further information in our documentation regarding this feature.
In addition an issue in relation to timed out stream switches has been fixed. Previously this could lead to a temporarily inconsistent internal stream state.
Changelog
Added
- new config parameter
config.source.general.serverDomain- will override/modify all h5live server domains
Fixed
- internal stream state after timed out stream switches
[4.15.0]
Release Notes
This version is adding improvements for ABR playback. It implements a cooldown mechanism to control the next up-switch. Too frequent up- & down-switches will be prevented. This improves the user experience especially in case of slight but frequent buffer impacts e.g. in case of limited network ressources. Furthermore this release includes an improvement for classic playback on iOS 15 to avoid buffer impacts after adjusting latency. Also the visual switching behaviour on iOS has been improved to prevent a possible black frame effect.
Changelog
Added
- ABR upswitch cooldown mechanism to avoid too frequent up- & down-switches in certain scenarios
Improved
- playback speed ~1.0 on iOS 15 as standard to reduce rebuffering effects after latency adjustment
- z-index only for video element switch on iOS to avoid black frame effect
Please find more about the latency control modes feature in our documentation
[4.14.2]
Release Notes
This release is solving issues related to the center view player controls and the layout in fullscreen mode. Previously in case the bottom control bar was disabled, the center view player control did not trigger related actions. It occurred after a resize of the player e.g. upon entering the fullscreen mode or mobile device rotation. Furthermore a fullscreen layout issue has been resolved. Before, parts of the player were not being rendered inside of the display area under following circumstances: If CSS padding was set on the player div and the player's aspect ratio did not match the form factor of the screen.
Changelog
Fixed
- center view player controls not triggering related actions if the bottom control bar was disabled
- the issue occurred after a resize of the player (e.g. mobile device rotation or entering fullscreen mode)
- potential layout issue in fullscreen mode
- if CSS padding was set on the player div and the player's aspect ratio did not match the form factor of the screen
[4.14.1]
Release Notes
This release introduces two new latency control modes targeting especially lowest latency use cases like live auctioning.
The latency control mode can be selected via the added config.playback.latencyControlMode configuration parameter.
The established latency control mode is available as the 'classic' option which remains to be the default mode.
In addition the new latency control modes 'balancedadaptive' and 'fastadaptive' have been added.
According to the current stream and network conditions they can adjust the latency adaptively.
This allows to achieve a lower latency while keeping the playback experience smooth.
Please find further information in our feature description in the documentation.
Changelog
Added
- added latency control modes and related configuration parameter
- configuration parameter:
config.playback.latencyControlMode - string values:
'classic','balancedadaptive','fastadaptive'
- configuration parameter:
Improved
- improved handling in case of video frames being dropped by the browser
Please find more about the source defaults feature in our documentation
[4.13.3]
Release Notes
This version includes a fix for a potential CSS layout issue in iOS fullscreen mode, that could lead to page elements unintendedly being displayed above the video layer. The issue has been introduced in version 4.13.2.
Changelog
Fixed
- CSS layout issue in iOS fullscreen mode
[4.13.2]
Release Notes
This version provides an improvement for iOS metadata processing. The new mode is preventing occasionally delayed metadata on iOS and is enabled by default.
To go back to legacy mode it can be disabled by setting the new parameter config.playback.metadataLowDelay to false.
Also an issue with changing the metadata connection at stream switch on iOS with switch method 'client' has been solved.
Further this patch includes a fix for a potential css related layout issue in iOS fullscreen mode.
Changelog
Improved
- modified metadata processing to prevent occasionally delayed metadata on iOS
- can be disabled via new parameter
config.playback.metadataLowDelayset tofalse - default:
true
- can be disabled via new parameter
Fixed
- change metadata connection on iOS at stream switch with switch method
'client' - prevent iOS fullscreen layout issue by adding
!importantflag to position
[4.13.1]
Release Notes
This version includes a patch regarding the player's style.scaling configuration and updateSource. If style.scaling is set to a different value as default 'letterbox' e.g. 'crop' or 'fill'
this setting will now always be preserved during an updateSource call.
Before the player styling was
falling back to default values after an server-side updateSource call if the new target stream name
and the previous stream name were the same.
Further an issue with updateSource in PAUSED state with source.options.switch.forcePlay set to false and ABR enabled is solved, preventing unintended switching in PAUSED state.
Changelog
Fixed
style.scalingwith non-default value will be preserved duringupdateSourcewith server-side switch to the same stream- initial switch up interval with ABR configured
sourcewill be prevented from starting inPAUSEDstate
[4.13.0]
Release Notes
This version introduces the new source defaults feature that simplifies the source configuration by adding defaults.service to the config.source object. If a service is set, the h5live.server object and the h5live.rtmp.url in each entry can be omitted. In this case defaults will be applied internally. Values for h5live.server and/or h5live.rtmp.url that are defined explicitly in the entry have priority. The available value for defaults.service is 'bintu' for using the standard nanoStream Cloud. See our docs feature entry for more information.
Furthermore this release includes improvements in preventing exceptions in case of DOM access restrictions or unreachable DOM elements.
A last change is regarding the metrics module of the player. The minimum value of the metrics.statsInterval parameter has been raised to 5 seconds.
Changelog
Added
- new
config.sourceparameterdefaults.servicefor simplifying configuration if the standard nanoStream Cloud is used
Improved
- handling of DOM access restrictions or unreachable DOM elements
Changed
- minimum value of
metrics.statsIntervalset from1to5seconds
[4.12.1]
Release Notes
This version is fixing a layout issue in fullscreen mode on iOS that occurred if special CSS position settings in the page are used. It could happen that the player becomes invisible at first fullscreen entering. Furthermore it is containing a minor fix related to config source params object and multi stream configuration.
Changelog
Fixed
- player invisibility issue at fullscreen enter on iOS with special CSS position settings
- config source
paramsobject usage with multi stream configuration
[4.12.0]
Release Notes
This version is adding the option to configure the minimum number steps during an ABR initialized switch down via the adaption.downStep parameter. Potential related use case are configurations containing a higher number of qualities or configurations with rather close rendition bitrates.
The detection of the available buffer time has been improved for iOS in general and iOS 15 in particular.
A timing related condition that could lead to buffering after a stream switch has been fixed.
The start-buffer calculation in bufferDynamic mode has been fixed to prevent out of range values.
Assigning null values to non mandatory configuration parameters will no longer lead to a setup error.
Changelog
Added
- new option
config.source.options.adaption.downStep-
for ABR automatic 'deviationOfMean' and 'deviationOfMean2' only
-
allows to define the minimum number of steps during a ABR initialized down switch via the
adaptionobject -
if the number of remaining lower renditions is smaller than the value then the switch will be performed to the lowest rendition
-
default value is
1 -
e.g.:
"adaption": {"rule": "deviationOfMean2","downStep": 2}
-
Improved
- detection of the available buffer time for iOS in general and iOS 15 in particular
- config warning message in case of wrong configured properties of an entry
Fixed
- timing related condition that could lead to buffering after a stream switch
- start-buffer calculation in cooldown if
bufferDynamicis enabled- prevent lower values than the original configured start buffer value
- assigning
nullvalues to non mandatory configuration parameters will no longer lead to a setup error
[4.11.3]
Release Notes
This version is fixing a video layout issue on iOS that occurred in the integrated WebView of a major social media app. Furthermore it is containing a fix related to the display of the player control bar after tapping on older iOS versions 12 and lower. The issues have been introduced in version 4.10.6. Moreover an issue with poster scaling and aspect ratio changing of the player is solved.
Changelog
Improved
- validation of parameter config.source.startIndex
Fixed
- video layout issue on iOS in the integrated WebView of a major social media app
- display of the player control bar after tapping on older iOS versions 12 and lower
- poster scaling while aspect ratio of the player is changing
[4.11.0]
Release Notes
This version is adding improvements to the fullscreen mode in general and in particular for iOS.
The player background color can now be customized for standard and
fullscreen mode separately via the new configuration parameter
config.style.fullScreenBackgroundColor. The default value
is the standard background color config.style.backgroundColor.
The following improvements to the fullscreen mode have been added for iOS Safari and Chrome
- Preventing the page body from becoming visible during orientation changes and zoom gestures
- The fullscreen background color will be applied to the notch areas present on iPhone X/11/12
- Improved up/down swipe handling to hide/show browser address bars
- Improved layout calculation in Chrome iOS
- Restoring the initial page scroll position when exiting fullscreen mode
- Player borders will be hidden in fullscreen mode
Changelog
Added
- separate fullscreen background color parameter
config.style.fullScreenBackgroundColor
Improved
- fullscreen appearance in Safari and Chrome iOS
- preventing the page body from becoming visible during orientation changes and zoom gestures
- the fullscreen background color will be applied to the notch areas present on iPhone X/11/12
- improved up/down swipe to hide/show browser address bars
- layout calculation in Chrome iOS
- restoring the initial page scroll position when exiting fullscreen mode
- player borders will be hidden in fullscreen mode
Fixed
- script error in nanoplayer-multi demo page
Please find more about the media error recovery feature in our documentation
[4.10.6]
Release Notes
This version implements a fix for an issue with the control bar appearing by tapping the player's surface on iOS.
The control bar didn't appear by tap in PAUSED state with keepFrame disabled.
Changelog
Fixed
- control bar appearing in
PAUSEDstate withkeepFramedisabled on iOS
[4.10.5]
Release Notes
This version provides a fix for an error related to the player view.
The issue occurred in case of a rejected setup call or if
the config.playback object was not defined in the configuration.
The player view is enabled by default (config.style.view=true).
Changelog
Fixed
- prevent view initialization error in case of:
- setup call rejection with error
5xxx - undefined
config.playbackobject
- setup call rejection with error
[4.10.4]
Release Notes
This version implements an automatic recovery workflow for certain media errors that can occure during playback. Recoverable errors are 3003, 3100 and 1008.
The allowed number of recoveries within 60 seconds (default: 3) can be customized by the new config parameter playback.mediaErrorRecoveries.
Further the support of the native HTMLMediaElement attribute crossOrigin is added and can be set via the new config parameter playback.crossOrigin.
The values can be 'anonymous', 'use-credentials' and 'not-set' (default).
Part of this release are minor adjustments for metrics and an improvement of the Mac OS version detection.
Also an issue with the interaction of the style.keepFrame and the style.poster (since 4.9.1) functionality is fixed.
Now after a pause the last frame will be kept instead of displaying the poster image with keepFrame enabled.
Changelog
Added
- automatic recovery workflow for media errors
- recoverable error codes:
3003(media decode error)3100(media source ended)1008(hls playback error)
- new config parameter (number)
playback.mediaErrorRecoveries, default:3, to set the number of max recoveries within 60 seconds - recoveries will be indicated by an
onWarningevent - sample warning message:
'Recovering from media error 3003, recovery 1/3 within the last 60 seconds (12 total).'
- if threshold reached the error will be thrown followed by a pause with reason
'playbackerror' - see playback section in config
- see feature description
- recoverable error codes:
- support of native
crossOriginattribute for HTMLMediaElements (applies to all player-internal video & image elements)- new config parameter (string)
playback.crossOrigin, default:'not-set' - sets or disables the native "crossOrigin" attribute for all internal video elements and images (poster)
- possible values are:
'anonymous''use-credentials''not-set'(default), if used the attribute will not be added
- see playback section in config
- new config parameter (string)
Improved
- minor adjustment for metrics
- Mac OS version detection
Fixed
- keepFrame functionality while poster is set (Note: keepFrame is not supported on iOS)
[4.9.2]
Release Notes
This version comes with several small improvements and fixes. An infinite loop related to error code 1004 is now prevented. It occurred if play or pause was triggered before the player setup was finished. This non-critical error 1004 has been changed now to a warning. Further providing the correct Mac OS X version for player metrics has been improved and a wrong detection of unsupported Chromium browsers on Mac OS X has been fixed (introduced in 4.9.1). Also an error on iOS with the keepConnection option enabled has been fixed.
For the view a small fix for the style option config.style.audioPlayer related to the displayed height on mobile devices has been done.
Changelog
Improved
- change non-critical error
1004to warning"A pause call has been ignored since the player has not been set up successfully." - provide correct Mac OS X version to player metrics
- correct player height on mobile devices if
config.style.audioPlayerset totrue
Fixed
- prevent infinite loop related to error code
1004in case of play/pause before player is ready - unsupported browser detection for Chromium on Mac OS X if codecs not present (introduced in 4.9.1)
- playback starts on iOS with
config.playback.keepConnectionset totrue
[4.9.1]
Release Notes
This version introduces a redesign of the player internal icons and control bar appearance including customizable colors and transparency.
The default color scheme is providing a more modern and familiar look and feel.
The symbol color can be customized via the config.style.symbolColor parameter (default: "rgba(244,233,233,1)").
The control bar background color can be customized via the config.style.controlBarColor parameter (default: "rgba(0,0,0,0.5)").
The given color string can be a valid css (case insensitive) keyword, hex code with/without alpha, rgb, rgba, hsl or hsla. Example values: "white", "#ffffff", "rgba(237,125,14,0.5)".
The highlighting of the clickable buttons can be disabled via config.style.buttonHighlighting=false. The animation of the clickable buttons can be disabled via config.style.buttonAnimation=false.
Also the cursor at button mouseover (default: "pointer") can be customized over config.style.buttonCursor by passing a valid css cursor keyword or url.
Furthermore support for poster images has been added. Poster images can be applied via the config.style.poster parameter. The string has to be a relative or absolute path to a valid "img" element source like "./assets/poster.png" or "https://[YOURDOMAIN]**/assets/poster.gif".
Changelog
Added
- redesign of the player internal icons and control bar appearance
- customizable icon and control bar background colors and transparency
- customizable button behaviour
- support for poster images
Improved
- iOS desktop mode detection and handling in Safari and Chrome
Fixed
- setVolume method not applying the value 0/zero
- use 'parentNode' instead of 'parentElement'
[4.8.1]
Release Notes
This version improves the compatibility of the player. The 'toLocaleTimeString' functionality was replaced to avoid potential issues with javascript polyfills.
Changelog
Improved
- remove 'toLocaleTimeString' usage
[4.8.0]
Release Notes
This version introduces a new error code. In case the media element fires an error event without a specific error code the new player error code 3200 with the message An unspecific media error occurred. will be passed in the onError event. Furthermore a WebSocket prototype polyfill is removed completely. This finally solves a compatibility issue with connection handling with angular/zone.
Changelog
Improved
- add new error code
3200-An unspecific media error occurred. - removed WebSocket prototype polyfill
Please find more about the fullscreen API feature in our documentation**
[4.7.8]
Release Notes
This version patches minor issues. One patch addresses a compatibility issue with angular zone.js. The other one improves the behaviour of internal iframe handling on iOS in case of unavailability.
Changelog
Improved
- check for WebSocket event listener manipulation, use default 'on' syntax internally
- improved internal iframe handling on iOS in case of unavailibility
[4.7.6]
Release Notes
This version implements minor internal improvements for config validation and playback start. It also contains a fix related to playback suspension on iOS devices running Safari with activated desktop mode.
Furthermore, the default overlay controls are displayed properly on smaller screen widths.
Changelog
Improved
- config validation and playback start
- playback suspension on iOS devices and Safari with activated desktop mode
- display of default overlay controls on smaller screen widths
[4.7.1]
Release Notes
This version implements the fullscreen API which enables to request and exit the player's fullscreen mode. The new public event 'onFullscreenChange' indicates that the fullscreen mode has been changed.
The animations and icons in the center of the player can now be independently enabled or disabled by setting the new style.centerView config property to either true or false.
Changelog
Added
- fullscreen API
- new public methods: 'requestFullscreen()' , 'exitFullscreen()'
- new public event: 'onFullscreenChange'
- enable / disable animations and icons in the center of the player independently with
style.centerViewconfig property
[4.6.1]
Release Notes
By enabling the source.options.switch.forcePlay config property a paused playback starts after the execution of a 'switchStream' or 'updateSource' request. This obviates the need for an additional play call.
To improve the overall switching behavior paused switch completion has been added, meaning a pending 'switchStream' or 'updateSource' request will be completed as the player enters the paused state.
The related completion event either 'switchStreamSuccess' or 'updateSourceSuccess' will be emitted to the application level.
This version prevents an occasional CPU load issue on Firefox. To provide additional information to the client metrics the new public event 'onServerInfo' has been added. Version 4.6.1 implements an updated version of the Bintu-Client API internally.
Changelog
Added
- paused switch completion to complete pending 'switchStream' or 'updateSource' request as player enters paused state
- public event 'onServerInfo'
Improved
source.options.switch.forcePlayconfig property starts a paused playback after 'switchStream' or 'updateSource' request execution- prevent an occasional CPU load issue on Firefox
- implement updated version of Bintu-Client API
[4.5.6]
Release Notes
This version contains improvements for stream swiching, buffering metrics validation and connection flags.
Changelog
Improved
- stability of general stream switching
- validation of buffering metrics
- connection flags setting
[4.5.2]
Release Notes
This version contains a minor internal metrics adjustment.
Changelog
Improved
- minor metrics adjustment
[4.5.1]
Release Notes
This version implements seamless ABR and stream switching for iOS and iPadOS devices which works with 2 video elements internally.
In special use cases where external video elements are used for playback an array of maximal two external video element IDs can be provided via the playback.videoId config property.
Important note: On iOS devices the default z-index of the video layer had to be changed from 0 to 1. In case of using custom controls or overlays please make sure to use a z-index > 1.
The new ABR mode, adaption rule, 'deviationOfMean2' has been added. The new rule is slightly less strict and especially recommended for streams that are already more volatile on the source/ingest side.
This version adjusts the default timeout for the update source request to 20 seconds to improve the overall switching behavior.
The style.displayMutedAutoplay config property is re-enabled which shows a muted audio symbol in case of muted autoplay.
The style.displayMutedAutoplay option can be disabled to maintain the recent behaviour.
The handling of mute states and autoPlay has been improved.
Changelog
Added
- seamless ABR and stream switching for iOS and iPadOS devices
- new adaption rule 'deviationOfMean2'
Improved
- iOS & iPadOS seamless stream switching needs 2 video elements internally. So for special use cases where existing video tags need to be used for playback an array of maximal two element Ids can be provided via the
playback.videoIdconfig property (NOT mandatory)- if 0 Ids are provided 2 video elements will be created internally
- if 1 Id is provided the other video element will be created internally
- set the default timeout for the update source request to 20 seconds to improve the overall switching behavior
- can be configured via the
source.options.switch.timeoutconfig property (we advise to use default value)
- can be configured via the
- re-enabled
style.displayMutedAutoplayconfig property to show a muted audio symbol in case of muted autoPlay - handling of mute states and autoPlay
[4.3.2]
Release Notes
This version introduces the 'setAdaption' API to switch between adaption rules (ex. enable/disable ABR). Furthermore, this version implements optimizations for the ABR feature and minor internal, config and metrics adjustments. Additionally, this version prevents non-critical console errors during initialization and fixes a timeout error during client-side switchStream/updateSource.
Please find more about setAdaption API in our documentation.
Changelog
Added
- 'setAdaption' API:
- use to switch between adaption rules (ex. enable/disable ABR)
Improved
- ABR:
- initial switch up for oscillating source streams
- handle continuous buffering events
- config:
- adjust switchStream event registration
- enable bintu multi-stream configuration
- minor metrics improvement
- prevent non-critical console errors during initialization in 'hidden' state
Fixed
- timeout error during client-side switchStream/updateSource
[4.2.5]
Release Notes
This version handles the usage of metrics with the old deprecated single stream configuration over 'config.source.h5live'.
See our documentation for detailed information about the new stream configuration.
Changelog
Fixed
- handle deprecated 'config.source.h5live' notation for correct metrics
[4.2.4]
Release Notes
This version removes a warning in case only a single stream is configured.
Changelog
Improved
- remove adaption rule warning if only one entry configured
[4.2.3]
Release Notes
This version handles a timestamp offset caused by stream switching to make correct time operations.
Changelog
Fixed
- note timestamp offset after stream switch
[4.2.2]
Release Notes
This version comes with further ABR and internal improvements and also corrects switch related parts.
Changelog
Improved
- ABR suggestion performance
- overall internal optimizations
Fixed
- always set new connection when updating source with new server
- correct error object on initialization error when updating source
[4.2.1]
Release Notes
This version communicates additional switchStream and updateSource API related data to the metrics service. Furthermore, the ABR prediction cycle is improved to reduce load.
Changelog
Improved
- additional switchStream and updateSource API event data to metrics
- optimize ABR prediction cycle
[4.2.0]
Release Notes
This version implements the communication of switchStream and updateSource API events and data to the metrics service. In addition the internal 'streamInfo' event flow is improved and detailed stream information propagated through the event object.
Please find more about the stream switching & ABR feature in our documentation.