Skip to main content
Version: 6.13.0

Changelog

🚀 6.13.0 (2024/03/28)

Web

✨ Features

  • For Google IMA, added the option to pass uiElements to the Google IMA SDK using PlayerConfiguration.ads.googleIma.uiElements.

🐛 Issues

  • Fixed an issue on smart TVs where switching to or from an opus audio track could cause playback issues.
  • Fixed an issue on Android devices where sometimes the gyroscope would not work immediately after playing a VR source inside an iframe.

👎 Deprecations

  • Deprecated PlayerConfiguration.ads.showCountdown in favor of PlayerConfiguration.ads.googleIma.uiElements.

Android

🐛 Issues

  • Fixed an issue where mediaTracks were not consistent between cast sender and receiver.
  • Fixed an issue where MediaTailorSource.Builder#src(String) did not have all setters as TypedSource.Builder has.
  • Fixed an issue where video playback was failing if network connection was too slow.
  • Fixed an issue where the player would not cancel request if they took too long, for example after a big network drop.

👎 Deprecations

  • Deprecated setter in MediaTailorSource.Builder#src(String) for source URL in favor of Builder with a parameter MediaTailorSource.Builder#Builder(String)
  • Deprecated MediatailorSource.Builder() default constructor in favor of constructor with a parameter MediaTailorSource.Builder#Builder(String)
  • Deprecated unused RequestCallback interface.
  • Deprecated asynchronous Player APIs in favor of the respective synchronous ones.
  • Deprecated CastIntegrationFactory.createCastIntegration(THEOplayerView) API in favor of CastIntegrationFactory.createCastIntegration(THEOplayerView, CastConfiguration).
  • Deprecated THEOplayerSettings#setFullScreenOrientationCoupled(boolean) in favor of FullScreenManager#setFullScreenOrientationCoupled(boolean).
  • Deprecated THEOplayerSettings#isFullScreenOrientationCoupled() in favor of FullScreenManager#isFullScreenOrientationCoupled().
  • Deprecated THEOplayerSettings#setFullscreenOrientation(@ScreenOrientation int) in favor of FullScreenManager#setFullscreenOrientation(@ScreenOrientation int).
  • Deprecated THEOplayerSettings#getFullscreenOrientation() in favor of FullScreenManager#getFullscreenOrientation().
  • Deprecated AdsConfiguration in favor of integration specific configuration.

iOS

✨ Features

  • Added conformance to Apple's new privacy policy for API usage.

👎 Deprecations

  • Deprecated AnalyticsDescription and AnalyticsIntegration types.
  • Deprecated setPreload method in favor of preload property setter.
  • Deprecated setPlaybackRate method in favor of playbackRate property setter.
  • Deprecated Verizon Media related types.
  • Deprecated GoogleIMAAdsConfiguration & GoogleIMAConfigurationBuilder. Configuration for Google IMA is moved to THEOplayerGoogleIMAIntegration.
  • Deprecated PiPConfiguration.init methods in favor of PiPConfigurationBuilder. The nativePictureInPicture property in PiPConfigurationBuilder defaults to true.
  • Deprecated obsolete EventDispatcher class.
  • Deprecated Conviva related types. Conviva feature has moved to THEOplayer-Connector-Conviva.
  • Deprecated AudioQuality type.
  • Deprecated UIConfiguration type.
  • Deprecated AdsConfiguration type.
  • Deprecated THEOplayerConfiguration.init methods in favor of THEOplayerConfigurationBuilder.
  • Deprecated chromeless, ads, ui, cssPaths, jsPaths, jsPathsPre, defaultCSS, pictureInPicture, analytics and cast properties from THEOplayerConfiguration.
  • Deprecated SpotX related types.
  • Deprecated THEOplayerCastHelper in favor of THEOplayerGoogleCastIntegration.CastIntegrationHelper.
  • Deprecated GoogleDAIAdsConfiguration & GoogleDAIAdsConfigurationBuilder. Configuration for Google DAI is moved to THEOplayerGoogleIMAIntegration.
  • Deprecated analytics property from SourceDescription and SourceDescription.init.
  • Deprecated vr property from SourceDescription and SourceDescription.init, and VRConfiguration type.
  • Deprecated THEOplayer.related property, RelatedContent type, and all related RelatedContent types.
  • Deprecated addJavascriptMessageListener, removeJavascriptMessageListener and evaluateJavaScript methods from THEOplayer.
  • Deprecated THEOAdDescription type.
  • Deprecated YouboraOptions type.
  • Deprecated AdPreloadType type.

tvOS

👎 Deprecations

  • Deprecated tvOS specific THEOplayer initializers. Moving forward, iOS and tvOS THEOplayer initializers are unified.
  • Deprecated MenuItem and MenuLayoutConfigurator types.

🚀 6.12.1 (2024/03/18)

Android

🐛 Issues

  • Fixed an issue where AdError object was not dispatched in case of AdErrorEvent in DAI.

iOS

🐛 Issues

  • Fixed an issue where THEOplayerGoogleIMAIntegration reported compatibility issues during build time.

🚀 6.12.0 (2024/03/12)

General

⚡ Improvements

  • Improved the behaviour of the player when segments in a DASH stream are unavailable by marking the missing data as a gap.

🐛 Issues

  • Fixed an issue where the player sometimes would download the wrong segment after a hard discontinuity switch.

Web

✨ Features

  • Added the option to localize the Google-IMA integration when using a ChromelessPlayer using PlayerConfiguration.ads.googleIma.language. Previously this was only possible using PlayerConfiguration.ui.language.

🐛 Issues

  • Fixed non-linear ads not showing.
  • Fixed an issue where the player could error with an out-of-bounds exception during the parsing of TextTrack cues.
  • Fixed an issue where the player would download HLS renditions and segments twice on certain streams containing combined audio/video segments.
  • Fixed an issue where Fairplay protected streams would not play on iOS 17.1+ devices when useManagedMediaSource was enabled.

Android

🐛 Issues

  • Fixed an issue where on audio-only HLS streams, the play() function needed to be called twice to initiate playback.
  • Fixed an issue where a crash occurred sometimes while accessing player.metrics.getCurrentBandwidthEstimate().
  • Fixed an issue where MP3 streaming playback was broken.
  • Fixed a bug where sometimes last video frame was not cleared after calling stop() or source set to null.
  • Fixed an issue where the content of an EMSG metadata cue was not correctly formatted.

iOS

✨ Features

  • Make THEOplayer.videoRect property observable.
  • Introduce AVPictureInPictureControllerDelegateExtended protocol to help monitor changes to isPictureInPicturePossible.
  • Introduced GoogleImaAdErrorEvent in THEOplayerGoogleIMAIntegration. It can be cast from AdErrorEvent returned by the event listener of type AdsEventTypes.AD_ERROR.

🐛 Issues

  • Fixed an issue caused by IMASettings, where IMA ads would be incorrectly unmuted.
  • Added support for MP3 playback.

🚀 6.11.0 (2024/02/27)

Web

🐛 Issues

  • Fixed an issue where VMAPs would not be scheduled in the Google IMA intergration if player.currentTime was set before initial playback.
  • Fixed an issue where the browser tab could hang when removing the player from the DOM without calling player.destroy(), while the player is rendering WebVTT subtitles.
  • Fixed a CSS issue where the control bar could sometimes have a very small vertical overflow, which could lead to unwanted scrollbars when the player is embedded in an <iframe>.
  • Fixed an issue where very old browsers could not play using MSE.

Android

✨ Features

  • Added side-loaded WEBVTT text track support for progressive MP4 assets.

iOS

✨ Features

  • Added side-loaded WEBVTT text track support for progressive MP4 assets.
  • Added NetworkConfiguration to THEOplayerConfiguration. This allows to configure the user agent header for network requests executed by THEOplayer.
  • Added NetworkConfiguration to CachingParameters. This allows to configure the user agent header for network requests executed by the caching task.

🐛 Issues

  • Fixed an issue where streaming through a chromecast receiver would not dispatch a durationChange event after loading a source.
  • Fixed an issue where setting a new source on iOS during a chromecast session, would start playout for that source on the startTime of the previously casted source.

🚀 6.10.1 (2024/02/20)

Web

⚡ Improvements

  • Improved the downloading behavior for DASH segments on bad network.

🚀 6.10.0 (2024/02/13)

Web

✨ Features

  • Added BaseSource.seamlessSwitchStrategy to configure the player's decision to switch seamlessly on a discontinuity for HLS or a period on DASH. This replaces the DashPlaybackConfiguration.useSeamlessPeriodSwitch for DASH.

🐛 Issues

  • Fixed an issue for HLS streams where the fallback logic didn't start if there was a backup rendition with the same bandwidth.
  • Fixed an issue where the player with the combination of preloading metadata and autoplay would create the audio tracks twice.
  • Fixed an issue where WebVTT cues with the same line attribute but different start times would be rendered in the wrong order.
  • Fixed an issue where WebVTT cues would sometimes be rendered with an extra empty line in between.
  • Fixed an issue where some webOS devices could run out of memory when rapidly resetting an HLS source containing MPEG-TS.
  • Fixed an issue where our TypeScript types were using a newer DOM type (VideoFrameCallbackMetadata) that is missing in older versions of TypeScript, causing compatibility issues.

👎 Deprecations

  • Deprecated DashPlaybackConfiguration.useSeamlessPeriodSwitch in favor of BaseSource.seamlessSwitchStrategy.

Android

✨ Features

  • Exposed ImaSdkSettings in GoogleImaIntegration

🐛 Issues

  • Fixed an issue where sometimes Google IMA VMAP midrolls wouldn't play.

👎 Deprecations

  • Deprecated the usage of UIConfiguration for setting IMA and DAI language settings. Use the ImaSdkSettings object for language configuration instead.

iOS

✨ Features

  • Dispatch AdTappedEvent from THEOplayerGoogleIMAIntegration.
  • Add IMASettings as a parameter to the GoogleIMAIntegrationFactory.createIntegration API. This allows IMA SDK wide settings to be configured.
  • Introduced a videoRect property to THEOplayer API which returns the size and position of the video image as displayed within the player's bounds.
  • Introduced an aspectRatio property to THEOplayer API which gets and sets the player's AspectRatio.
  • Introduced a new player event type PlayerEventTypes.ASPECT_RATIO_CHANGE which dispatches an AspectRatioChangeEvent when the player's aspect ratio changes.

🐛 Issues

  • Fixed issues where redundant durationchange events were fired when IMA and DAI ads began/ended.

👎 Deprecations

  • Deprecated the getter property Fullscreen.aspectRatio in favor of the getter property THEOplayer.aspectRatio.
  • Deprecated the setter method Fullscreen.setAspectRatio in favor of the setter property THEOplayer.aspectRatio.
  • Deprecated the event type FullscreenEventTypes.ASPECT_RATIO_CHANGE in favor of the event type PlayerEventTypes.ASPECT_RATIO_CHANGE.

🚀 6.9.0 (2024/01/30)

General

🐛 Issues

  • Fixed an issue where an alternative rendition in an HLS manifest with the same URI but a different groupID as another rendition is omitted.

Web

✨ Features

  • Added SourceDescription.streamType to hint the player in advance whether the source is a VOD, live or DVR stream. This is required for live and DVR streams when casting to Chromecast, in order for the receiver to show the correct UI.
  • Added support for casting Google IMA ads to Chromecast.
  • Added support for player.ads.currentAds, .currentAdBreak, .scheduledAds and .scheduledAdBreaks when using the Google IMA integration.

🐛 Issues

  • Fixed an issue where pausing and then playing within a Google IMA ad would sometimes prematurely end the entire ad break.
  • Fixed an issue for VR where requesting device motion permissions on iOS devices would not immediately allow the gyroscope to work.
  • Fixed an issue with Google IMA where changing a source containing a VMAP with at least a postroll ad could incorrectly schedule the ads of the new source.

Android

✨ Features

  • Added support for clickthrough ad functionality in the MediaTailorTrackingEvent, allowing to fetch clickthrough and clicktracking URLs from MediaTailor ads

🐛 Issues

  • Fixed an issue where changing the device orientation from landscape to reverse landscape before the player loads would result in a black screen
  • Fixed an issue where the player would return an empty seekable for an mp4 source while seeking.

iOS

✨ Features

  • Add subspecs to IMA and GoogleCast THEOplayer integrations distributed on Cocoapods. Base subspec (e.g. pod THEOplayer-Integration-GoogleIMA/Base) fetches the integration without the SDK dependency, meanwhile the Dependencies (e.g. pod THEOplayer-Integration-GoogleIMA/Dependencies) subspec defines the SDK dependencies. No changes are required for Podfiles where the dependency needs to be fetched.

🐛 Issues

  • Fixed an issue where enabling an audio track would result in no audible output.
  • Fixed an issue where setting the abr configurations before setting the player source would fail

🚀 6.8.1 (2024/01/25)

General

🐛 Issues

  • Fixed an issue where the player could stall indefinitely at an HLS discontinuity when the discontinuity was improperly aligned across audio and video renditions.

🚀 6.8.0 (2024/01/15)

General

🐛 Issues

  • Fixed an issue where the paused state would be incorrect for a brief amount of time when calling play in quick succession after setSource on autoplaying HESP streams resulting in a non-dissapearing big play button on the UI.

Web

✨ Features

  • Added support for client-side advertisements when casting to Chromecast.
    • This first release supports linear VAST ads using the THEO Ads integration. (Server-side ads, non-linear ads, VMAP ads, or ads using the Google IMA integration are not yet supported.)
    • Scheduling additional ads while casting using player.ads.schedule() is not supported.
    • The Chromecast receiver must be based on the Chromecast CAF v3 SDK, such as Styled Media Receivers, the Default Media Receiver, or any Custom Receiver built with the THEOplayer Chromecast CAF SDK. (Receivers based on the Cast Receiver v2 SDK are not supported.)
  • Exposed the HLS SCORE attribute through the Quality API.
  • Added the option for HLS streams to clear existing buffer when setting MediaTrack.targetQuality. This can be turned on with player.abr.clearBufferWhenSettingTargetQuality.

⚡ Improvements

  • Improved the behavior of player.videoWidth and player.videoHeight at startup. When the player has not yet buffered the first segment of the stream, it will now fall back to the resolution information from the HLS multivariant playlist or the DASH MPD, rather than always returning 0.

🐛 Issues

  • Added a workaround for a Safari issue where using the previous/next page buttons could cause the player to error.
  • Fixed an issue where videoWidth and videoHeight were always 0 while playing a linear ad.
  • Fixed an issue with HLS streams where the Quality API would always report a value for averageBandwidth, even when it was not provided by the HLS variant stream.
  • Fixed an issue where sometimes the player would continuously redownload the same segments after switching to a different quality.
  • Fixed an issue where the player failed to parse WebM media.
  • Fixed an issue where the poster image briefly flashes on the sender when switching sources while casting to Chromecast.
  • Fixed an issue for DASH live streams where seeking to live could ignore the presentation delay.

Android

✨ Features

  • Added DecoderSelectionHelper#isRepresentationSupported API to enable filtering qualities from tracks.
  • Added support for setting startTime and/or endTime on a TextTrackCue.

🐛 Issues

  • Fixed an issue where targeting Android 14 devices would cause a crash when using the cache API.
  • Fixed an issue where the audio/video was stuttering on low end devices.

🚀 6.7.0 (2023/12/21)

Web

⚡ Improvements

  • Improved the player.ads API when using the THEO Ads system. Previously, properties such as player.ads.currentAdBreak or player.ads.scheduledAds would return new objects for each Ad and AdBreak on every access. Now, they always return the same object.

🐛 Issues

  • Fixed an issue where the remaining time of the Google DAI ads would not be updated sequentially.
  • Fixed an issue where the player would play some ad content twice when seeking into a Google DAI ad.
  • Fixed an issue where extra properties in SourceDescription.metadata were not correctly sent to the Chromecast receiver when casting.
  • Fixed an issue where the player keeps downloading the initial rendition besides the active rendition after a quality switch.
  • Fixed an issue where the player sometimes would download the same segments after a quality switch.
  • Fixed an issue where setting preload to metadata when the player already has loaded metadata would result in creating the same media tracks twice.
  • Fixed an issue where sometimes a playing event would not be dispatched when play-out resumes after a waiting event.
  • Fixed an issue on EOS boxes where the player would loop the first few seconds of a stream multiple times.

Android

⚡ Improvements

  • Updated the Google IMA dependency from 3.25.1 to 3.31.0.

👎 Deprecations

  • Deprecated wrongly named KeySystemConfiguration.Builder#licenseType(byte[] certificate) method in favor of KeySystemConfiguration.Builder#certificate(byte[] certificate).

🚀 6.6.1 (2023/12/15)

Web

🐛 Issues

  • Fixed a regression where Google IMA ads were not showing correctly when playing on iOS with allowNativeFullscreen = true.

🚀 6.6.0 (2023/12/05)

General

⚡ Improvements

  • Improved the latency estimation for HESP streams.

Web

⚡ Improvements

  • Simplified the experimental player.hesp.latencies api.
  • Added conversion of standard base64 encoded Clearkey license responses to base64url encoded Clearkey license responses.

🐛 Issues

  • Fixed an issue where the DASH track with a main role would not be selected as initial active track.
  • Fixed a player crash when the WebAssembly-based transmux worker is blocked by the page's Content Security Policy. In that case, the player will now attempt to fall back to a (slower) asm.js-based worker.
  • Fixed chapter markers not working for HLS streams.
  • Fixed an issue where device motion controls would be disabled when setting stereo to false for VR content.
  • Fixed player.seekable not being set while casting to a default (non-THEOplayer) Chromecast CAF receiver.

Android

⚡ Improvements

  • Updated the Google Chromecast dependency from 21.0.1 to 21.3.0.

🐛 Issues

  • Fixed an issue where ABR settings were lost after setting a source.
  • Fixed an issue where targeting Android 14 devices would cause a crash because of attempting to load writable dex.
  • Fixed an issue where the player would trigger "The license for this player is invalid" error on some devices.

iOS

✨ Features

  • Extended the VolumeChangeEvent to include the device volume.

🐛 Issues

  • Fixed an issue where providing the offset value for an AdDescription as a Timecode string (HH:mm:ss.SSS) was not supported.
  • Fixed an issue where the volume value in a VolumeChangeEvent would be incorrect.

Chromecast

✨ Features

  • Added support for MediaStatus.liveSeekableRange when playing a live stream.

🚀 6.5.0 (2023/11/27)

General

🐛 Issues

  • Fixed an issue where the player crashed when parsing a non-compliant MPEG-TS segment that has an ID3 tag at the start of the file.
  • Fixed a playback issue in HLS if the last segment of a combined audio/video playlist would suddenly contain only audio or video.

Web

✨ Features

  • Added support for cross-codec ABR in HLS.
  • Add support for setting startTime and/or endTime on a TextTrackCue.
  • Added requestVideoFrameCallback and cancelVideoFrameCallback to player.canvas.
  • Added MultiView to the @theoplayer/extended npm package.
  • Added the option to override the detected DATA_CONNECTION_TYPE for the Agama integration.

⚡ Improvements

  • Improved the localization of some aria-labels and menu items for the player UI.

🐛 Issues

  • Fixed an issue where no volumechange event was fired when the player needed to be muted to allow autoplay.
  • Fixed a regression where the dimensionchange event was no longer dispatched on the player.
  • Fixed an issue where the player might schedule only one ad when multiple Google IMA ads with the same timeOffset were scheduled after each other via player.ads.schedule.
  • Fixed an issue in the HLS pipeline where the player could stall indefinitely after a quality switch if the given codecs were incorrect.
  • Fixed an issue where the current time of the MultiViewPlayer could remain zero.
  • Fixed an issue where the player would not recover from a temporary network disconnection on Tizen.
  • Fixed an issue where HLS date range cues would not have an updated endDate if endOnNext is true.

Android

✨ Features

  • Added support for HLS date range metadata text track cues.
  • Added getTrack methods to TextTrackEventTypes.ENTERCUE and TextTrackEventTypes.EXITCUE.

🐛 Issues

  • Fixed an issue where the player would sometimes crash when being destroyed during play-out.
  • Fixed an issue where the player would sometimes crash when stopping casting a progressive mp4 asset.
  • Fixed an issue where switching audiotracks from canplay events broke playback.

iOS

🐛 Issues

  • Fixed an issue where license check would fail when multiple sources are present.
  • Fixed an issue where DateRangCues were never activated.

🚀 6.4.0 (2023/11/08)

General

🐛 Issues

  • Align the custom data across SDKs while sending a loading request to Chromecast.

Web

✨ Features

  • Added the option to override the detected DEVICE_TYPE for the Agama integration.

⚡ Improvements

  • Added MultiViewPlayer constructor to the docs.

🐛 Issues

  • Fixed an issue where the player's play/pause state would be incorrect after pausing playback when between two ads.
  • Fixed an issue where the activeView measurements for Google DAI were wrong.

Android

🐛 Issues

  • Fixed an issue where the player would sometimes crash when stopping to cast an mp4 asset.

🚀 6.3.0 (2023/10/26)

General

🐛 Issues

  • Fixed an issue where a HLS stream with a combined audio & video rendition would stop buffering after switching to an alternative audio rendition and back.
  • Fixed an issue where the player would stall indefinitely when encountering an MPEG-TS segment containing an AAC audio frame that overlaps with the previous frame.

Web

⚡ Improvements

  • Allow source.abr.restrictToPlayerSize to override whether the ABR algorithm on smart TVs should only select qualities whose resolution fits within the device's display resolution.

🐛 Issues

  • Fixed an uncaught AbortError promise rejection when switching from an HESP source to a non-HESP source.
  • Fixed an issue were companion ads in the THEO ad integration were no longer available.
  • Added a workaround for an issue in Edge Chromium where SourceBuffer.changeType is not working correctly for PlayReady streams.

Android

🐛 Issues

  • Fixed an issue where the player would not dispatch a playing event when initiating IMA ad play-out.

🚀 6.2.1 (2023/10/17)

General

🐛 Issues

  • Fixed an issue where a HLS stream with a combined audio & video rendition would stop buffering after switching to an alternative audio rendition and back.

🚀 6.2.0 (2023/10/16)

Web

✨ Features

  • Added experimental support for using ManagedMediaSource in Safari. This requires BaseSource.useManagedMediaSource to be set to true, and requires iOS 17.1 beta 2 or higher with the "Managed Media Source API" feature flag turned on in the Advanced settings of Safari.

🐛 Issues

  • Fixed an issue where the player would endlessly download the first segment of an HLS subtitle rendition if that rendition's playlist starts after the audio or video playlist during a live stream.
  • HLS with Clear Key DRM will now work on desktop Safari when the SourceConfiguration.contentProtection contains an empty ClearkeyKeySystemConfiguration.
  • Fixed an issue in MPEG-DASH streams where a big unexpected drop in network bandwidth would not be detected when the browser does not support streaming fetch.
  • Fixed an issue with HLS where the reported Program Date Time would be incorrect if the playlist contains a discontinuity where the Program Date Time jumps in time.

Android

🐛 Issues

  • Fixed an issue where accessing MediaTrack.getQualities().getItem() would always throw a NullPointerException while playing a static MP4 video.
  • Fixed CachingTaskList.getItem() incorrectly throwing NoSuchElementException (instead of IndexOutOfBoundsException) when the index is out of bounds.
  • Fixed an issue where HLS streams with AES-128 encryption would not play.

iOS

🐛 Issues

  • Fixed an issue where CPU performance would decline when using Picture-in-Picture or AirPlay.

🚀 6.1.1 (2023/10/11)

iOS

🐛 Issues

  • Fixed an issue where the player would crash when calling the destroy method after an ad break.

🚀 6.1.0 (2023/10/02)

Web

⚡ Improvements

  • Optimized the Canvas API when called on every frame.

🐛 Issues

  • Fixed an issue for HLS where webvtt files starting with a byte order mark would cause a parsing error.
  • Fixed an issue where a DASH stream could error with an unspecified error when playback falls outside the seekable range.
  • Fixed an issue in MPEG-DASH streams where downloading a segment would not timeout if it takes much longer than the segment duration to download.
  • Fixed an issue in MPEG-DASH streams where a big unexpected drop in network bandwidth would not be detected.
  • Fixed a compatibility issue with Webpack where THEOplayer fails to load when building in production mode.
  • Fixed an issue where no adbreakbegin and no adbegin event would fire for an AdBreak following a non-linear AdBreak.

Android

🐛 Issues

  • Fixed an issue where line breaks on a cue were not handled correctly on sideloaded SRTs

iOS

⚡ Improvements

  • Improved text track active cues processing when endTime is infinite.

🐛 Issues

  • Fixed an issue where the Chromecast integration would not play when connecting through the default Cast button.

🚀 6.0.0 (2023/09/13)

Officially announcing THEOplayer 6.0

Introducing a major version bump to THEOplayer 6.0. This version officially releases all the improvements and developments THEOplayer has achieved since version 5.0.

THEOplayer 6.0 is backwards compatible for most features but includes some breaking changes per SDK. Please review them carefully in the respective changelog for your SDK.

  • Further improvements to accelerate monetization of your FAST/AVOD service, including new ad connectors and advertisement capabilities in our Open Video UI.

  • A smaller and more efficient web player thanks to ESM modules.

  • Updated analytics connectors to ensure you are seeing what’s happening.

  • Increased performance through new features, optimizations of our analytics connectors and further reductions in startup time.

The Legacy (WebView-based) Android and iOS SDKs are officially reaching end of life. No further fixes will be provided for those SDKs (previously included in THEOplayer 4.12.x hotfixes). Please contact our support if you have further questions or follow our migrations guides on the THEOportal pages.

Web

💥 Breaking Changes

  • import { Player } from 'theoplayer' now results in a JavaScript module using ES2017 syntax, which won't work when loaded inside older browsers (such as old smart TVs). If you still need to support such older browsers, you can import the old JavaScript file directly with import { Player } from 'theoplayer/THEOplayer.js'.
  • The player will now start playback at a medium bitrate quality (up to 2.5 Mbps) instead of the lowest bitrate quality, if it doesn't yet have a network speed estimate from a prior playback session. This can be overridden by setting player.abr.strategy (documentation).
  • Removed source.hls.useLegacy. The legacy HLS pipeline has been removed, all HLS streams will now use the new HLS pipeline.

✨ Features

  • Added support for importing THEOplayer as a JavaScript module ("ESM").
    • Added THEOplayer.esm.js and THEOplayer.chromeless.esm.js.
      • These provide the THEOplayer API using export statements instead of using a global THEOplayer variable. This makes them appropriate to use with modern bundlers that consume ESM, such as webpack, Rollup or esbuild. They can also be used directly in modern browsers using <script type="module">.
      • These versions use ES2017 syntax (rather than ES5 syntax), targeting more modern browsers. This results in smaller and faster code, by using more of the native JavaScript features provided by the browser itself.
    • Added an exports field to package.json on npm. These define subpath exports for the chromeless player and the UI player, supporting both CommonJS and ESM.
      • import { Player } from 'theoplayer': imports the UI player.
      • import { ChromelessPlayer } from 'theoplayer/chromeless': imports the chromeless player only. This is intended to replace explicit imports for theoplayer/THEOplayer.chromeless.
    • If you use TypeScript in your project, we recommend setting moduleResolution to bundler, node16 or nodenext in your tsconfig.json to correctly resolve these subpath exports.

🐛 Issues

  • Fixed an issue where characters from CEA-608 closed captions could be shown too early.
  • Fixes an issue with CEA-608 closed captions where seeking could cause overlapping cues.

👎 Deprecations

  • Deprecated THEOplayer.playerSuiteVersion. Use THEOplayer.version instead.

Android

💥 Breaking Changes

  • Removed deprecated THEOplayerConfig#isChromeless().
  • Removed deprecated THEOplayerConfig#defaultCss().
  • Removed deprecated THEOplayerConfig#getCssPaths().
  • Removed deprecated THEOplayerConfig#getJsPaths().
  • Removed deprecated THEOplayerConfig#getJsPathsPre().
  • Removed deprecated THEOplayerConfig.Builder#defaultCss(boolean).
  • Removed deprecated THEOplayerConfig.Builder#cssPaths(String...).
  • Removed deprecated THEOplayerConfig.Builder#jsPaths(String...).
  • Removed deprecated THEOplayerConfig.Builder#jsPathsPre(String...).
  • Removed deprecated THEOplayerConfig.Builder#chromeless(boolean).
  • Removed deprecated THEOplayerConfig#isGoogleIma().
  • Removed deprecated GoogleImaConfiguration class.
  • Removed deprecated AdsConfiguration#googleIma() in favor of GoogleImaIntegration.
  • Removed deprecated AdsConfiguration.Builder#googleIma(GoogleImaConfiguration).
  • Removed deprecated TypedSource.Builder#setNativeRenderingEnabled(boolean).
  • Removed deprecated TypedSource.Builder#setNativeUiRenderingEnabled(boolean).
  • Removed deprecated TypedSource.Builder#isNativeRenderingEnabled().
  • Removed deprecated TypedSource.Builder#isNativeUiRenderingEnabled().
  • Removed deprecated VerizonMediaSource#getParameters() in favor of VerizonMediaSource#getPreplayParameters().
  • Removed deprecated VerizonMediaSource.Builder#parameters(Map<String, String>) in favor of VerizonMediaSource.Builder#preplayParameters(Map<String, String>).
  • Removed deprecated THEOplayerGlobal#getWebViewSettings().
  • Removed deprecated THEOplayerView#addJavaScriptMessageListener(String, MessageListener).
  • Removed deprecated THEOplayerView#evaluateJavaScript(String, ValueCallback).
  • Removed deprecated THEOplayerView#removeJavaScriptMessageListener(String, MessageListener).
  • Removed deprecated MessageListener interface.
  • Removed deprecated MediaTrack#setTargetQualities(QualityList) in favor of MediaTrack#setTargetQualities(List).
  • Removed deprecated Player#getVR() API.
  • Removed deprecated Player#getYospace() API.
  • Removed deprecated Player#getVerizonMedia() API.
  • Removed unsupported Verizon Media classes.
  • Removed unsupported Agama classes.
  • Removed unsupported SpotX classes.
  • Removed unsupported Conviva classes.
  • Removed unsupported Moat classes.
  • Removed unsupported Youbora classes.
  • Removed unsupported Yospace classes.
  • Removed unsupported THEO ads classes.
  • Removed unsupported VR classes.

👎 Deprecations

  • Deprecated THEOplayerGlobal.getPlayerSuiteVersion() and THEOplayerView.getPlayerSuiteVersion(). Use getVersion() instead.
  • Deprecated THEOplayerConfig.Builder()#ads(AdsConfiguration) in favor of using advertisement integrations to configure advertisements.
  • Deprecated THEOplayerConfig.Builder()#castStrategy(CastStrategy) in favor of using integrations to configure casting.
  • Deprecated SourceDescription.Builder#ads(String...) in favor of SourceDescription.Builder#ads(AdDescription...).

iOS

💥 Breaking Changes

  • Removed deprecated ContentProtectionIntegration.extractFairplayContentId in favor of ContentProtectionIntegration.onExtractFairplayContentId.
  • Removed deprecated GoogleIMAConfigurationBuilder.useNativeIMA and GoogleIMAAdsConfiguration.useNativeIma properties.

✨ Features

  • Added synchronous player APIs: currentTime, currentProgramDateTime, buffered, played, seekable, metrics, videoHeight and videoWidth.
  • Added synchronous ads APIs: playing, currentAds, currentAdBreak, scheduledAdBreaks and scheduledAds.
  • Added synchronous DAI API: snapback.

👎 Deprecations

  • Deprecated THEOplayer.playerSuiteVersion. Use THEOplayer.version instead.
  • Deprecated Ads.requestPlaying in favor of Ads.playing.
  • Deprecated Ads.requestCurrentAds in favor of Ads.currentAds.
  • Deprecated Ads.requestCurrentAdBreak in favor of Ads.currentAdBreak.
  • Deprecated Ads.requestScheduledAdBreaks in favor of Ads.scheduledAdBreaks.
  • Deprecated Ads.requestScheduledAds in favor of Ads.scheduledAds.
  • Deprecated GoogleDAI.requestSnapBack in favor of GoogleDAI.snapback.
  • Deprecated GoogleDAI.setSnapBack in favor of GoogleDAI.snapback.
  • Deprecated THEOplayer.requestCurrentTime in favor of THEOplayer.currentTime.
  • Deprecated THEOplayer.requestVideoHeight in favor of THEOplayer.videoHeight.
  • Deprecated THEOplayer.requestVideoWidth in favor of THEOplayer.videoWidth.
  • Deprecated THEOplayer.requestCurrentProgramDateTime in favor of THEOplayer.currentProgramDateTime.
  • Deprecated THEOplayer.requestBuffered in favor of THEOplayer.buffered.
  • Deprecated THEOplayer.requestPlayed in favor of THEOplayer.played.
  • Deprecated THEOplayer.requestMetrics in favor of THEOplayer.metrics.
  • Deprecated THEOplayer.requestSeekable in favor of THEOplayer.seekable.

🚀 5.11.0 (2023/09/11)

General

🐛 Issues

  • Fixed an issue where the player wouldn't recover from a reset of the HLS stream that contains program date time.
  • Fixed an issue where older players were no longer compatible with our Chromcast SDK.
  • Fixed a crash when encountering an MPEG-TS segment containing an incomplete PES packet during HLS playback.

Web

✨ Features

  • Added the possibility of selecting audio from a different view than the main view when using the Multiview player.
  • Added support for Apollo set-top boxes.

🐛 Issues

  • Fixed an issue in the Multiview player where offsets weren't properly taken into account when the main view already had an offset.
  • Fixed an issue where the Google IMA integration was not dispatching ReadyStateChangeEvents.

Android

✨ Features

  • Added the ability to intercept network requests.

🐛 Issues

  • Fixed an issue where OMID API was not available for IMA integrations
  • Fixed an issue where EC-3 and AC-3 audio tracks for DRM video were parsed using wrong decoder

🚀 5.10.0 (2023/09/01)

General

🐛 Issues

  • Fixed an issue where older players were no longer compatible with our Chromecast SDK.

Web

🐛 Issues

  • Fixed an issue that could cause the player to redownload the same segment multiple times during HLS playback.

Android

✨ Features

  • Added totalVideoFrames property to the metrics API.
  • Added PlaybackSettings#getDecoderName() API to retrieve the decoder name for a specified media.

🐛 Issues

  • Fixed an issue where creating a CachingTask instance through the Media Cache API would crash the player.

iOS

🐛 Issues

  • Fixed an issue where failing IMA ads would stall the player.
  • Fixed an issue where MP4 source playback was failing.
  • Fixed an issue where scheduled IMA ad breaks timeoffset would be 0.
  • Fixed an issue where playback duration and currentTime values would be incorrect post ad.
  • Fixed an issue where content protected streams with keys specified outside of master playlist would fail.
  • Fixed an issue where playback was broken when restoring a CachingTask.
  • Fixed a memory issue caused by the IMA integration.

🚀 5.9.1 (2023/08/24)

Web

🐛 Issues

  • Fixed an issue for HLS streams where the codec strings could cause buffering issues when switching renditions.

Android

🐛 Issues

  • Fixed an issue where closing the Picture-in-Picture window did not pause playback when an application was in the background and background playback was not allowed.

🚀 5.9.0 (2023/08/22)

General

⚡ Improvements

  • Improved support for HLS with clear key SAMPLE-AES.
  • Improved the initial load time of HLS streams.

🐛 Issues

  • Fixed an issue where ID3 tags containing padding bytes were not correctly handled.

Web

✨ Features

  • Added BaseSource.ignoreEmbeddedTextTrackTypes to ignore embedded text tracks that would otherwise always be parsed by the player.
  • Added AgamaPlayerConfiguration.deviceOs and AgamaPlayerConfiguration.deviceOsVersion.

⚡ Improvements

  • Improved the recovery mechanism for HLS streams when the currentTime falls outside the seekable range (e.g. due to a bad network).
  • The player will no longer dispatch a waiting event during the initial load (until the first canplay or playing event). This should make it easier to distinguish between an "expected" buffering time at the start, and an "unexpected" re-buffering event during playback. To detect when the player starts its initial load, we recommend using either the first play or loadstart event.
  • The player will no longer dispatch unnecessary play, pause, seeking and/or ratechange events when switching between content and advertisements.

🐛 Issues

  • Fixed an issue with THEO ads where changing the muted and volume properties during an Ad would not persist across other Ads in the same AdBreak.
  • Fixed an issue in THEO ads where a VAST ad with an error could cause the player to be stuck.
  • Fixed an issue where the Google DAI click through link doesn't open when pressing enter using the Chromeless player.
  • Fixed an issue where AirPlay didn't work on iOS devices.

Android

✨ Features

  • Customizable notifications for downloading media. Check the documentation on how to customise notifications

🐛 Issues

  • Fixed an issue on Android where querying the timeOffset property of a Google IMA adbreak would return an incorrect value.
  • Fixed a typing issue of CachingTaskErrorEvent that would prevent the ability to listen for CachingTask errors.
  • Fixed an issue where a CachingTaskStateChangeEvent event with status evicted would be dispatched after removing a CachingTask.
  • Fixed an issue with package obfuscation that resulted in build failures when both THEOPlayer and a library with the same package retention problem were present in the project.
  • Fixed an issue where video segments were not downloading in parallel during caching.
  • Fixed an issue where the player would sometimes crash while creating and destroying multiple player instances.

iOS

✨ Features

  • Added support for SRT formatted text tracks through sideloaded subtitles connector.

🐛 Issues

  • Fixed an issue where player would stall indefinitely on startup when autoplay is set.
  • Fixed an issue where native picture-in-picture mode would not be retained after a source change.
  • Fixed an issue where failing IMA ads would stall the player.

🚀 5.8.0 (2023/08/02)

General

⚡ Improvements

  • Improved the handling of small gaps in the player's buffer. The player will now jump over such gaps without firing seeking or waiting events, which avoids showing a loading spinner for a short time during playback.
  • Improved the handling of short seeks. The player will no longer fire a waiting event if the seek finishes quickly.

🐛 Issues

  • Fixed an issue where <SegmentList> elements defined at the <Period> level where incorrectly ignored in a DASH MPD.
  • Fixed an issue where the player sometimes failed to jump a known gap between two buffered segments.

Web

🐛 Issues

  • Fixed an issue where some CEA-608 cues weren't properly extracted.
  • Fixed an issue where CEA-608 cues could be falsely removed after appending a segment.
  • Fixed an issue where CEA-608 cues could be in the wrong order at segment boundaries.
  • Fixed an issue where in rare circumstances a very short HLS VOD stream would fail to start playback.

Android

🐛 Issues

  • Fixed an issue on Android where an HLS stream would not replay after playback had ended.
  • Fixed an issue where an error was thrown on some devices while trying to play Dolby AC-3 stream.
  • Fixed an issue where LOADING tasks were not set to IDLE when cache is initialized.

🚀 5.7.0 (2023/07/26)

General

⚡ Improvements

  • Optimized the DASH buffering loop for the common case where the player's buffer is still sufficiently filled.

🐛 Issues

  • Fixed an issue where an MPEG-DASH <SegmentList> element inside a <Representation> did not correctly inherit <SegmentURL> elements defined at the <Period> or <AdaptationSet> level.

Web

✨ Features

  • Added source.abr.restrictToPlayerSize, to control whether the ABR algorithm should only select qualities whose resolution fits within the player's size.
  • Added support for the PRECISE attribute in an HLS #EXT-X-START tag. This removes the limitation from THEOplayer 4.7.0, so a missing PRECISE attribute is now treated as PRECISE=NO to conform with the HLS specification.
  • Filtered out ac-3 audio on Tizen and WebOS by default as most devices fail playout and the codec support check is not useable.
  • Added support for setting a live offset on streams for multiview.

⚡ Improvements

  • The player will now only create Google DAI UI elements when the Google DAI library is loaded.
  • Improved startup of livestreams. This should be especially noticeable for HLS livestreams with short playlists, where previously the player would sometimes wait for a second playlist update before initiating playback.

🐛 Issues

  • Fixed an issue where the player could stall indefinitely when the segment durations mentioned in the HLS playlist were not accurate enough.
  • Fixed an issue where TTML styles applied to the <body> element were not always respected.
  • Fixed an issue where volume and muted were not correctly retained when transitioning between content and ad (or vice versa) on iOS using Google IMA.
  • Fixed an issue where fetching the first HLS playlist would time out prematurely.
  • Fixed an issue where the player would sometimes throw an error if a HLS CMAF stream has a gap at the start of a segment that comes after an #EXT-X-DISCONTINUITY tag.
  • Fixed an issue with Google DAI where the latest version of their SDK could sometimes trigger an internal error with THEOplayer.

Android

✨ Features

  • Added a allowBackgroundPlayback property to the THEOplayerSettings API.

🐛 Issues

  • Fixed an issue where SourceChangeEvent did not contain the new SourceDescription.

iOS

🐛 Issues

  • Fixed an issue where paused state would be inaccurate while integrating with IMA.

tvOS

🐛 Issues

  • Fixed an issue where IMA playlist ads would block the main content.

🚀 5.6.0 (2023/07/10)

General

✨ Features

  • Added support for VideoQuality.frameRate and VideoQuality.firstFrame in the new HLS pipeline.

⚡ Improvements

  • Add support for the ABR strategy API for HESP streams.
  • Improved the retry behaviour for DASH streams when using a retry configuration.

Web

✨ Features

  • Added support for DASH streams with WebM segment indexes described by a Cues Matroska element.
  • Exposed the accessibility descriptors for DASH tracks and the characteristics for HLS tracks.

🐛 Issues

  • Fixed an issue where the ABR would not switch qualities when the codecs of the variant streams are not known beforehand.
  • Fixed an issue where the player stalled indefinitely after playing a mid-roll ad on VIZIO SmartCast TVs.
  • Fixed an issue where the player could stall indefinitely after changing qualities when the HLS multivariant playlist incorrectly lists both audio and video codecs for a video-only variant stream.
  • Fixed an issue on EOS2 stbs where seeking in a DASH stream would sometimes cause the player to crash.

Android

✨ Features

  • Added support of using a service so the caching can be done in the background.
  • Added VideoQuality.getFirstFrame().
  • Added QualityUpdateEvent to Quality.
  • Added metrics API.
  • Added a allowBackgroundPlayback property to the THEOplayerSettings API.

🐛 Issues

  • Fixed an issue when the network connection is lost the CachingTasks can not be paused and restarted.
  • Fixed an issue that caused playback failure in some cases on TCL 32S5201 Smart TV.

iOS

✨ Features

  • Added server side ad support with Google DAI through the IMA integration.

🐛 Issues

  • Fixed an issue where seeking and seeked events were not fired when casting to AirPlay and when in picture in picture mode.
  • Fixed an issue where waiting event would trigger multiple times while seeking.
  • Fixed an issue that could cause a crash when destroying the player while the DRM flow was in progress.

tvOS

✨ Features

  • Added server side ad support with Google DAI through the IMA integration.

🚀 5.5.1 (2023/06/27)

iOS

🐛 Issues

  • Fixed an issue where no ratechange event was dispatched when the value was reset to the default during a source change.
  • Fixed an issue where playback with IMA integration would not start.

🚀 5.5.0 (2023/06/22)

Web

✨ Features

  • Added support for native fullscreen playback of Google IMA ads for HESP streams on iOS Safari.

⚡ Improvements

  • Improved ABR algorithm for HESP streams on iOS Safari to take the correct screen size into account.

🐛 Issues

  • Fixed an issue where the player could not switch back to content after playing a Google IMA ad on iOS Safari.
  • Fixed an issue on iOS Safari where switching to native fullscreen could disable active text tracks.
  • Fixed an issue where embedded webVTT cues could remain visible.
  • Fixed an issue where a DASH stream with representations containing slightly misaligned segments could stall indefinitely on a quality switch.

👎 Deprecations

  • Deprecated source.hls.useLegacy. The legacy HLS pipeline is no longer supported and will be removed in a future semver-major release. Please migrate to the new HLS pipeline.
  • Added hideDeprecationWarnings flag to player configuration, to hide all deprecation warnings in the browser's developer console.

Android

✨ Features

  • Added support for play-out of progressive media assets embedded as raw app resource.

🐛 Issues

  • Fixed an issue where setting multiple Google DAI sources after each other would cause a crash.
  • Fixed presence of DRM exception in debug logs
  • Fixed an issue where querying the integration property of a Google DAI ad or adbreak instance would always give google-ima instead of google-dai.
  • Fixed an issue where playing a source with in-stream DRM would not play from cache.

iOS

⚡ Improvements

  • Enabled AirPlay support for cached content while connected to a network.

🐛 Issues

  • Fixed an issue where after playing a preroll ad playlist on tvOS the main content would not resume playing.
  • Fixed an issue where incorrect TimeUpdateEvents were dispatched after skipping an IMA ad.

🚀 5.4.2 (2023/06/20)

iOS

⚡ Improvements

  • Improved handling of network connection change during caching.

🚀 5.4.1 (2023/06/15)

iOS

⚡ Improvements

  • Added support for asynchronous contentID extraction via ContentProtectionIntegration.onExtractFairplayContentId(skdUrl:callback:)

🚀 5.4.0 (2023/06/08)

Web

🐛 Issues

  • Fixed an issue where sometimes the player would not autoplay.
  • Fixed an issue with HESP streams on iOS Safari where the player would not switch to a higher quality in landscape mode.
  • Fixed an issue where the player sometimes stalled indefinitely when the sliding window of a DASH livestream moves past its current time. Instead, it will now seek to live when this happens.

iOS

⚡ Improvements

  • Improved handling of network connection change during caching.

🚀 5.3.0 (2023/06/01)

General

🐛 Issues

  • Fixed an issue where CEA-608 captions with a valid but unrecognized language code would have an empty TextTrack.language property.
  • Fixed a regression issue where dash.needsTimescaleShifting would be false by default.

Web

✨ Features

  • Added MediaTailorSource.adParams to improve client-side ad reporting.
  • Exposed the companion ads for Google IMA.

⚡ Improvements

  • Improved the Agama integration by upgrading support to EMP Client version 3.9.0.3.

🐛 Issues

  • Fixed an issue where the Agama integration reported the BUFFER_LENGTH in seconds instead of milliseconds.
  • Fixed an issue where the Agama integration reported ABR switches when an audio segment was downloaded with different bandwidth requirements than the active video quality's bandwidth requirements.
  • Fixed an issue where Google IMA ads would be skipped on iOS Safari when changing to a source containing IMA ads while unmuted autoplay is supported.
  • Fixed an issue where the next ads in an adbreak would not be played when the current ad errored using the THEO Ads integration.
  • Fixed an issue where the companion ads for the THEO ads integration were not exposed.

Android

✨ Features

  • Implemented DRM HESP streams playback.
  • Added TextTrack styling support via 'THEOplayer.getPlayer().getTextTrackStyle()' API
  • Added MediaTailorSource.adParams to improve client-side ad reporting.

🐛 Issues

  • Fixed playback stalling after seeking past a midroll adbreak on AndroidTV.
  • Fixed an issue where a text track cue that contains a string was sometimes converted to an object.
  • Fixed an issue where using a MediaTailor source would cause a crash.

iOS

💥 Breaking Changes

  • Bumped Xcode minimum support version to 13.2.1 and Swift version to 5.5.

🐛 Issues

  • Fixed an issue where eventListeners would not be removed when there is no ads integration added.
  • Fixed an issue where CachingTask.status was not updated to .evicted after the expiration date

tvOS

💥 Breaking Changes

  • Bumped Xcode minimum support version to 13.2.1 and Swift version to 5.5.

🚀 5.2.0 (2023/05/15)

General

✨ Features

  • Added the option to ignore the availability window of individual segments in an MPEG-DASH livestream with DashPlaybackConfiguration.ignoreAvailabilityWindow.

⚡ Improvements

  • The HLS pipeline will now abandon segment requests that are taking too long (e.g. because of a sudden drop in the network bandwidth) and will more quickly switch to a lower bitrate variant stream.

Web

✨ Features

  • Added support for FairPlay HESP streams on iOS Safari.

🐛 Issues

  • Fixed an issue where the player would not switch to a higher quality for HLS streams that contain preload hints when playing too close to live.
  • Fixed an issue on iOS Safari where subtitles were not rendered in native fullscreen when using the default THEOplayer UI.
  • Fixed an issue on iOS Safari where the animation of the <video> element going into native fullscreen was not smooth when using the default THEOplayer UI.
  • Fixed an issue where retrying for too long could cause the player to freeze and stop retrying on HLS.
  • Fixed an issue where an MPEG-TS HLS stream could have playback issues if its first segment contains multiple PMTs.
  • Fixed an issue where new Google IMA ads scheduled through player.ads.schedule() would never play if all previously scheduled ads have already finished playing.
  • Fixed an issue where the player would incorrectly estimate the network conditions when using a response interceptor.

Android

🐛 Issues

  • Fixed an issue where streams transcoded with frame-accurate option would stutter on certain devices.
  • Fixed an issue on Android where the currentProgramDateTime property would always be null when dispatching a TimeUpdateEvent.
  • Fixed an issue that caused stretched videos during MP4 playback.
  • Fixed and issue where DRM playback on Xiaomi Projector had visual glitches.
  • Fixed playback stalling after seeking past a midroll adbreak on AndroidTV.

iOS

💥 Breaking Changes

  • Bumped Xcode minimum support version to 13.2.1 and Swift version to 5.5.

tvOS

💥 Breaking Changes

  • Bumped Xcode minimum support version to 13.2.1 and Swift version to 5.5.

🚀 5.1.0 (2023/05/04)

General

✨ Features

  • Added support for VP9 and AV1 in CMAF containers for (LL-)HLS.

⚡ Improvements

  • Avoid range requests for the next HESP continuation segments once the first HESP continuation segment has been downloaded.
  • When an MPEG-DASH stream transitions from dynamic to static MPD, the player will now detect and handle any time shifts applied to the static MPD. For example, this handles the case where the server uses Unix timestamps for livestreams but zero-based timestamps for VODs.

Web

✨ Features

  • Added a retry configuration to the player configuration to customize a part of the player's retry mechanism.
  • Added support to pass SourceDescription.metadata properties other than those in ChromecastMetadataDescription to chromecast MediaInfo.metadata.
  • The player now dispatches manifestupdate events during HLS playback whenever it fetches a new playlist.

⚡ Improvements

  • Added TypeScript type definitions for THEOplayer.chromeless.js.
  • player.seekable now returns an empty TimeRanges while playing a linear ad through Google IMA, to indicate that seeking is not allowed during such an ad.
  • Improved ABR in the LL-HLS pipeline.

🐛 Issues

  • Fixed an issue with the Google IMA integration where no ads could be scheduled after an ad errors during playback.
  • Fixed an issue where for HLS streams the frame rate was always reported as zero.
  • Fixed an issue where the HLS pipeline would error after calling player.stop() and then player.play() without a new source.
  • Fixed an issue where HLS CMAF playout would fail in certain cases when the default sample duration of segments was set in the trex box.
  • Fixed an issue where switching qualities on an HLS stream that allows delta playlist updates could result in playback artifacts.

Android

✨ Features

  • Added support for caching streams offline.
  • Handling HTTP 307 response redirection request.

🐛 Issues

  • Fixed playback stalling after seeking past a midroll adbreak on AndroidTV.

iOS

💥 Breaking Changes

  • Removed deprecated GoogleIMAConfiguration class in favor of GoogleIMAAdsConfiguration. See GoogleIMAConfigurationBuilder for more details on how to init a GoogleIMAAdsConfiguration object.

🐛 Issues

  • Fixed an issue where setting a nil source would cause invalid license error
  • Fixed an issue where CachingTask.percentageCached was returning values on a different scale.
  • Fixed an issue where using special characters in SourceDescription.metadata could cause crash during caching.

👎 Deprecations

  • Deprecated useNativeIMA property in GoogleIMAConfigurationBuilder & GoogleIMAAdsConfiguration.

tvOS

💥 Breaking Changes

  • Removed deprecated GoogleIMAConfiguration class in favor of GoogleIMAAdsConfiguration. See GoogleIMAConfigurationBuilder for more details on how to init a GoogleIMAAdsConfiguration object.

🐛 Issues

  • Fixed an issue with Google IMA where the main content wasn't resumed after a preroll ended.

👎 Deprecations

  • Deprecated useNativeIMA property in GoogleIMAConfigurationBuilder & GoogleIMAAdsConfiguration.

🚀 5.0.3 (2023/04/25)

iOS

🐛 Issues

  • Fixed an issue where the player on iOS would throw an exception when destroying the player during the setup of the DRM keySystem

🚀 5.0.2 (2023/04/13)

Android

🐛 Issues

  • Fixed an issue on Android where play-out of HLS streams would fail.

🚀 5.0.1 (2023/04/12)

Web

✨ Features

  • Added a retry configuration to the player configuration to customize a part of the player's retry mechanism.

🐛 Issues

  • Fixed an issue where for HLS streams the frame rate was always reported as zero.

Android

✨ Features

  • Added retry logic for failing playlist and manifest fetches.

iOS

✨ Features

  • Bump support for GoogleCast framework to 4.7.1. This adds compatibility for building on simulators with the arm64 architecture.
  • Added configure method to PictureInPicture API for dynamic configuration.
  • Added requiresLinearPlayback parameter to PiPConfiguration API. This helps control seekability during Picture in Picture.

tvOS

✨ Features

  • Added requiresLinearPlayback parameter to PiPConfiguration API. This helps control seekability during Picture in Picture.
  • Added configure method to PictureInPicture API for dynamic configuration.

🚀 5.0.0 (2023/04/05)

Officially announcing THEOplayer 5.0

Introducing a major version bump to THEOplayer 5.0. This version officially releases all the improvements and developments THEOplayer has achieved since version 4.0.

The new modularized native mobile SDKs are rearchitected and built from the ground up keeping performance, usability, and future compatibility in mind. Read more

THEOplayer 5.0 is backwards compatible for most features but includes some breaking changes per SDK. Please review them carefully in the respective changelog for your SDK.

  • Android SDK 5.0: The new modularized Android SDK is much faster than the legacy 4.x SDK, uses low-level, platform-native APIs. Get started now!

  • iOS/tvOS SDK 5.0: The new iOS/tvOS SDK is built on our new module-based principles and brings fully native performance for both platforms with great extensibility. Get started now!

  • Customizable UI modules: No need to build a UI yourself - save time and money by starting from the open source THEOplayer UI for Web, Android and React Native, and tailor it for your use case. Keep an eye open for the new iOS UI next quarter!

  • WebXR support: We’ve added WebXR support for browser to enchance the AR and VR experiences on Web. Get started now!

  • React Native SDK 2.0: We’ve further expanded our React Native support for Web, Android and iOS-based platforms, through bridging items such as casting, Picture-in-Picture, background audio, DRM connectors and analytics connectors. Check our GitHub and the react-native-theoplayer v2 migration guide for more information.

Web

💥 Breaking Changes

  • Device motion controls outside stereo mode on VR now have to be enabled by setting THEOplayer.vr.useDeviceMotionControls to true.

🐛 Issues

  • Fixed an issue where VR/XR content would be displayed sideways in portrait mode on Safari & aligned device motion control behavior on major platforms for WebXR.
  • Fixed an issue where certain HLS streams containing MP3 audio could throw an error Failed to set the 'timestampOffset' property on 'SourceBuffer'.
  • Fixed an issue where the IMA DAI SDK was not able to correctly calculate the player's position relative to the viewport

Android

💥 Breaking Changes

  • Starting from Android SDK v5.0.0 the minimum Java version required is 8.
  • Removed deprecated PipManager#enterPip() in favor of PipManager#enterPiP(PiPType)
  • Removed deprecated AdsConfiguration#googleImaConfiguration() in favor of AdsConfiguration#googleIma()
  • Removed deprecated AdsConfiguration#googleImaConfiguration(GoogleImaConfiguration) in favor of AdsConfiguration#googleIma(GoogleImaConfiguration)
  • Removed deprecated AbrStrategyConfiguration#abrStrategyConfiguration() in favor of AbrStrategyConfiguration.Builder()
  • Removed deprecated AbrStrategyMetadata#abrStrategyMetadata() in favor of AbrStrategyMetadata.Builder()
  • Removed deprecated DRMConfiguration() constructor in favor of DRMConfiguration.Builder()
  • Removed deprecated DRMConfiguration#fairplayDrm(FairPlayKeySystemConfiguration) in favor of DRMConfiguration.Builder()
  • Removed deprecated DRMConfiguration#playreadyDrm(KeySystemConfiguration) in favor of DRMConfiguration.Builder()
  • Removed deprecated DRMConfiguration#widevineDrm(KeySystemConfiguration) in favor of DRMConfiguration.Builder()
  • Removed deprecated DRMConfiguration#clearkeyDrm(KeySystemConfiguration) in favor of DRMConfiguration.Builder()
  • Removed deprecated KeyOSKeySystemConfiguration#keyOsKeySystemConfiguration(String) in favor of KeyOSKeySystemConfiguration.Builder(String)
  • Removed deprecated KeySystemConfiguration constructors in favor of KeySystemConfiguration.Builder(String)
  • Removed deprecated FairPlayKeySystemConfiguration constructors in favor of FairPlayKeySystemConfiguration#Builder
  • Removed deprecated FairPlayKeySystemConfiguration#fairPlayKeySystemConfiguration(String, String) in favor of FairPlayKeySystemConfiguration#Builder(String, String)
  • Removed deprecated TextTrackDescription#textTrackDescription(String) in favor of TextTrackDescription#Builder(String)
  • Removed deprecated TextTrackDescription.src(String) in favor of TextTrackDescription#Builder(String)
  • Removed deprecated KeySystemConfiguration.keySystemConfiguration(String) in favor of KeySystemConfiguration#Builder(String)
  • Removed deprecated YoSpaceDescription.yoSpaceDescription() in favor of YoSpaceDescription#Builder()
  • Removed deprecated KeyOSDRMConfiguration.keyOsDrm() in favor of KeyOSDRMConfiguration#Builder()
  • Removed deprecated VudrmDRMConfiguration.vudrmDrm(String) in favor of VudrmDRMConfiguration#Builder(String)
  • Removed deprecated YoSpaceLogLevelConfiguration.yoSpaceLogLevelConfiguration() in favor of YoSpaceLogLevelConfiguration#Builder()
  • Removed deprecated THEOplayerAdDescription constructors in favor of THEOplayerAdDescription#Builder
  • Removed deprecated THEOplayerAdDescription.adDescription() in favor of THEOplayerAdDescription#Builder(String)
  • Removed deprecated THEOplayerAdDescription.source(String) in favor of THEOplayerAdDescription#Builder(String)
  • Removed deprecated ClearkeyKeySystemConfiguration.clearkeyKeySystemConfiguration(String) in favor of ClearkeyKeySystemConfiguration#Builder(String)
  • Removed deprecated DRMTodayConfiguration.drmToday(KeySystemConfiguration) in favor of DRMTodayConfiguration#Builder(KeySystemConfiguration)
  • Removed deprecated DRMTodayConfiguration.drmToday(String) in favor of DRMTodayConfiguration#Builder(String)
  • Removed deprecated TitaniumDRMConfiguration.titaniumDrm(String, String, String) in favor of TitaniumDRMConfiguration#Builder(String, String, String)
  • Removed deprecated IrdetoConfiguration.irdeto(String) in favor of IrdetoConfiguration#Builder(String)
  • Removed deprecated IrdetoConfiguration.irdeto(KeySystemConfiguration) in favor of IrdetoConfiguration#Builder(KeySystemConfiguration)
  • Removed deprecated TypedSource#Builder() in favor of TypedSource#Builder(String)
  • Removed deprecated TypedSource.typedSource(String) in favor of TypedSource#Builder(String)
  • Removed deprecated TypedSource.src(String) in favor of TypedSource#Builder(String)
  • Removed deprecated SourceDescription#Builder() in favor of SourceDescription#Builder(String) or SourceDescription#Builder(TypedSource...)
  • Removed deprecated SourceDescription.sourceDescription() in favor of SourceDescription#Builder(String...) or SourceDescription#Builder(TypedSource...)
  • Removed deprecated SourceDescription.sourceDescription(String...) in favor of SourceDescription#Builder(String...)
  • Removed deprecated SourceDescription.sourceDescription(TypedSource...) in favor of SourceDescription#Builder(TypedSource...)
  • Removed deprecated SourceDescription.sourceDescription(VerizonMediaSource...) in favor of SourceDescription#Builder(VerizonMediaSource...)
  • Removed deprecated SourceDescription.sources(String...) in favor of SourceDescription#Builder(String...)
  • Removed deprecated SourceDescription.sources(TypedSource...) in favor of SourceDescription#Builder(TypedSource...)
  • Removed deprecated SpotXData.spotxData() in favor of SpotXData#Builder()
  • Removed deprecated SpotXData.spotxData(SpotXData) in favor of SpotXData#Builder(SpotXData)
  • Removed deprecated SpotXDataQueryParameter.spotxDataQueryParameters() in favor of SpotXDataQueryParameter#Builder()
  • Removed deprecated AgamaPlayerConfiguration.agamaPlayerConfiguration(String) in favor of AgamaPlayerConfiguration#Builder(String)
  • Removed deprecated GoogleDaiTypedSource#Builder() in favor of GoogleDaiTypedSource#Builder(GoogleDaiConfiguration)
  • Removed deprecated GoogleDaiTypedSource.daiTypedSource(GoogleDaiConfiguration) in favor of GoogleDaiTypedSource#Builder(GoogleDaiConfiguration)
  • Removed deprecated AgamaSourceConfiguration.agamaSourceConfiguration(String, StreamType) in favor of AgamaSourceConfiguration#Builder(String, StreamType)
  • Removed deprecated IntegrationType#ADS in favor of IntegrationType#GOOGLE_IMA or IntegrationType#GOOGLE_DAI
  • Removed deprecated GoogleImaAdDescription constructors in favor of GoogleImaAdDescription#Builder()
  • Removed deprecated GoogleImaAdDescription#googleImaAdDescription() constructor in favor of GoogleImaAdDescription#Builder()
  • Removed deprecated GoogleImaAdDescription#googleImaAdDescription(String) in favor of GoogleImaAdDescription#Builder(String)
  • Removed deprecated GoogleImaAdDescription#Builder()#source(String) in favor of GoogleImaAdDescription#Builder(String)
  • Removed deprecated ChromecastMetadataDescription.chromecastMetadata(String) in favor of GoogleImaAdDescription#Builder(String)
  • Removed deprecated YouboraOptions constructor in favor of YouboraOptions#Builder(String)
  • Removed deprecated YouboraOptions#youboraOptions() constructor in favor of YouboraOptions#Builder(String)
  • Removed deprecated YouboraOptions#youboraOptions(String) in favor of YouboraOptions#Builder(String)
  • Removed deprecated SpotXDataQueryParameter.spotxDataQueryParameters(SpotXDataQueryParameter) in favor of SpotXDataQueryParameter#Builder(SpotXDataQueryParameter)
  • Removed deprecated Geo.spotxAdDescription() in favor of SpotXDataQueryParameter#Builder(String)
  • Removed deprecated SpotXAdDescription.spotxAdDescription(String) in favor of SpotXAdDescription#Builder(String)
  • Removed deprecated SpotXAdDescription.spotxAdDescription(SpotXAdDescription) in favor of SpotXAdDescription#Builder(SpotXAdDescription)
  • Removed deprecated SpotXAdDescription.Builder() in favor of SpotXAdDescription#Builder(SpotXAdDescription)
  • Removed deprecated SpotXAdDescription.id(String) in favor of SpotXAdDescription#Builder(SpotXAdDescription)
  • Removed deprecated YouboraOptions.Builder() in favor of YouboraOptions#Builder(String)
  • Removed deprecated Ads#requestPlaying() in favor of Ads#isPlaying()
  • Removed deprecated Ads#requestCurrentAds() in favor of Ads#getCurrentAds()
  • Removed deprecated Ads#requestCurrentAdBreak() in favor of Ads#getCurrentAdBreak()
  • Removed deprecated Ads#requestScheduledAds() in favor of Ads#getScheduledAds()
  • Removed deprecated Player#requestBuffered() in favor of Player#getBuffered()
  • Removed deprecated Player#requestCurrentTime() in favor of Player#getCurrentTime()
  • Removed deprecated Player#requestPlayed() in favor of Player#getPlayed()
  • Removed deprecated Player#requestSeekable() in favor of Player#getSeekable()
  • Removed deprecated Player#requestCurrentProgramDateTime() in favor of Player#getCurrentProgramDateTime()
  • Removed deprecated Player#requestVideoHeight() in favor of Player#getVideoHeight()
  • Removed deprecated Player#requestVideoWidth() in favor of Player#getVideoWidth()
  • Changed the behavior that using the THEOplayerSettings#setFullScreenOrientationCoupled(boolean) will also have an influence on the orientation when entering fullscreen. Please make use of the THEOplayerSettings#setFullscreenOrientation(ActivityInfo.SCREEN_ORIENTATION_*) instead to specify this behavior.

iOS

✨ Features

  • Added background audio playback support via THEOplayer.backgroundPlaybackDelegate API
  • Added integration support via THEOplayer.addIntegration() API
  • Added TextTrack styling support via THEOplayer.textTrackStyle API
  • Added support for track selection when caching via CachingParameters.preferredTrackSelection API
  • Added THEOplayer.developerSettings API to host developer-friendly settings and experimental features

tvOS

✨ Features

  • Added background audio playback support via THEOplayer.backgroundPlaybackDelegate API
  • Added integration support via THEOplayer.addIntegration() API
  • Added TextTrack styling support via THEOplayer.textTrackStyle API
  • Added THEOplayer.developerSettings API to host developer-friendly settings and experimental features

🚀 4.12.7 (2023/12/19)

iOS

🐛 Issues

  • Fixed an issue where TextTracks are not displayed when entering native picture-in-picture mode.

🚀 4.12.6 (2023/08/22)

iOS

🐛 Issues

  • Fixed an issue where native picture-in-picture mode would not be retained after a source change.

🚀 4.12.5 (2023/06/14)

Android

🐛 Issues

  • Fixed an issue where the paused state was not always reset.
  • Fixed an issue where missing DRM key was not handled correctly.

🚀 4.12.4 (2023/05/24)

Android

✨ Features

  • Added support for playbackUrlParameters for VerizonMediaSource.

🐛 Issues

  • Fixed an issue where the scheduling multiple Google IMA ads would crash the SDK.
  • Fixed an issue where recovering from failed source caching was not possible.

👎 Deprecations

  • Deprecate VerizonMediaSource#getParameters() in favor of VerizonMediaSource#getPreplayParameters().

iOS

✨ Features

  • Added support for playbackUrlParameters on VerizonMediaSource.

💥 Breaking Changes

  • Bumped Xcode minimum support version to 13.2.1 and Swift version to 5.5.

tvOS

💥 Breaking Changes

  • Bumped Xcode minimum support version to 13.2.1 and Swift version to 5.5.

🚀 4.12.3 (2023/05/03)

Android

🐛 Issues

  • Fixed an issue where the cached SourceDescription would lose DRM parameters.
  • Fixed an issue where the existing caching tasks would return incorrect state after app restart.

🚀 4.12.2 (2023/04/25)

Android

🐛 Issues

  • Fixed an issue where the cached SourceDescription would lose some metadata.
  • Fixed an issue where the existing caching tasks would return incorrect state.
  • Fixed an issue where caching would fail when the app is obfuscated.

🚀 4.12.1 (2023/04/20)

iOS

🐛 Issues

  • Fixed an issue where the initial cast state was wrong while using CastStrategy.auto.

🚀 4.12.0 (2023/04/03)

General

⚡ Improvements

  • Cancel all previous downloads on a source change for HESP streams.

🐛 Issues

  • Fixed an issue where setting preload to metadata would not start preloading the metadata for HLS streams.
  • Fixed an issue where the loadstart event would not be dispatched for HLS streams.
  • Fixed an issue where the player could stall on slightly malformed HLS streams that have a different NAME attribute for default renditions across different rendition groups.
  • Fixed an issue with HLS streams where incorrect/incomplete codec information in the master playlist could cause the player to stall.
  • Fixed an issue where the player would sometimes stall indefinitely on HESP streams during startup.

Web

✨ Features

  • Store bandwidth estimations to improve quality selection on startup for HESP streams.

🐛 Issues

  • Fixed an issue where the player would hang some time on bandwidth drop for HESP streams on iOS Safari.
  • Eliminated flickering on mobile Chrome when using VR through WebXR.
  • Fixed an issue when changing text tracks in native fullscreen, the changes weren't applied when going back to the inline player.

Android

✨ Features

  • Added an overload to MediaTrack.setTargetQualities() that accepts a List<Quality> instead of a QualityList.

⚡ Improvements

  • Improved TARGETQUALITYCHANGEDEVENT event type in AudioTrackEventTypes and VideoTrackEventTypes.

Unified Android

🐛 Issues

  • Fixed an issue where binary data contained in a cue of a metadata track would not be part of the TextTrackCue content property.

iOS

✨ Features

  • Exposed ownerIdentifier and data fields from ID3 private frames on the TextTrackCue's content property.

⚡ Improvements

  • Added CachingParameters().init() constructor

🐛 Issues

  • Fixed an issue where caching flow was not started if a rendition has Content Protection parameter specified.
  • Fixed an issue where initializing THEOplayerConfiguration without parameters would cause a crash.

tvOS

🐛 Issues

  • Fixed an issue where initializing THEOplayerConfiguration without parameters would cause a crash.

🚀 4.11.0 (2023/03/17)

General

🐛 Issues

  • Fixed an issue where the player would not store the bandwidth estimations in cache when playing HLS streams.

Web

💥 Breaking Changes

  • Updated the default VR direction so that looking forward corresponds to a yaw value of 0 instead of -180.

✨ Features

  • Add the possibility to configure the desired timescale to which it might need to shift to for DASH streams.

⚡ Improvements

  • Improve battery and network consumption of playback of HESP streams by pausing the player when it is hidden.
  • Improved VR rendering performance on Firefox.

🐛 Issues

  • Fixed an issue where sometimes the audio would freeze after switching qualities when playing HESP on iOS Safari.
  • Fixed an issue where audio and video would sometimes lose synchronization when playing an HESP stream on iOS Safari.

Unified Android

🐛 Issues

  • Fixed an issue where repetitive source setting would cause memory buildup.
  • Fixed an issue where the playback of the content would not start in case of an empty VAST.

🚀 4.10.0 (2023/03/06)

General

🐛 Issues

  • Fixed an issue where the player would often overestimate the available download bandwidth when playing an HLS stream.
  • Fixed an issue where the useCredentials and crossOrigin configuration flags were not respected for HLS streams.

Web

🐛 Issues

  • Fixed an issue where the latency on HESP streams increases when switching between qualities on iOS Safari.
  • Fixed an issue where default text tracks were not automatically enabled on iOS Safari.
  • Fixed an issue where a player with muted autoplay would unintentionally pause any background music in iOS Safari.
  • Fixed an issue where the player could become unresponsive after a source change when the license is invalid.
  • Fixed an issue where the player would rarely error when loading an MP4 segment of a HLS stream.

Android

🐛 Issues

  • Fixed an issue where the player did not reflect the correct chromecast state.

Unified Android

✨ Features

  • Introduced THEOplayerGlobal.getPlaybackSettings() to control and optimize playback behaviour (experimental)

🐛 Issues

  • Fixed an issue where mid-roll ads were not visible on low-end devices.
  • Fixed an issue where the startup time would be too long when switching sources.

iOS

🐛 Issues

  • Fixed an issue where closing the native picture-in-picture window would instead restore the previous presentation mode.
  • Fixed compatibility issues of fullscreen orientation coupling on iOS 16.
  • Fixed an issue where showing a subtitle/caption textTrack would disable an active metadata track.
  • Fixed an issue where the player was stuck in a muted state after muting during an IMA ad playout.

tvOS

💥 Breaking Changes

  • Stop support for tvOS 11. The minimum supported version is now 12.0.

✨ Features

  • Bump GoogleInteractiveMediaAds tvOS framework version to 4.8.2.

🚀 4.9.1 (2023/02/21)

iOS

🐛 Issues

  • Fixed an issue where THEOplayer did not load on iOS 16.4

🚀 4.9.0 (2023/02/17)

General

🐛 Issues

  • Fixed an issue where playback would sometimes stall after a non-seamless period transition on Tizen 2.

Web

💥 Breaking Changes

  • Removed HESP feature flag from all published npm builds except @theoplayer/basic-hesp.
  • Playback of HESP streams now requires a player license with the hesp feature enabled. Contact THEOplayer support if you require the hesp feature on your license.

🐛 Issues

  • Fixed a potential memory leak due to repeated DRM license creation on WebOS 2016/2017 models.
  • Fixed an issue where setting player.currentTime on iOS before playback has started wouldn't execute the seek.
  • Fixed an issue where a <Tracking event="progress"> inside a VAST advertisement could be triggered too soon.
  • Fixed an issue where the playing event would be dispatched twice during native playback.
  • Fixed an issue where a quality switch would cause a desync between audio and video for HESP streams on iOS Safari.
  • Fixed an issue where CEA608 cues would be kept in memory indefinite, causing issues when playing very long VODs on memory constrained devices.

Android

🐛 Issues

  • Fixed an issue where an unhandled NullPointerException could cause application crash while loading ads.

Unified Android

✨ Features

  • Added support for background audio playback of progressive media (mp4, mp3. avi...)

🐛 Issues

  • Fixed an issue where audio on some DRM protected streams would not play correctly.
  • Fixed an issue where process termination during Fullscreen was crashing the app.
  • Fixed an issue where some HEVC streams were failing to play.

iOS

💥 Breaking Changes

  • Stop support for iOS 11. The minimum supported version is now 12.0.
  • The 3.18.4 version of the IMA SDK framework does not support bitcode. As a result, the THEOplayer iOS SDK also drops support for bitcode when compiled with the IMA or DAI feature flags. Additionally, bitcode support is now deprecated for THEOplayer and will be fully dropped with the next released version. To understand more about this decision, please check the Xcode 14 release notes about bitcode deprecation.

✨ Features

  • Added support for wifi-only caching via CachingParameters.allowsCellularAccess
  • Bump GoogleInteractiveMediaAds iOS framework version to 3.18.4.
  • Added enableBackgroundPlayback property to GoogleIMAAdsConfiguration API.

🐛 Issues

  • Added compatibility support of custom in-app picture-in-picture for iOS 16

tvOS

✨ Features

  • Added enableBackgroundPlayback property to GoogleIMAAdsConfiguration API.

🚀 4.8.0 (2023/02/03)

General

🐛 Issues

  • Fixed an issue where badly provisioned SSAI streams potentially cause stalls on old webOS devices.
  • Fixed an issue where the player would error when switching between two different codecs.
  • Fixed an issue where the player would not consider the screen resolution of the smartTV when selecting the optimal quality for HLS streams.

Web

⚡ Improvements

  • Improved timing of the MediaTailor tracking events.

🐛 Issues

  • Fixed an issue where we didn't dispatch ad events for MediaTailor ads.
  • Fixed an issue so that playing a stream with only 1 video quality will only show 'Automatic' in the quality selection menu.
  • Fixed the position of the linear ad clickthrough and countdown when using the chromeless player.

Unified Android

✨ Features

  • Added support for MPEG audio.

🐛 Issues

  • Avoid dispatching SourceChangeEvent when casting starts.
  • Fixed an issue where some HLS streams did not start playback.
  • Fixed an issue where when going in or out of FullScreen would not dispatch events.
  • Fixed an issue where when a Track change event is received, the track wouldn't contain the changes.
  • Fixed an issue where PlayerEvents were not triggered during Google IMA ad playback.
  • Fixed stalling on start of HESP streams
  • Fixed an issue where playback of DRM protected streams would reveal visual artefacts on some Samsung phones.

iOS

✨ Features

  • Added viewController & viewControllerClass APIs to the Fullscreen API. The FullscreenViewController is now public and open to subclass.
  • Added a builder type to create GoogleIMAAdsConfiguration instances.

🐛 Issues

  • Fixed an issue where the puased state of the player would sometimes be incorrect when calling play() immediately after setting a source.

👎 Deprecations

  • Deprecated GoogleIMAAdsConfiguration.init in favor of GoogleIMAConfigurationBuilder
  • Deprecated setters on GoogleIMAConfiguration

tvOS

✨ Features

  • Added Fullscreen API.
  • Added a builder type to create GoogleIMAAdsConfiguration instances.

🐛 Issues

  • Fixed an issue that would prevent DRM playback on a player after another player was destroyed.

👎 Deprecations

  • Deprecated GoogleIMAAdsConfiguration.init in favor of GoogleIMAConfigurationBuilder
  • Deprecated setters on GoogleIMAConfiguration

🚀 4.7.0 (2023/01/20)

General

🐛 Issues

  • Fixed an issue where the ABR would not take the player's size into account to decide the optimal quality for HLS streams.

Web

✨ Features

  • Added support for the HLS #EXT-X-START tag. Note that the PRECISE attribute is currently ignored: the player always treats the tag as if PRECISE=YES was set.

🐛 Issues

  • Fixed an issue where the screen becomes black when destroying the player when in full window mode on iOS Safari.
  • Fixed an issue where the player would sometimes hang when setting the target latency for HESP streams on iOS Safari.

Unified Android

✨ Features

  • Added support for background playback of DASH/HLS audio/video streams.

🐛 Issues

  • Fixed an issue where on play-out of DASH streams the player would sometimes continue to download media data after the player was destroyed.
  • Fixed an issue where text track cues containing bitmaps would appear stretched or squashed in fullscreen mode.
  • Fixed an issue where the positioning of TTML text track cues would sometimes be wrong.

iOS

🐛 Issues

  • Fixed an issue where the player's initial paused state was toggled to unpaused, when adding the GoogleIMAIntegration during player setup

🚀 4.6.0 (2023/01/09)

General

🐛 Issues

  • Fixed an issue where only audio or video HESP streams would not play.

Web

✨ Features

  • Added the possibility to set the label for HLS qualities.

⚡ Improvements

  • Added improvements for latency on iOS Safari.
  • Improved HLS ABR to not switch to the lowest bandwidth if playback hasn't started yet.
  • Reduced amount of memory consumed by the player for HESP streams on iOS Safari.

🐛 Issues

  • Fixed an issue with the Google IMA integration where player.ads.currentAdBreak.ads.length would sometimes not be updated fast enough during playback of the first ad.
  • Fixed an issue where FairPlay could use an incorrect assetId.
  • Fixed an issue where some HLS variant streams were falsely filtered out on their codecs.
  • Fixed an issue where seeking backwards on Tizen 2.4 devices could result in an indefinite stall.
  • Fixed an issue where DASH playback would stall on Tizen 2 at period transitions due to overlapping segments.
  • Fixed an issue where the totalBytesLoaded and currentBandwidthEstimate metrics did not update for HLS streams.
  • Fixed an issue where a Google DAI DASH live streams did not dispatch ad events.
  • Fixed an issue where multi-period DASH streams could wrongfully filter out eventstream cues of the next period.
  • Fixed an issue where sometimes the player would do an incorrect seek on Tizen or WebOS 4.X or lower.
  • Fixed an issue where a view that is re-enabled would always be paused.

Unified Android

🐛 Issues

  • Fixed an issue where the source description of an asset was not correctly passed to a Chromecast receiver.
  • Fixed an issue where video artifacts would appear on initial playback of a CMAF stream.
  • Fixed an issue where isPaused would disregard the state of different Integrations.
  • Fixed an issue where a TTML text track with cues that contain images would not be rendered correctly.

iOS

🐛 Issues

  • Fixed an issue where DRM protected streams, using a custom DRM connector, would not play after switching sources

🚀 4.5.1 (2022/12/16)

iOS

✨ Features

  • Provide DAI configuration APIs to enable background mode.

tvOS

🐛 Issues

  • Fixed an issue where IMA ads would not play on tvOS.

🚀 4.5.0 (2022/12/09)

General

✨ Features

  • Added a new use-case 'same-drm-only' for 'useSeamlessPeriodSwitch' configuration on DASH to allow seamless period switches only between 2 drm or 2 non-drm periods.

⚡ Improvements

  • Made the ability to set the maximum bitrate for Google IMA ads visible in the documentation.

🐛 Issues

  • Fixed an issue where the player could sometimes crash with an "attempted to download an incomplete segment" error while playing an LL-HLS livestream.
  • Fixed an issue on Tizen 2 for use-cases where stalls or video looping could occur.
  • Fixed an issue where HESP streams with mediaTimeOffset would not work.
  • Fixed an issue with unwanted seeks due to the stall checker starting too soon.

Web

✨ Features

  • Added the ability to configure omidAccessModeRules for Google DAI.

🐛 Issues

  • Fixed an issue where WebVTT subtitle renditions were not always correctly synchronized when playing an HLS livestream.
  • Fixed an issue with the Google IMA integration where no ads could be scheduled after displaying a non-linear ad.
  • Fixed a regression on Internet Explorer 11 where the control bar appeared at the top (instead of at the bottom) of the player.
  • Fixed a regression on Internet Explorer 11 where HLS streams could not be loaded.
  • Fixed an issue where IMA preroll ads were skipped on iOS web when unmuted autoplay was used.
  • Fixed an issue that caused the following warning in the developer console in Chrome on Android: "Ignored attempt to cancel a touchend event with cancelable=false".
  • Fixed an issue that caused a deprecation warning about Event.path in the developer console in Chrome.
  • Fixed an issue where setting the currentTime before the player has loaded didn't result in a seek once playback started for an HLS source.
  • Fixed an issue where some LL-HLS variant streams were falsely filtered out on their codecs.

Android

👎 Deprecations

  • Deprecated AdsConfiguration#googleImaConfiguration() in favor of AdsConfiguration#googleIma().
  • Deprecated Builder#googleImaConfiguration() in favor of Builder#googleIma().

Unified Android

🐛 Issues

  • Fixed an issue where the optional callback method would not be executed on play, pause and setCurrentTime methods.

iOS

🐛 Issues

  • Fixed an issue where playing any source after a DRM source could fail

👎 Deprecations

  • Deprecated AdsConfiguration.googleImaConfiguration in favor of AdsConfiguration.googleIma.

🚀 4.4.0 (2022/11/25)

General

💥 Breaking Changes

  • Removed analytics, nogolive and bufferedchange event from the HESP api.

Web

✨ Features

  • Added ability to configure the maximum bitrate for Google IMA ads.
  • Added the ability to replace the ad tag parameters for ad requests for Google DAI.

⚡ Improvements

  • Improved the LCEVC integration so enhancements are applied frame accurate.

🐛 Issues

  • Fixed an issue where the player inadvertently used non-seamless period switches between two clear periods inside a DRM protected MPEG-DASH stream on Tizen 2.4.
  • Added a new use-case 'clear-only' for 'useSeamlessPeriodSwitch' configuration on DASH to allow seamless period switches only between non-drm periods.
  • Fixed a memory leak in the MPEG-TS transmux worker.
  • Fixed an issue on Tizen 5.0 devices where the player was not able to play MPEG-TS HLS streams.

Unified Android

🐛 Issues

  • Fixed an issue where the player sometimes took a long time to start playback on certain HLS live streams with low-precision #EXTINF durations.
  • Fixed an issue with Google DAI sources where the snapback position was not cleared between source changes.

iOS

🐛 Issues

  • Fixed an issue where the content player paused state after a source change would be incorrect.

tvOS

🐛 Issues

  • Fixed an issue where the content player paused state after a source change would be incorrect.

🚀 4.3.1 (2022/11/18)

Web

🐛 Issues

  • Fixed an issue that causes a fatal crash during long playback sessions on certain Tizen and WebOS models.

🚀 4.3.0 (2022/11/15)

General

⚡ Improvements

  • Improved HESP ABR resulting in less undesired downswitches.
  • Improve the latency calculation for HESP streams.
  • Improve ABR downswitching for HESP streams on Mac OS.
  • Improve ABR quality selection for HESP streams on iOS Safari.
  • Improved cache-friendliness of HESP playback by avoiding now initialization requests during startup if possible.

🐛 Issues

  • Fixed compatibility with HLS streams from AWS IVS.

Web

✨ Features

  • Added an experimental implementation for THEOplayer.MultiViewPlayer which supports in sync playback with multiple streams. It can be accessed through the multiview feature flag and using the multiview license.
  • Added automatic recovery when the player's buffer becomes too full to the new HLS pipeline. See player.abr.maxBufferLength for more information.

⚡ Improvements

  • Playing an HLS stream with AES-128 full-segment encryption no longer requires the web page to be served over HTTPS. (This removes the limitation that was introduced in version 4.0.0.)
  • Removed the 60 seconds limitation on player.abr.targetBuffer.

🐛 Issues

  • Fixed an issue where the player could stall indefinitely before a discontinuity when playing certain HLS streams on older smart TVs.
  • Fixed an issue where the player didn't fall back to an alternative source when the first HLS source contains DRM that is not supported by the platform.
  • Fixed an issue where the useNativePlayback option was not respected by the new HLS pipeline.
  • Fixed an issue where the player could freeze when changing sources after playing a FairPlay-protected HLS stream.
  • Fixed an issue where the player would refuse to play an fMP4 segment that contains a uuid box with a NULL character in its extended type.
  • Fixed an issue with the Google IMA integration where certain ads with percentage based timeOffset would not be scheduled if paired with a pre-roll.
  • Fixed an issue with the Google IMA integration where the player would be stuck on a black screen after the viewer skips an ad.

Android

✨ Features

  • Added fullscreenOrientation flag to THEOplayerSettings to specify which orientation the player will take when in fullscreen.

👎 Deprecations

  • Deprecated PiPManager#enterPiP() in favor of PiPManager#enterPiP(PiPType).
  • Deprecated the behavior that using the fullscreenOrientationCoupling will also have an influence on the orientation, when entering fullscreen. Please make use of the fullscreenOrientation instead to specify this behavior.

Unified Android

✨ Features

  • Add support for Google DAI integration.
  • Add support for Picture in Picture mode.
  • Introduced the handling of the violations (gaps) of media streams continuity for Android native media buffers

🐛 Issues

  • Fixed an issue where ad-related events would not be dispatched for MediaTailor sources.
  • Fixed an issue where play-back of a DASH stream would sometimes fail on parsing MP4 boxes.
  • Fixed an issue where removing tracks after switching sources would crash the player.
  • Fixed an issue where play-out of DRM protected streams would fail on Huawei devices.
  • Fixed an issue where the player would sometimes crash when casting a source using join strategy auto.
  • Fixed MEDIA-LOAD-ERROR on some HLS streams.
  • Fixed an issue where subtitle cues would not be updated during play-out.
  • Fixed no playing event for only audio streams.
  • Fixed an issue where a player configured without a THEOplayer license would not be able to play sources from the white-listed theoplayer.com domain.

👎 Deprecations

  • Deprecated IntegrationType#ADS in favor of specific integration types.

iOS

✨ Features

  • The Ads API now exposes a method that returns the scheduled Adbreaks when playing a Google DAI stream
  • Added methods to the public player.ads.dai API to control whether the snapBack feature is enabled on Google DAI streams
  • Added a public disableUI property to the GoogleIMAConfiguration to toggle the ad UI on non TrueView DAI ads

⚡ Improvements

  • Added documentation on how to use a MediaTailorSource

🐛 Issues

  • Fixed an issue where casting was not started when using the default Google Cast button
  • Fixed an issue where the player got into an infinite loading loop after disconnecting from Chromecast

tvOS

⚡ Improvements

  • Added documentation on how to use a MediaTailorSource

🚀 4.2.0 (2022/10/21)

General

🐛 Issues

  • Fixed various issues where the new HLS pipeline could lose synchronization when switching between variant streams, which would lead to wrong segments being downloaded or the player stalling indefinitely.
  • Fixed an issue where the "Playing on Chromecast" overlay did not always show the Chromecast receiver's name.
  • Fixed an issue where the HLS player could crash on certain MPEG-TS segments containing MP3 audio.
  • Fixed an issue where the player could sometimes crash when seeking to live on an HLS live stream with a very short sliding window.

Web

✨ Features

  • Added a new optional experimental property needsTimescaleShifting to the SourceDescription API to allow an override for the timescale shifting feature that is by default only enabled for Tizen 2.x.
  • Added the ability to set subtitle rendering margins using the player.textTrackStyle API. This is useful when using a custom UI so there is no overlap between the UI and the rendered subtitles.
  • Added support for license-renewal messages from the CDM when playing a DRM protected stream.

⚡ Improvements

  • Updated documentation to indicate that ABRConfiguration is readonly.
  • Removed top and bottom margins so that subtitles can be rendered anywhere on top of the player.
  • The default player UI will now push subtitles out of the way when it is visible, instead of having a fixed 10% top and bottom margin.
  • Made several improvements to MPEG-DASH playback on platforms with limited performance (such as Smart TVs).

🐛 Issues

  • Fixed an issue where sometimes the ad is shown below the player after switching tabs on iOS and iPad devices.
  • Fixed an issue where playback for HESP streams on iOS Safari 16 would not start.
  • Fixed an issue where during play-out of a DASH stream on an EOS stb the first frames would sometimes loop a few times.
  • Fixed an issue during Google DAI playback that could result in mismatched click-through URLs when given multiple Google DAI sources.
  • Fixed an issue where sometimes the webworker would not load when using the LL-HLS pipeline.

Android

💥 Breaking Changes

  • Align Google IMA SDK version used on all Android SDK platforms to 3.25.1.

🐛 Issues

  • Fix an issue where the audio of an IMA advertisement could be heard after the player was destroyed.
  • Fixed an issue where the state of the player would not be retained when switching to background/foreground whilst playing an Google IMA ad.

Unified Android

✨ Features

  • Added Player#setRenderingTarget(RenderingTarget) API to switch between SurfaceView and TextureView.

🐛 Issues

  • Fixed an issue where playback of a DASH stream would sometimes fail on parsing MP4 boxes.

iOS

🐛 Issues

  • Fixed an issue where setting the nativePictureInPicture configuration would introduce unwanted behavior.
  • Fixed an issue where the timeOffset and maxDuration values were -1 in the ad data returned by an adEvent.
  • Fixed an issues where Ad properties on AdEvents were not properly populated while playing a Google DAI stream.

🚀 4.1.1 (2022/10/14)

Web

🐛 Issues

  • Fixed an issue where sometimes the webworker would not load when using the LL-HLS pipeline.

iOS

⚡ Improvements

  • Added an identifier to distinguish VerizonMediaAdBreaks.

🚀 4.1.0 (2022/09/26)

General

✨ Features

  • Added support for Playlist Delta Updates in low-latency HLS.

🐛 Issues

  • Fixed an issue where CEA-608 closed captions were not correctly detected after loading a second HLS stream into the player.
  • Fixed an issue where the player would fail to play audio when setting the player's source directly to an HLS media playlist (without an HLS master playlist).
  • Fixed an issue where the player could fail to start playback when the variant streams in the HLS master playlist do not have a CODECS attribute.

Web

✨ Features

  • Added the ability to modify the source URL returned by the Google DAI library before starting playback.
  • Added an optional 'deviceID' property to AgamaPlayerConfiguration which if present will be used instead of the internally generated one.

🐛 Issues

  • Fixed an issue where the player would error when parsing an MPEG-TS file that contained no data in the new HLS pipeline.
  • Fixed an issue where the THEO ad integration would play all previously skipped ads in the post-roll ad break.
  • Fixed an issue where attempting to play an HLS stream with MPEG-TS segments on WebOS 4.0 would crash the web page.
  • Fixed an issue where WebVTT cues with a line position as a percentage could appear cut off.
  • Fixed an issue on webOS 4.0 where sometimes a subtitle cue would remain on screen indefinitely.

Android

💥 Breaking Changes

  • Removed deprecated Player#requestMetrics(RequestCallback).

✨ Features

  • Added a flag in THEOplayerGlobal#getSDKType() API that returns the SDKType in use.

🐛 Issues

  • Fixed an issue where play-out of a DRM protected stream would sometimes crash the player after switching sources multiple times.

Unified Android

💥 Breaking Changes

  • HespApi.EventListener#onAnalytic() now passes a jsonValue parameter of type String instead of type JSONObject. The parameter contains a stringified json object.
  • Removed deprecated Player#requestMetrics(RequestCallback).

✨ Features

  • Decreased the memory footprint for MPEG TS content playback.
  • Added a flag in THEOplayerGlobal#getSDKType() API that returns the SDKType in use.

🐛 Issues

  • Fixed an issue where enabling an audio or video track when playing a non-streamable media asset would sometimes crash the player.
  • Fixed an issue where the player reset the non-streaming sources while switching in/out of fullscreen.
  • Fixed an issue where play and playing events were not consistently dispatched during play-out of non-streaming media files.
  • Fixed an issue where playback would sometimes not start for HLS streams containing MPEG-TS segments that do not have an I-frame at start.
  • Fixed an issue that would crash the player when attaching a listener to the Hesp API.
  • Fixed an issue where ad details would not be passed when dispatching IMA ad events.
  • Fixed an issue where a source with multiple IMA ads, which are scheduled on the same timeOffset, would only retain the last ad.

iOS

✨ Features

  • Expose Google DAI functions on THEOplayer/ads/dai to convert points in time between timelines including and excluding ads: func contentTime(from streamTime: Double) -> Double and func streamTime(from contentTime: Double) -> Double.

🐛 Issues

  • Fixed a bug that causes high CPU usages when playing videos with subtitles for more than 30 minutes.

🚀 4.0.0 (2022/08/31)

Officially announcing THEOplayer 4.0

Introducing a major version bump to THEOplayer 4.0. This version officially releases all the improvements and developments THEOplayer has achieved since version 3.0. THEOplayer 4.0 is backwards compatible for most features but includes some breaking changes per SDK. Please review them carefully in the respective changelog for your SDK.

  • Android SDK 4.0: We’ve added support for MPEG-TS, progressive MP4, casting and CSAI to our new high-performing Android pipeline.

  • LCEVC support: You can now play back LCEVC-enabled streams to deliver a richer viewer experience or to achieve bandwidth savings.

  • AWS MediaTailor: Leverage the AWS MediaTailor integration and easily track your client-side events cross-platform to discover how viewers interact with your ads.

  • New HLS pipeline: We’ve combined both HLS and LL-HLS features in our new HLS pipeline and additionally increased performance and stability on smart TVs and older devices.

  • React Native SDK: MP4 playback is available, thumbnail support has been added to the React Native sample app on Github and we’ve updated our documentation to make sure you can easily get started!

General

💥 Breaking Changes

  • The new HLS pipeline is now enabled by default. Formerly known as "the LL-HLS pipeline", this pipeline adds support for low-latency HLS streaming, with full support for Widevine, PlayReady and FairPlay DRM. (If you prefer to stay on the old pipeline for now and migrate later, you can enable the hls-legacy feature flag on your SDK and set source.hls.useLegacy to true when configuring your source.)
  • ID3 cues now have their startTime set to the dispatch time, and their endTime set to the dispatch time of the next ID3 tag. Previously, their endTime was equal to the dispatch time and their startTime was always 0, which rendered TextTrack.activeCues useless. Users who want to observe ID3 cue activations should now use the enter event (instead of the exit event), or alternatively use the cuechange event on the containing text track.

🐛 Issues

  • Fixed an issue where the player would stall during live DASH playback that contained DRM when the entire availability window suddenly contained no DRM.
  • Fixed an issue with AES-128 decryption using the new LL-HLS pipeline where the player would incorrectly parse the initialization vector.

Web

💥 Breaking Changes and known limitations

  • Removed the deprecated DRM processor APIs, i.e.: KeySystemConfiguration.certificateRequestProcessor, .certificateResponseProcessor, .licenseRequestProcessor and .licenseResponseProcessor. Use the Content Protection Integration API instead: https://docs.theoplayer.com/api-reference/web/theoplayer.registercontentprotectionintegration.md
  • The new HLS pipeline requires the HLS master playlist to correctly list all used audio and video codecs in the CODECS attribute of the #EXT-X-STREAM-INF tags. Otherwise, the player may fail to start playback or fail to play the audio or video track. Notably, when setting the source directly to an HLS media playlist (without a master playlist), the player may fail to play the audio track.
  • Playing an HLS stream with AES-128 full-segment encryption requires the web page to be served over HTTPS.
  • The new HLS pipeline performs soft quality switches, meaning that it plays the current buffer out before showing the quality switch (as opposed to rebuilding the buffer in the new quality).

✨ Features

  • Added automatic recovery when the player's buffer becomes too full. When the player fails to buffer the next segment because there's no more room in its buffer, it will now wait until the playhead has advanced further before retrying this segment. See player.abr.maxBufferLength for more information. This is currently only supported for MPEG-DASH streams.
  • Added support for loading cached streams in the LL-HLS pipeline using the Cache API.
  • Allow changing the UI language dynamically with player.ui.language(languageCode).
  • Added support for clickthroughs in Verizon Media Ads.
  • Added support for default classes in WebVTT. Tags such as <c.yellow> now receive a default color according to https://www.w3.org/TR/webvtt1/#default-classes.
  • Added basic support for MP3 audio in the new HLS pipeline.

🐛 Issues

  • Fixed an issue where certain nested <div> elements inside a TTML subtitle were not rendered.
  • Fixed an issue which caused the player to be stuck in an infinite loop on the end of a discontinuity with our legacy HLS pipeline.
  • Fixed an issue where <p> tags in TTML subtitles did not correctly inherit the tts:textAlign property from their parent region's style.
  • Fixed an issue where FairPlay streams would still use the new HLS pipeline instead of native playback on Safari.
  • Fixed an issue where the browser could run out of memory over time while playing an HLS stream with high-resolution MPEG-TS segments in the new HLS pipeline.

Android

💥 Breaking Changes

  • Removed deprecated THEOplayerConfig constructor in favor of THEOplayerConfig.Builder.
  • Removed deprecated THEOplayerConfig#allowMixedContent(boolean).
  • Removed deprecated THEOplayerConfig.Builder#googleIma(boolean) in favor of AdsConfiguration#googleImaConfiguration().
  • Removed deprecated MediaTrack#setTargetQualities(List<Q> qualities) in favor of MediaTrack#setTargetQualities(QualityList).
  • Removed deprecated TextTrackDescription constructor in favor of TextTrackDescription#Builder().
  • Removed deprecated SourceDescription constructors in favor of SourceDescription#Builder().
  • Removed deprecated TypedSource constructors in favor of TypedSource#Builder().
  • Removed deprecated TypedSource.Builder#setExperimentalRenderingEnabled(boolean) in favor of TypedSource.Builder#setNativeRenderingEnabled(boolean).
  • Removed deprecated TypedSource#isExperimentalRenderingEnabled(boolean) in favor of TypedSource#isNativeRenderingEnabled(boolean).
  • Removed deprecated GoogleDaiConfiguration.Builder#sourceType(SourceType) and GoogleDaiConfiguration#getSourceType() in favor of TypedSource.Builder#type(SourceType) and TypedSource#getType() respectively.
  • Removed deprecated DRM Configuration constructors in favor of respective Builder.
  • Removed deprecated ErrorEvent#getError() in favor of ErrorEvent#getErrorObject().
  • Removed deprecated ContentProtectionErrorEvent methods.
  • Removed deprecated CachingParameters constructor in favor of CachingParameters.Builder.
  • Removed deprecated Chromecast#setSource(SourceDescription) in favor of Chromecast#setConnectionCallback(ChromecastConnectionCallback).
  • Removed deprecated FullScreenManager#setAspectRatio(AspectRatio) in favor of Player#setAspectRatio(AspectRatio).
  • Removed deprecated com.theoplayer.android.api.fullscreen.AspectRatio enum in favor of com.theoplayer.android.api.player.AspectRatio.
  • Removed deprecated SpotXAdDescription fields in favor of SpotXDataQueryParameter.
  • Stopped providing THEOplayer Android MinApi16 SDK.
  • Bumped minimum supported version to Android 5.0 (API level 21).

✨ Features

  • Exposed traffickingParameters in GoogleImaAd.
  • Expose streamTimeForContentTime and contentTimeForStreamTime for Google DAI.

👎 Deprecations

  • Deprecated static AgamaPlayerConfiguration.Builder#agamaPlayerConfiguration(String) constructors in favor of AgamaPlayerConfiguration.Builder(String).
  • Deprecated static AgamaSourceConfiguration.Builder#agamaSourceConfiguration(String, StreamType) constructors in favor of AgamaSourceConfiguration.Builder(String, StreamType).
  • Deprecated public YouboraOptions(String) constructor in favor of YouboraOptions.Builder(String).
  • Deprecated static YouboraOptions.Builder#youboraOptions() constructors in favor of YouboraOptions.Builder(String).
  • Deprecated public YouboraOptions.Builder() constructor in favor of YouboraOptions.Builder(String).
  • Deprecated static YouboraOptions.Builder#youboraOptions(String) constructors in favor of YouboraOptions.Builder(String).
  • Deprecated static ChromecastMetadataDescription.Builder#chromecastMetadata() constructor in favor of ChromecastMetadataDescription.Builder().
  • Deprecated static GoogleDaiTypedSource.Builder#daiTypedSource(GoogleDaiConfiguration) constructor in favor of GoogleDaiTypedSource.Builder(GoogleDaiConfiguration).
  • Deprecated static AbrStrategyConfiguration.Builder#abrStrategyConfiguration() constructor in favor of AbrStrategyConfiguration.Builder().
  • Deprecated static AbrStrategyMetadata.Builder#abrStrategyMetadata() constructor in favor of AbrStrategyMetadata.Builder().
  • Deprecated static DRMTodayConfiguration.Builder#drmToday(String) constructor in favor of DRMTodayConfiguration.Builder(String).
  • Deprecated static DRMTodayConfiguration.Builder#drmToday(KeySystemConfiguration) constructor in favor of DRMTodayConfiguration.Builder(KeySystemConfiguration).
  • Deprecated static IrdetoConfiguration.Builder#irdeto(String) constructor in favor of IrdetoConfiguration.irdeto(String).
  • Deprecated static IrdetoConfiguration.Builder#irdeto(KeySystemConfiguration) constructor in favor of IrdetoConfiguration.Builder(KeySystemConfiguration).
  • Deprecated static KeyOSDRMConfiguration.Builder#keyOsDrm() constructor in favor of KeyOSDRMConfiguration.Builder().
  • Deprecated static KeyOSKeySystemConfiguration.Builder#keyOsKeySystemConfiguration(String) constructor in favor of KeyOSKeySystemConfiguration.Builder(String).
  • Deprecated static TitaniumDRMConfiguration.Builder#titaniumDrm(String, String, String) constructor in favor of TitaniumDRMConfiguration.Builder(String, String, String).
  • Deprecated static VudrmDRMConfiguration.Builder#vudrmDrm(String) constructor in favor of VudrmDRMConfiguration.Builder(String).
  • Deprecated static ClearkeyKeySystemConfiguration.Builder#clearkeyKeySystemConfiguration(String) constructor in favor of ClearkeyKeySystemConfiguration.Builder(String).
  • Deprecated static DRMConfiguration.Builder#fairplayDrm(FairPlayKeySystemConfiguration) constructor in favor of new DRMConfiguration.Builder().fairplay(FairPlayKeySystemConfiguration).
  • Deprecated static DRMConfiguration.Builder#playreadyDrm(KeySystemConfiguration) constructor in favor of new DRMConfiguration.Builder().playready(KeySystemConfiguration).
  • Deprecated static DRMConfiguration.Builder#widevineDrm(KeySystemConfiguration) constructor in favor of new DRMConfiguration.Builder().widevine(KeySystemConfiguration).
  • Deprecated static DRMConfiguration.Builder#clearkeyDrm(ClearkeyKeySystemConfiguration) constructor in favor of new DRMConfiguration.Builder().clearkey(ClearkeyKeySystemConfiguration).
  • Deprecated static FairPlayKeySystemConfiguration.Builder#fairPlayKeySystemConfiguration(String, String) constructor in favor of FairPlayKeySystemConfiguration.Builder(String, String).
  • Deprecated static KeySystemConfiguration.Builder#keySystemConfiguration(String) constructor in favor of KeySystemConfiguration.Builder(String).
  • Deprecated public KeySystemConfiguration constructors in favor of KeySystemConfiguration.Builder(String).
  • Deprecated static YoSpaceDescription.Builder#yoSpaceDescription() constructor in favor of YoSpaceDescription.Builder().
  • Deprecated static YoSpaceLogLevelConfiguration.Builder#yoSpaceLogLevelConfiguration() constructor in favor of YoSpaceLogLevelConfiguration.Builder().
  • Deprecated static TextTrackDescription.Builder#textTrackDescription() constructor in favor of TextTrackDescription.Builder(String).
  • Deprecated static TextTrackDescription.Builder#textTrackDescription(String) constructor in favor of TextTrackDescription.Builder(String).
  • Deprecated static TextTrackDescription.Builder#src(String) constructor in favor of TextTrackDescription.Builder(String).
  • Deprecated static TypedSource.Builder#typedSource() constructor in favor of TypedSource.Builder(String).
  • Deprecated static TypedSource.Builder#typedSource(String) constructor in favor of TypedSource.Builder(String).
  • Deprecated TypedSource.Builder#src(String) method in favor of TypedSource.Builder(String).
  • Deprecated static SourceDescription.Builder#sourceDescription() constructor in favor of SourceDescription.Builder(String...) or SourceDescription.Builder(TypedSource...).
  • Deprecated static SourceDescription.Builder#sourceDescription(String...) constructor in favor of SourceDescription.Builder(String...).
  • Deprecated static SourceDescription.Builder#sourceDescription(TypedSource...) constructor in favor of SourceDescription.Builder(TypedSource...).
  • Deprecated static SourceDescription.Builder#sourceDescription(VerizonMediaSource...) constructor in favor of SourceDescription.Builder(VerizonMediaSource...).
  • Deprecated SourceDescription.Builder#sources(String...) method in favor of SourceDescription.Builder(String...).
  • Deprecated SourceDescription.Builder#sources(TypedSource...) method in favor of SourceDescription.Builder(TypedSource...).
  • Deprecated public THEOplayerAdDescription constructors in favor of THEOplayerAdDescription.Builder(String).
  • Deprecated static THEOplayerAdDescription.Builder#adDescription() constructor in favor of THEOplayerAdDescription.Builder(String).
  • Deprecated static THEOplayerAdDescription.Builder#adDescription(String) constructor in favor of THEOplayerAdDescription.Builder(String).
  • Deprecated THEOplayerAdDescription.Builder#source(String) method in favor of THEOplayerAdDescription.Builder(String).
  • Deprecated public GoogleImaAdDescription constructors in favor of GoogleImaAdDescription.Builder(String).
  • Deprecated static GoogleImaAdDescription.Builder#googleImaAdDescription() constructor in favor of GoogleImaAdDescription.Builder(String).
  • Deprecated static GoogleImaAdDescription.Builder#googleImaAdDescription(String) constructor in favor of GoogleImaAdDescription.Builder(String).
  • Deprecated GoogleImaAdDescription.Builder#source(String) method in favor of GoogleImaAdDescription.Builder(String).
  • Deprecated static SpotXAdDescription.Builder#spotxAdDescription() constructor in favor of SpotXAdDescription.Builder(String).
  • Deprecated static SpotXAdDescription.Builder#spotxAdDescription(String) constructor in favor of SpotXAdDescription.Builder(String).
  • Deprecated static SpotXAdDescription.Builder#spotxAdDescription(SpotXAdDescription) constructor in favor of SpotXAdDescription.Builder(SpotXAdDescription).
  • Deprecated SpotXAdDescription.Builder#id(String) method in favor of SpotXAdDescription.Builder(String).
  • Deprecated public SpotXAdDescription.Builder() constructor in favor of SpotXAdDescription.Builder(String).
  • Deprecated static SpotXAdDescription.SpotXDataQueryParameter#spotxDataQueryParameters() constructor in favor of SpotXAdDescription.SpotXDataQueryParameter.Builder().
  • Deprecated static SpotXAdDescription.SpotXDataQueryParameter#spotxDataQueryParameters(SpotXDataQueryParameter) constructor in favor of SpotXAdDescription.SpotXDataQueryParameter.Builder(SpotXDataQueryParameter).
  • Deprecated static SpotXAdDescription.SpotXData#spotxData() constructor in favor of SpotXAdDescription.SpotXData.Builder().
  • Deprecated static SpotXAdDescription.SpotXData#spotxData(SpotXData) constructor in favor of SpotXAdDescription.SpotXData.Builder(SpotXData).

Unified Android

💥 Breaking Changes

  • Bumped minimum supported version to Android 5.0 (API level 21).

✨ Features

  • Added support for MediaTailor sources.
  • Added MediaTailor integration with progression tracking functionality.

🐛 Issues

  • Fixed the HTTP callback crash on slow phones
  • Fixed an issue where the ABR controller would not take into account the player size for HESP streams.

iOS

💥 Breaking Changes

  • Removed deprecated THEOplayerConfiguration constructors
  • Removed Chromecast.source API in favor of Chromecast.setChromecastConnectionDelegate
  • Removed THEOplayer.unload() method in favor of THEOplayer.destroy()
  • Removed deprecated VRConfiguration constructors

👎 Deprecations

  • Swift 5.3 (XCode 12.4) is deprecated.
  • Please start migrating your projects to be compatible with the Swift 5.5 compiler (Xcode 13) or later. Starting from THEOplayerSDK 5.0.0 we will only support Swift 5.5 or higher.

tvOS

🐛 Issues

  • Various UI and presentation mode fixes including: better focus when in fullscreen, fixed issues when exiting fullscreen, improved PictureInPicture button animation, and player controls now auto fade out when inactive.

👎 Deprecations

  • Swift 5.3 (XCode 12.4) is deprecated.
  • Please start migrating your projects to be compatible with the Swift 5.5 compiler (Xcode 13) or later. Starting from THEOplayerSDK 5.0.0 we will only support Swift 5.5 or higher.

🚀 3.7.0 (2022/08/01)

General

✨ Features

  • Improved LL-HLS playlist synchronization on live streams when discontinuities are present.
  • Support seeking to a program date time in LL-HLS using player.currentProgramDateTime.

🐛 Issues

  • Fixed an issue where seeking back would result downloading the same segments for a while using the LL-HLS pipeline.
  • Fixed a crash in the LL-HLS pipeline when a partial segment does not contain an SPS or PPS NAL.
  • Fixed an issue where #EXT-X-PRELOAD-HINT tags with BYTERANGE-START and without BYTERANGE-LENGTH were parsed incorrectly in the LL-HLS pipeline.
  • Increased timeout on LL-HLS playlist blocking requests to 3*targetDuration.
  • Fixed an issue where LL-HLS playlists would not be synced correctly.

Web

✨ Features

  • Enabled LCEVC enhancements when playing LCEVC content using the LL-HLS and DASH pipelines. This can be activated by adding lcevc: true to the source description and including the LCEVC SDK on your web page.
  • Exposed streamTimeForContentTime and contentTimeForStreamTime for Google DAI.
  • Added a flag in the Google DAI API to enable and disable snapback behaviour.

⚡ Improvements

  • Improved handling of the tracking events for the MediaTailor integration.

🐛 Issues

  • Fixed an issue where the player would stall indefinitely for a live stream using the LL-HLS pipeline once it got outside of the DVR window.
  • Fixed an issue where embedded vtt subtitles were not rendered during native playback.
  • Fixed an issue where changing between two text tracks would result in not removing the cue of the disabled text track.
  • Fixed an issue where the player using the LL-HLS pipeline could fetch more data from a stream than needed which caused an error.
  • Fixed an issue where FairPlay streams would inadvertently use the LL-HLS pipeline instead of native playback on Safari.
  • Fixed an issue where pre-rolls would be skipped when setting a new source and using the default THEO ads integration.

Android

🐛 Issues

  • Fixed an issue where audio of a Google IMA ad would still play in a secondary activity after it was destroyed.

Unified Android

🐛 Issues

  • Fixed an issue where DASH streams would sometimes stall when starting playback.

iOS

✨ Features

  • Added the possibility for DRM configurations to hold both a Widevine and a FairPlay KeySystemConfiguration using the new MultiplatformDRMConfiguration and KeySystemConfigurationCollection.
  • Added support for changing VerizonMedia skipOffsets while playing a video.
  • Exposed traffickingParameters for Google IMA.
  • Added MediaTailor integration support by introducing a new TypedSource: MediaTailorSource.

👎 Deprecations

  • The classes FairPlayDRMConfiguration, WidevineDRMConfiguration and their corresponding ObjC equivalents are deprecated in favor of the new MultiplatformDRMConfiguration.
  • Deprecated the initializers for pre-integartion DRM configurations with the FairPlay specific licenseAcquisitionURL: in favor of the new initializer with the keySystemConfigurations: parameter.

tvOS

✨ Features

  • Added MediaTailor integration support by introducing a new TypedSource: MediaTailorSource.

🚀 3.6.1 (2022/07/12)

Web

🐛 Issues

  • Fixed an issue where the player would stall indefinitely for a live stream using the LL-HLS pipeline once it got outside of the DVR window.
  • Fixed an issue where embedded vtt subtitles were not rendered during native playback.
  • Fixed an issue where changing between two text tracks would result in not removing the cue of the disabled text track.

Android

👎 Deprecations

  • Deprecated fullscreen.AspectRatio in favor of player.AspectRatio.

Unified Android

✨ Features

  • Introduced the MPEG TS content playback for native Android pipeline
  • Added support for setAspectRatio(AspectRatio).
  • Added support for progressive MP4/MP3 playback.

🐛 Issues

  • Adjust subtitles size when going in/out of fullscreen.

🚀 3.6.0 (2022/07/05)

General

✨ Features

  • Added support for player.preload in the LL-HLS pipeline.
  • Added support for player.abr.targetBuffer and .bufferLookbackWindow in the LL-HLS pipeline.
  • Added support for player.abr.strategy in the LL-HLS pipeline.
  • Added support for setting preferredKeySystems for DRM HESP streams.

⚡ Improvements

  • Improved ABR algorithm to take screen size into account for HESP streams.
  • AudioTrack.label now uses the NAME attribute of the associated #EXT-X-MEDIA tag for alternative audio renditions in the LL-HLS pipeline.
  • Improved parsing of the license downloaded from licenseUrl.

🐛 Issues

  • Fixed an issue where HESP playback doesn't start when a response interceptor is added to the Network API.
  • Fixed an issue where the player could sometimes stall indefinitely when seeking backwards over a discontinuity in the LL-HLS pipeline.
  • Fixed an issue where the player would crash with an "Invalid media buffer" error when switching qualities on certain streams in the LL-HLS pipeline.
  • Fixed an issue where MPEG-TS segments containing H.264 NALs with certain NAL types where not accepted by the LL-HLS pipeline.
  • Fixed an issue where seekable doesn't update when the stream has combined audio and video.
  • Fixed an issue where sometimes switching a WEBVTT text track without cues would cause an error.
  • Fixed an issue where the player could stall on a discontinuity switch when using the LL-HLS pipeline.

Web

✨ Features

  • Added ability to configure Google IMA OmidAccessModeRules.

🐛 Issues

  • Fixed an issue where abr selection didn't happen on smart TV's when using the LL-HLS pipeline.
  • Fixed an issue where VerizonMedia contentNotification set to true was broken.
  • Fixed an issue where player.currentProgramDateTime sometimes didn't update correctly if the stream has combined audio and video.
  • Fixed an issue with Google-IMA where the player would become unresponsive when pausing during a mid-roll ad.
  • Fixed an issue where setting playAdsAfterTime on the player source would cause VMAP ads using the Google IMA integration to be completely ignored.
  • Fixed an issue where MOAT pixels were only sent for the first ad in an adbreak.

Android

✨ Features

  • Added support for MediaTailor sources.
  • Added setSkipOffset(offset) for Verizon Media adbreaks, to set the time after which an adbreak can be skipped.

Unified Android

✨ Features

  • Added support to register custom DRM integrations.

🐛 Issues

  • Fixed an issue where a play() would have no effect if called in quick succession of setSource().
  • Fixed an issue where the player would not pause when the app goes to the background.

iOS

✨ Features

  • Added VerizonMediaSource.prefix to change the prefix for Verizon Media (Edgecast) Preplay and Asset Info API requests.

🐛 Issues

  • Fixed an issue where CastStrategy.auto was not taken into account while using Chromecast.
  • Fixed an issue where text track AddCueEvents were sometimes missing.

🚀 3.5.0 (2022/06/02)

General

✨ Features

  • Added support for ID3 metadata in the LL-HLS pipeline.
  • Added support for ID3 carriage in CMAF for DASH streams. (https://aomediacodec.github.io/id3-emsg/)
  • Added support for CEA-608 closed captions in the LL-HLS pipeline.
  • Added support for Fairplay DRM HESP streams.

⚡ Improvements

  • Improve ABR algorithm for HESP streams.
  • Changed goLive to take the latency configuration into account to determine the time to seek to.
  • Improve the types of the text track API events.

🐛 Issues

  • Fixed an issue where WebVTT cue settings were not respected for HLS subtitle renditions.
  • Fixed an issue where the X-TIMESTAMP-MAP metadata header was not respected when parsing WebVTT subtitles in the LL-HLS pipeline.
  • Fixed an issue where #EXT-X-BYTERANGE tags without an offset were not recognized in the LL-HLS pipeline.
  • Fixed an issue where a DASH manifest containing a subsegmentStartsWithSAP attribute set to a non-numeric would crash the player.

Web

✨ Features

  • Added player.latency API for managing low-latency live playback.

🐛 Issues

  • Fixed an issue where the player would get stuck fetching the same segment of DASH live streams.
  • Fixed an issue where the player could sometimes get into an infinite loop when trying to jump a gap on certain HLS streams in the LL-HLS pipeline.
  • Fixed an issue where for an MPEG-TS stream using the LL-HLS pipeline it could stall on a discontinuity.
  • Fixed an issue where sometimes the AirPlay button was shown when AirPlay is not supported.
  • Fixed an issue where an incorrect timescale rescaling would break playback on Tizen 2 devices.

Android

✨ Features

  • Added FullScreenManager.setAspectRatio(AspectRatio aspectRatio), to configure what the aspect ratio of the content is.
  • Added VerizonMediaSource.Builder#prefix(String) to change the prefix for Verizon Media (Edgecast) Preplay and Asset Info API requests.
  • Added support for static access to player version APIs via THEOplayerGlobal.getVersion() and THEOplayerGlobal.getPlayerSuiteVersion()

🐛 Issues

  • Fixed an issue where play-out of a DRM protected stream would fail after switching sources multiple times.

Unified Android

✨ Features

  • Allow querying the source of a side-loaded text track and whether it is a forced text track or not.

🐛 Issues

  • Fixed an issue where the player sometimes crashes if multiple players are configured in parallel.
  • Fixed an issue where the player would sometimes crash on play-out of an HLS stream with text tracks.
  • Fixed an issue where the Cast module crashed when GooglePlayServices was missing from the device.
  • Fixed an issue where DRM playback would fail when using multiple players on Huawei devices.

iOS

✨ Features

  • Added support for canStartPictureInPictureAutomaticallyFromInline in Native Picture-in-Picture.
  • Exposed the src property on the iOS TextTrack API

🐛 Issues

  • Fixed an issue where start-up time was too long for certain LL-HLS streams
  • Fixed a bug that would crash the containing app when playing a video with a sideloaded text track in combination with an ad.
  • Fixed an API documentation error for the AspectRatio property where the descriptions for fill and aspectFill were mixed up.

🚀 3.4.0 (2022/05/05)

General

✨ Features

  • Added support for missing keyframes at the start of a segment for LL-HLS.
  • Added support for sideloaded text tracks in the LL-HLS pipeline.

🐛 Issues

  • Fixed an issue where the LL-HLS pipeline would show a duplicate audio track for variant streams without a CODECS attribute.
  • Fixed an issue where a forced TextTrack would not be correctly enabled/disabled after a track switch.

Web

✨ Features

  • Added MediaTailor integration with progression tracking functionality.
  • Added support for packed audio segments (.aac files) in the LL-HLS pipeline.
  • Added VerizonMediaSource.prefix to change the prefix for Verizon Media (Edgecast) Preplay and Asset Info API requests.
  • Added support for <font color> tags in SubRip (SRT) subtitles.
  • Added the ability to skip scheduled ads by setting SourceDescription.playAdsAfterTime.
  • Added support for line setting in WebVTT subtitles.
  • Added support for the following MediaTailor tracking events: 'pause', 'resume', 'mute', 'unmute', 'fullscreen', 'exitFullscreen' and 'engagedView'.
  • Enabled MPEG-TS support by default for the LL-HLS pipeline.

🐛 Issues

  • Fixed an issue that caused the player to ignore the sub second part of IMA ad time offsets.
  • Fixed an issue where the player would not give a clear error when setting an invalid Yospace source.
  • Fixed an issue on Tizen 2.4 where the player would occassionally throw an InvalidStateError for certain HTTP requests.
  • Fixed an issue on Tizen 2.4 where the LL-HLS pipeline would crash on certain MPEG-TS segments containing large media timestamps.
  • Fixed a bug where Google IMA ads would stop being scheduled after receiving an empty ad break.
  • Fixed a bug where player.ads.scheduledAdBreaks would contain ads that have already played.
  • Fixed an issue where Google IMA ads would sometimes not be scheduled correctly when using a percentage string as the timestampOffset.
  • Fixed an issue where the LL-HLS pipeline failed to parse certain MPEG-TS segments containing ID3 tags spanning multiple MPEG-TS packets.
  • Fixed an issue where the player would falsely think it has ended after playing an IMA mid-roll ad.
  • Fixed an issue where the DAI adTagParameters configuration would not be passed to the DAI StreamRequest.
  • Fixed an issue where the player sometimes crashes on the first segment of a livestream if audio starts slightly before video when using the LL-HLS pipeline on Samsung Tizen 2.4.

Unified Android

✨ Features

  • Added support for Google Cast integration.
  • Added synchronous APIs on the Player class.

🐛 Issues

  • Fixed an issue where on some AndroidTV devices play-out of Widevine protected streams would fail.

👎 Deprecations

  • The Player#requestBuffered(RequestCallback<TimeRanges> callback) is deprecated in favor of Player#getBuffered().
  • The Player#requestCurrentTime(RequestCallback<Double> callback) is deprecated in favor of Player#getCurrentTime().
  • The Player#requestPlayed(RequestCallback<TimeRanges> callback) is deprecated in favor of Player#getPlayed().
  • The Player#requestSeekable(RequestCallback<TimeRanges> callback) is deprecated in favor of Player#getSeekable().
  • The Player#requestCurrentProgramDateTime(RequestCallback<Date> callback) is deprecated in favor of Player#getCurrentProgramDateTime().
  • The Player#requestVideoHeight(RequestCallback<Integer> callback) is deprecated in favor of Player#getVideoHeight().
  • The Player#requestVideoWidth(RequestCallback<Integer> callback) is deprecated in favor of Player#getVideoWidth().
  • The Ads#requestPlaying(RequestCallback<Boolean> callback) is deprecated in favor of Ads#isPlaying().
  • The Ads#requestCurrentAds(RequestCallback<List<Ad>> callback) is deprecated in favor of Ads#getCurrentAds().
  • The Ads#requestCurrentAdBreak(RequestCallback<AdBreak> callback) is deprecated in favor of Ads#getCurrentAdBreak().
  • The Ads#requestScheduledAds(RequestCallback<List<Ad>> callback) is deprecated in favor of Ads#getScheduledAds().

iOS

✨ Features

  • Added new formats to specify time offsets for ads. You can now also specify them in a number of seconds and using a timecode.

🐛 Issues

  • Fixed an issue that caused time offsets in IMA ads to be calculated not accurately.
  • Fixed an issue where ContentProtection headers were not handled correctly.

🚀 3.3.0 (2022/04/12)

General

✨ Features

  • Add support for forced-subtitle DASH role scheme value.

🐛 Issues

  • Fixed a bug where switching tracks using the player API when chromecasting would not disable the previously active track.
  • Fixed an issue where we would keep fetching the playlists of a previous LL-HLS live stream after we switched to a new source.

Web

💥 Breaking Changes

  • Changed the averageBandwidth property on qualities to the average bandwidth instead of the bandwidth for HLS and HESP streams.

✨ Features

  • Added basic support for MPEG-TS segments in the LL-HLS pipeline.
  • Added support for converting a v1 PSSH box into a v0 PSSH box on EOS stbs.

⚡ Improvements

  • Improved overall performance by internally using native JavaScript Promises when supported.

🐛 Issues

  • Fixed an issue where no ads would be returned by THEOAds if a single ad in an adpod returns a VAST error.
  • Fixed an issue where ABR could not reach qualities higher than 1080p on a Tizen device.
  • Fixed an issue where sometimes seeking back while the player is paused will cause an indefinite stall for HLS streams.
  • Fixed an issue where thumbnails would not be displayed correctly for a stream that contains a track with tiled thumbnails.

Android

🐛 Issues

  • Fixed an issue where the player would crash in apps targeting Android 12 (API level 31) when entering PiP mode using the PipManager.
  • Fixed and issue where play-out in PiP mode would not work.

🚀 3.2.3 (2022/04/05)

Android

🐛 Issues

  • Fixed an issue where some events related to advertisements would not be triggered for Verizon Media sources.

🚀 3.2.2 (2022/04/05)

iOS

🐛 Issues

  • Fixed an issue where removeEventListener would not work as intended.

🚀 3.2.1 (2022/03/25)

iOS

🐛 Issues

  • Fixed an issue when setting a source while Airplaying caused an infinite play/pause loop.

🚀 3.2.0 (2022/03/11)

General

✨ Features

  • Support switching between variant streams containing both audio and video and alternative audio renditions when using LL-HLS.
  • Added support for switching between DASH representations with incompatible codecs.

⚡ Improvements

  • Improve latency calculation for HESP streams.
  • Added several stability improvements for LL-HLS.

🐛 Issues

  • Fixed an issue where the player would incorrectly choose an AC-3 variant stream when using LL-HLS, even when the platform does not support this codec.
  • Fixed an issue where the currentLatency value would be wrong during start of playback of an HESP stream.
  • Fixed an issue where audio and video were out of sync for some LL-HLS streams.
  • Fixed an issue where the player sometimes tried to download a parent segment which does not yet have all of its partial segments in LL-HLS.
  • Fixed an issue where the player would throw an error when trying to parse an incorrect language in the mdhd box.

Web

⚡ Improvements

  • Improve startup time when autoplay is enabled.

🐛 Issues

  • Fixed an issue where play-out of an HLS stream would sometimes stall indefinitely before starting a short discontinuity.

Android

🐛 Issues

  • Fix an issue where theoplayer sources could not be used for testing purposes without providing a license key.
  • Fixed an issue where the IMA advertisements would still play after stop() was called on the player.
  • Fixed an issue where the player would crash on starting play-out of an HLS stream.

Unified Android

✨ Features

  • Added documentation for GoogleImaAdEventType.

🐛 Issues

  • Fixed an issue where the player would crash when creating multiple instances.

iOS

🐛 Issues

  • Fix an issue where the player would not fill the available space when using native VR.
  • Fixed an issue that caused unwanted volume changes after playing an ad using the Google IMA iOS SDK.

tvOS

🐛 Issues

  • Fixed an issue where the license check would throw an error after instantiating a new THEOplayer from a tvOS application

🚀 3.1.1 (2022/02/21)

Android

🐛 Issues

  • Fix an issue where CastStrategy.MANUAL was ignored and the player automatically connected to Cast.

🚀 3.1.0 (2022/02/14)

General

🐛 Issues

  • Fixed an issue where old avc1 codecs would error for the LL-HLS pipeline.
  • Fixed an issue where both captions and subtitles could be enabled at the same time.
  • Fixed selected values not being translated in the subtitle options menu.

Web

✨ Features

  • Added logic to set a prioritised list of preferred audio/video codecs for initial quality selection. Works for DASH and LL-HLS streams.
  • Added the ability to override ec-3 audio codec filtering for Tizen and WebOS by setting ec-3 as a preferred codec in SourceDescription.abr or PlayerConfiguration.abr.
  • Added support for forced narrative subtitles on DASH.

🐛 Issues

  • Fixed an issue with decoding HESP streams on Edge 92 on some Windows 10 devices.

Android

🐛 Issues

  • Fix an issue where adding Chromecast dependencies was required even if it was not in use.

Unified Android

💥 Breaking Changes

  • Starting from Unified Android SDK v3.0.0 the minimum Java version required is 8.

✨ Features

  • Add support for Google IMA integration.

🐛 Issues

  • Fixed an issue where the player would show a black screen when changing orientation in paused state.
  • Fixed an issue where the player would sometimes stall when switching periods in a multi-period DASH stream.
  • Fix an issue where adding Chromecast dependencies was required even if it was not in use.

iOS

✨ Features

🐛 Issues

  • Fixed an issue that caused the player to resume playing after pausing while casting to an AirPlay Device.
  • Fixed an issue that made the chromecast state to be always unavailable.
  • Fixed a bug where loaded data and loaded metadata events would not dispatch.
  • Improved memory management.
  • Fixed an issue where in some cases requestPlayed would return inaccurate data.

tvOS

✨ Features

🐛 Issues

  • Fixed a bug where loaded data and loaded metadata events would not dispatch.
  • Improved memory management.
  • Fixed an issue where in some cases requestPlayed would return inaccurate data.

🚀 3.0.0 (2022/01/17)

Officially announcing THEOplayer 3.0

Introducing a major version bump to THEOplayer 3.0. This version officially releases all the improvements and developments THEOplayer has achieved in the last months. This latest version is now stable, backward compatible, and recommended for general use.

Unified Android

  • A single SDK for all Android devices, including mobile, Smart TVs, and STBs.
  • Supports clear and encrypted playback through (LL-)DASH, (LL-)HLS, and HESP.
  • Support Widevine level 1 DRM encryption.
  • Modular connectors allow the integration of preferred functionalities.
  • Features:
    • Closed captions/subtitle: TTML, WebVTT, CEA-608 and CEA-608 over CEA-708.
    • Metadata formats: Out-of-band DASH eventstream, in-band EMSG metadata & ID3.
⚠ Note

Some features are not yet supported, therefore, only the above-mentioned features are available.

Package Managers

  • Allow engineering teams to save time-to-live.
  • Automated version management allows THEOplayer customers to bump to the latest version without reaching the portal.
  • Much lower build/ download time across all platforms, especially on iOS and Android.
  • Modular development approach.

Smart TVs & STBs

  • Support for a wide range of Tizen and WebOS versions, including legacy versions (Tizen 2.4+ and WebOS 3.0+).
  • Performant seamless multi-period DASH playback with and without DRM on Tizen and WebOS supporting advanced SSAI use-cases.
  • Optimized performance on RDK and Android TV STBs.
  • Supports stable playback with DRM and subtitles on STBs.

Low Latency

  • Support superior playback through LL-DASH and LL-HLS on all THEOplayer SDKs.
  • Tested low latency capabilities end-to-end.

High Efficiency Streaming through HESP

  • Sub-second latency at scale.
  • Fast channel change, immediately at the live latency cross-platform.
  • Improved ABR.

Web

🐛 Issues

  • Fixed an issue where we would sometimes not error when an HESP stream goes offline.
  • Fixed a compatibility issue when using the player UI with react-native-web.
  • Fixed an issue where playback on EOS stb devices would not be smooth.
  • Fix an issue where VR streams were not rendered properly on mobile Safari 15.2

👎 Deprecations

Android

🐛 Issues

  • Fixed an issue where calling requestFullScreen before the player is done initializing caused the player to ignore it.
  • Fixed an issue where Audiotrack switching on Chromecast was broken on the UI.
  • Fixed an issue where updating app to targetSdkVersion 31 (Android 12) and using cast framework v20.1.0 triggered a crash whenever a casting session is started.

👎 Deprecations

  • Deprecate THEOplayer Android MinApi16 SDK.
  • Last major version of the THEOplayer Android SDK to support Android 4.x (API level 16). The next minimum version is Android 5.0 (API level 21)

Unified Android

🐛 Issues

  • Fixed an issue where the player would potentially crash when the hosting application would go to the background.
  • Fixed an issue where play-out of DRM-protected streams would sometimes fail on mobile Samsung devices.

iOS

🐛 Issues

  • Fix an issue where fullscreen device orientation was broken when using fullscreenOrientationCoupling.

🚀 2.92.0 (2021/12/17)

General

🐛 Issues

  • Fixed an issue where the player would freeze after a quality switch when using the LL-HLS pipeline.

Web

✨ Features

  • Exposed creativeId, adSystem, title and wrapper properties in the API for Google DAI ads.

🐛 Issues

  • Fixed an issue where HESP ABR would drop to lowest quality due to an underestimated bandwidth estimate on certain streams.
  • Fixed an issue where the player would not automatically prune based on the bufferLookbackWindow in the ABRConfiguration.
  • Fixed an issue with the Verizon ad integration sometimes not dispatching adend and adbreakend events on post-roll ads.
  • Fixed an issue with filtering of unsupported DASH representations.
  • Fixed an issue where MPEG-DASH live streams with very large media timestamps failed to play on Tizen 3.

Android

🐛 Issues

  • Fixed an issue where setting the target quality of an audio/video track would not work when playing HLS.

Android TV

🐛 Issues

  • Fixed an issue where Verizon ad events would not be dispatched.

Unified Android

✨ Features

  • Added support for rendering CEA608 subtitles.

🐛 Issues

  • Fixed an issue where play-out of some DRM protected streams would fail.

tvOS

🐛 Issues

  • Fixed an issue where requestCurrentProgramDateTime would return nil in tvOS

🚀 2.91.1 (2021/11/29)

Web

🐛 Issues

  • Fixed an issue where the player would not automatically prune based on the bufferLookbackWindow in the ABRConfiguration.

Android

🐛 Issues

  • Fixed an issue where setting the target quality of an audio/video track would not work when playing HLS.

🚀 2.91.0 (2021/11/18)

General

✨ Features

  • Added fallback logic for failing rendition playlist fetches in the LL-HLS pipeline.
  • Added fallback logic for failing segment/part/map/preload hint fetches in the LL-HLS pipeline.

🐛 Issues

  • Fixed a UI issue when receiving empty ad breaks from the Verizon ad integration.
  • Fixed an issue causing indefinite buffering on Firefox when playing HLS streams.

Web

✨ Features

  • Added support for the Label tag in AdaptationSets for DASH streams.

🐛 Issues

  • Fixed an issue where replaying or seeking after a DASH stream has ended could result in glitches or stuttering on Tizen 4 or lower and webOS 4 or lower.
  • Fixed an issue where ads could not be scheduled after the last ad had finished playing.
  • Fixed an issue where the notification about an upcoming ad was not removed after the ad finished playing.
  • Fixed an issue where the live UI would not show when playing a LL-HLS live stream.
  • Fixed an issue where a black screen showed up on a quality change for HESP streams on iOS Safari.
  • Fixed an issue where a stream with ISOBMFF segments that contain multiple tracks would only retain the first track.
  • Fixed an issue where Verizon Ad events were being dispatched before playback started.

Unified Android

🐛 Issues

  • Fixed an issue where enabling or disabling audio and video tracks in the callback of an addtrack event would not work.
  • Fixed an issue where a multi-period DASH stream would stall during start of playback and when transitioning between periods.
  • Fixed an issue where an expired DRM license would not be renewed during play-out.
  • Fixed an issue where WebVTT subtitles containing markup tags would not be properly displayed.

iOS

🐛 Issues

  • Fix an issue where the player would be in a paused state after seeking or during audio interruptions.
  • Fix an issue where the muted state would not be reflected correctly in the API.
  • Fix an issue where player would crash after trying to re-cache a previously cached source.
  • Fix an issue where a caching task that hadn't started downloading yet would be removed when going to background.

🚀 2.90.1 (2021/10/29)

iOS

🐛 Issues

  • Fixed an issue where initializing a non-chromeless player failed

🚀 2.90.0 (2021/10/21)

General

⚡ Improvements

  • Added mediaType and subType to segment requests from the Network API when playing a DASH or HLS stream.

🐛 Issues

  • Fixed an issue where HESP playback would not start in recent Safari versions.

Web

✨ Features

  • Added ChromecastConnectionCallback to dynamically update the source while connecting/disconnecting from Chromecast.
  • Fixed a DASH multi-period playback issue on Tizen 2.4 where the periods have different timescales.

⚡ Improvements

  • Added support for switching between audio or video tracks with supported (but not cross-compatible) codecs in MPEG-DASH, e.g. from AAC-LC to Opus, or from AAC-LC to Dolby Digital (if supported).
  • The player now tries to hide any native on-screen navigation UI buttons when in fullscreen on mobile devices. This can be overridden with PlayerConfiguration.ui.fullscreenOptions.
  • Improved HESP playback on Safari macOS and Safari iPadOS.

🐛 Issues

  • Fixed an issue where chapter markers would not be shown in the UI.
  • Fixed an issue where the font size of subtitles would be too large when entering fullscreen portrait mode.
  • Fixed an issue where subtitles were not displayed when enabled programmatically. The subtitles only started to show after several minutes.

👎 Deprecations

  • The Chromecast.source is deprecated in favor of Chromecast.chromecastConnectionCallback.

Android

✨ Features

  • Added ChromecastConnectionCallback to dynamically update the source while connecting/disconnecting from Chromecast.

🐛 Issues

  • Fixed an issues where using Native IMA with preloading could cause stalls.
  • Fixed an issue where setting the target quality of an audio/video track would not work.

👎 Deprecations

  • The Chromecast#setSource(SourceDescription source) is deprecated in favor of Chromecast#setChromecastConnectionCallback(ChromecastConnectionCallback callback).

Unified Android

🐛 Issues

  • Fixed an issue where DRM protected segments of a DASH stream could sometimes not be decrypted.

iOS

✨ Features

  • Add support for native VR360.
  • Added ChromecastConnectionDelegate to dynamically update the source while connecting/disconnecting from Chromecast.

🐛 Issues

  • Fixed an issue where going native fullscreen on iOS during an adbreak would show the content instead of the ad.

👎 Deprecations

  • The Chromecast.source is deprecated in favor of Chromecast.setChromecastConnectionDelegate.

tvOS

🐛 Issues

  • Fixed an issue where switching content protected assets would not work.

🚀 2.89.1 (2021/09/28)

Web

🐛 Issues

  • Fixed playback of Fairplay HLS on MacOS when using Safari 15.
  • Fixed an issue where sometimes not all text tracks are removed after a source change when using native playback.

🚀 2.89.1 (2021/09/23)

General

✨ Features

  • Added support for both webvtt and ttml renditions in the same subtitle rendition group for the LL-HLS pipeline.
  • Added support for DEFAULT and AUTOSELECT rendition tags for LLHLS.
  • Add discontinuity support for LLHLS.
  • Added support for mediaTimeOffset property in manifest for HESP streams.

⚡ Improvements

  • Added retry logic for failing master playlist fetches in the LL-HLS pipeline.

🐛 Issues

  • Fixed an issue where the HESP ABR mechanism sometimes would switch to a lower quality immediately after switching to a higher quality.
  • Fixed an issue where player.network.estimator.bandwidth would be null for a short period after loading a HLS source.
  • Fixed an issue where DASH streams containing WebM representations with an @indexRange attribute could crash the player.

Web

✨ Features

  • Added support for Vast Errors 303, 403, and 900 in case of wrapper ads.
  • Exposed adSystem and creativeId for THEO ads.

⚡ Improvements

  • Added support for triggering all error URIs of wrapper VAST ads.

🐛 Issues

  • Fixed an issue where the player would stall after replaying certain multi-period DASH streams with non-seamless period transitions.
  • Fixed an issue where the player would incorrectly try to seamlessly switch between different audio codecs when not supported by the browser.
  • Fixed an issue where captions were not available in the API or UI with a HLS stream using native playback on Safari.
  • Fixed an issue where no captions were available when changing from native playback to non native and back to native playback.

iOS

💥 Breaking Changes

✨ Features

🐛 Issues

  • Fixed an issue where the phone disconnected from Chromecast when the app went to background.

tvOS

💥 Breaking Changes

✨ Features

Chromecast

🐛 Issues

  • Fixed an issue where the player would periodically stall on older chromecast devices.

🚀 2.88.0 (2021/08/31)

General

✨ Features

  • Expose a unique identifier for texttrack related cues.
  • Added a CEA608 subtitle fallback to DASH streams containing the CEA708 accessibility tag.
  • Added support for multiple CEA608 channels/tracks in DASH streams.
  • Added preservation of text track selection across periods.

🐛 Issues

  • Fixed an issue where the start and end times of CEA608 cues would sometimes be wrong for multi-period DASH streams.

Web

💥 Breaking Changes

  • Experimental method HespApi.goLive() no longer returns a Promise. Successful completion of the live seek is still signalled by the golive event.

✨ Features

  • Added seamless period switching support for MPEG-DASH streams containing clear periods, as well as DRM protected periods in the past.

⚡ Improvements

  • Support seamless period switching for MPEG-DASH streams containing periods with different DRM systems on desktop browsers.
  • Improved HESP ABR algorithm and network estimation.

🐛 Issues

  • Fixed an issue where calculated HESP latency could become smaller than the remaining buffer.
  • Fixed a fatal buffering error on WebOS 5.1.
  • Fixed an issue where multiple audio tracks could be enabled at the same time.
  • Fix an issue where quality menu in the UI shows the lowest quality from the array of qualities set by targetQuality
  • Fixed an issue where Tizen and webOS devices versions 4.x and below would repeat frames during start of playback.
  • Fixed an issue where on Tizen 2.4 and Tizen 3 the player would sometimes stall at the end of a period in a multi-period DASH stream.
  • Fixed an issue where the ABR mechanism would never go to a higher bitrate on HESP streams.
  • Fix an issue where cue with start time 0 was displayed before playback began.

⚠ Known Limitations

  • Filtered out ec-3 audio on Tizen and WebOS by default as most devices failed playout and the codec support check was not useable.

Android

🐛 Issues

  • Fixed an issue where the player tried to initialize Chromecast even if the device does not support it.

⚠ Known Limitations

  • Native Google-IMA Ads preloading does not work as expected in some cases. Please explicitly specify AdPreloadType.NONE on the AdsConfiguration.Builder when configuring THEOplayer.

iOS

🐛 Issues

  • Fixed an issue where setting a DRM protected VerizonMedia source on player.cast.chromecast.source did not play while casting.

🚀 2.87.0 (2021/07/30)

General

💥 Breaking Changes

  • Changed type of Quality.id, MediaTrack.id and TextTrack.id from number to string. It now is the id found in the DASH manifest instead of an auto-generated id.

✨ Features

  • Enabled Thumbnail text tracks by default.
  • Thumbnail text tracks now contain cues for multiple periods.
  • Exposed EXT-X-DATERANGE metadata through the API for LL-HLS.
  • Added support for WebVTT subtitle renditions to the LL-HLS pipeline.
  • Added support for all emsg text tracks being accessible during each period.

⚡ Improvements

  • Made the parsing of MPEG TS segments more robust by ignoring unusable data instead of terminating playback.

🐛 Issues

  • Fixed an issue where setting sources with autoplay enabled on some Tizen devices could cause the player to freeze.
  • Fixed an issue where the seekable for a VOD would not include the last few segments for the LL-HLS pipeline.
  • Fix LLHLS pipeline making HTTP range request to infinity.
  • Fixed an issue where duplicate text track cues would be displayed twice.
  • Fix an issue where sideloaded SRT subtitles did not have cues.
  • Resolved an issue for DASH where the essential property to indicate tiled thumbnails was not picked up correctly.
  • Fixed an issue where the player would not end when seeking to the duration or beyond for some DASH streams.
  • Fixed an issue where enabling date ranges in the player configuration did not work.

Web

⚡ Improvements

  • Disable Airplay button for HESP streams.

🐛 Issues

  • Fix an issue where the player was unable to change the styling of the texttracks.
  • Fixed autoplay detection for WebOS.
  • Fix an issue where ttml texttracks would be rendered incorrectly when using the tts:origin attribute.
  • Fixed an issue where response headers were missing in the Network API and Content Protection Integration API on Tizen 3.0.
  • Fixed an issue where HESP playback doesn't recover after a network drop on iOS Safari.
  • Fix an issue where the VAST tracking URL for completion would be triggered when skipping a THEO-advertisement.
  • Fixed an issue for HESP live playback where latency control would break after some time.
  • Fixed an issue where HESP ABR used to over-estimate available bandwidth by a very high margin on native android.
  • Fixed an issue where CEA-608 text tracks would not be rendered for HLS streams.
  • Fixed an issue where some VOD DASH streams would fail to start.
  • Fix an issue where Yospace reporting would be delayed for DASH sources.

Android

✨ Features

  • Add possibility to set language on Native IMA via the UIConfiguration object

🐛 Issues

  • Seek problems with boxes and TVs due to handling decoder flush in other way + DRM starting issue
  • Fix an issue where setting a new source while casting the video will play on the sender.
  • Fixed an issue where DRM license requests were sometimes failing.
  • Fix an issue where caching could not be resumed after being paused.
  • Fixing uid brdging and Android 10 DRM playback
  • Fixed an issue where the player would sometimes stall when switching periods in a multi-period DASH stream.

iOS

✨ Features

  • Add possibility to set language on Native IMA via the UIConfiguration object

⚠ Known Limitations

  • In the lifetime of an application session you can set UIConfiguration.language only once for Native IMA. Setting this property after the first player is initialized will be ignored.

tvOS

✨ Features

  • Add possibility to set language on Native IMA via the UIConfiguration object

🚀 2.86.1 (2021/07/12)

Web

🐛 Issues

  • Fixed playback of Titanium DRM streams on WebOS.
  • Fixed an issue where the VAST tracking URL for completion would be triggered when skipping a THEO-advertisement.

iOS

🐛 Issues

  • Fixed an issue that caused THEOplayer to fail playing a cached stream that has redirection in its source on iOS 12.
  • Fixed an issue where DRM protected streams did not play on Airplay in certain scenarios.

🚀 2.86.0 (2021/07/05)

General

✨ Features

  • Add support for CBCS encryption in MPEG-DASH streams in supporting browsers.
  • Construct HESP content request URLs by applying relative resolution.
  • Add support for EMSG v1 boxes.

🐛 Issues

  • Fix an issue where in rare cases a sideloaded text track stops updating after a DASH period switch.
  • Improved LLHLS bandwidth estimation. Support parsing ENVC and ENCA sample entry MP4 boxes.
  • Fixed incorrect LLHLS timeline when switching between renditions.
  • Fixed an issue where CBCS encrypted streams would fail to play on Firefox.
  • Improved the LLHLS download pipeline to download segments from the live edge if all the parts for that segment are already available.
  • Fixed some issues when parsing LLHLS playlist.
  • Improved LLHLS ABR behaviour.
  • Fix seeking to time 0 in an HLS live stream before the playlist is loaded.
  • Fixed an issue where seeking to live would not get into the buffer causing an indefinite stall.
  • Fixed an issue where WebVTT subtitle renditions were not loaded correctly when the HLS stream contains discontinuities.

Web

🐛 Issues

  • Fix an issue where HESP latency was too high for certain iOS and Android devices.
  • Fix an issue where the big play button is still visible when autoplaying an HESP stream on iOS Safari.
  • Fix an issue where a play event is dispatched after a playing event for HESP streams on iOS Safari.
  • Fix an issue where sometimes the player is pulsing on iOS Safari when playing HESP streams.
  • Fix an edge case where the player could fail to start playing after preloading an HLS stream while the tab was in the background.
  • Fixed an issue where for some HLS streams audio would become out of sync with video.
  • Fix unintentional warnings logged in the browser console when loading an HLS stream.

⚠ Known Limitations

  • No HESP playback supported on iOS Chrome/Firefox for iOS versions lower than 14.

Android

🐛 Issues

  • Fix an issue where the current time would not be shown on the progress bar.
  • Fixed an issue where a loadstart event was not dispatched for HESP streams.
  • Fix an issue where the play/pause icon is not in sync with the playback state when in Picture in Picture.
  • Fix an issue where Picture in Picture window could not be resized on Android 11.
  • Fix an issue where destroying THEOplayerView while in fullscreen throw an Exception.

iOS

💥 Breaking Changes

  • Removed support for iOS 9 & 10. The minimum supported iOS version is now 11.0.

✨ Features

  • Optimize FairPlay system to improve offline playback.

🐛 Issues

  • Fix an issue where the player was not able to select an initial audio track when no DEFAULT=YES or AUTOSELECT=YES option was specified.
  • Fix an issue where the current time would not be shown on the progress bar.
  • Fix issue where texttracks were not rendered correctly for picture in picture.
  • Fix an issue where pip button was not disabled for native pip while Google IMA and THEO ads were playing.
  • Fix a bug that prevents the advertisement from auto-starting when using NativeIma = false

⚠ Known Limitations

  • In iOS 12 an offline asset only plays once: after closing the asset, you cannot play it again. To achieve that it needs to be re-cached.

tvOS

💥 Breaking Changes

  • Removed support for tvOS 10. The minimum supported tvOS version is now 11.0.

✨ Features

  • Optimize FairPlay system to improve offline playback.

🚀 2.85.3 (2021/06/18)

iOS

🐛 Issues

  • Fix an issue where THEOplayer would crash if native Picture in Picture is enabled.

🚀 2.85.1 (2021/06/10)

General

🐛 Issues

  • Improved LLHLS bandwidth estimation. Support parsing ENVC and ENCA sample entry MP4 boxes.
  • Fix an issue where the player could stall and enter an infinite buffering loop due to rounding errors.

🚀 2.85.1 (2021/06/07)

General

💥 Breaking Changes

  • The estimator property of the NetworkEstimator API is no longer writable, it is superseded by setEstimator.

✨ Features

  • Implement LLHLS global timeline.

⚡ Improvements

  • When playing a multi-period DASH stream containing EventStream metadata, the player will now create a single text track (rather than a text track per period) to contain the event metadata cues.
  • Improved ABR behaviour for the HESP pipeline.
  • Prune more aggressively on DASH streams with long segments.
  • Added timeout to segment requests to deal with segment network requests that never complete.

🐛 Issues

  • Fixed an issue where some TTML tracks did not render.
  • Fix a rare crash when the player performs a seamless period switch at the same time that the currently playing period is removed from the MPD.

Web

💥 Breaking Changes

  • Remove Blob and Document request/response types from Network API.
  • Remove HespAbrConfiguration and former HESP ABR mechanism.

✨ Features

  • Add initial version of the new HESP ABR mechanism.
  • Implement currentProgramDateTime for HESP streams.
  • Add support UniversalAdId in the THEO ad system.
  • Added support for Widevine DRM for HESP streams.
  • Add currentServerLiveTime and currentLatency to the HESP API.

⚡ Improvements

  • Support seamless period switching for MPEG-DASH streams containing both clear periods and DRM protected periods.
  • Support seamless period switching for MPEG-DASH streams on Tizen version 2.4 and above, and webOS version 3 and above.

🐛 Issues

  • Filter on supported codecs before initial variant stream selection.
  • Fix an issue where the player would stall indefinitely instead of ending playback at the end of some DASH streams containing sidx sub-segments.
  • Fixed an issue where playing HESP content on iOS Safari was not possible if the player was starting muted.
  • Fix an issue where the currentAds and currentAdbreak API would be empty for non-linear ads.
  • Fix an issue where MPEG-DASH live streams with very large media timestamps failed to play on Tizen 2.4.
  • Fix an issue where measurers from an externally configured estimator on the (experimental) Network Estimator API could not measure certain requests.
  • Fixed an issue where playing an HESP stream on iOS Safari fails with a 'disable casting' error on screen.
  • Fix an issue where ended event comes before the adbreakend event on a post roll ad in THEO ad system
  • Fix an issue where the post-roll ad was not preloaded on the THEO ad system

Android

✨ Features

  • Add support for Picture in Picture mode.

🐛 Issues

  • Fix issue where player would resize after orientation changes when using Google IMA.
  • Fix an issue where the player was unable to persist the license for offline playback.

iOS

💥 Breaking Changes

  • Starting from this version the iOS/tvOS SDKs are built with Xcode 12 (Swift 5.3 compatibility).

✨ Features

  • Add support for native Picture in Picture.
  • Upgrades Google Cast SDK to 4.6.0 which contains iOS 14 specific changes from Google.

🐛 Issues

  • Fixed an issue where the chromless player could not start casting on Airplay.

🚀 2.84.0 (2021/05/14)

General

🐛 Issues

  • Fixed a regression where some MPEG-DASH livestreams failed to play when the last segment's S@d attribute changes between two MPD updates.

🚀 2.84.0 (2021/05/07)

General

✨ Features

  • Add support for hexadecimal and octal format suffixes in DASH SegmentTemplate URLs.

⚡ Improvements

  • Improved the ABR logic to also consider qualities with higher dimensions than the player's dimesions, if there is no exact match.
  • Optimized handling of DASH MPDs with long SegmentTimelines.
  • Improved the performance of the player on DASH streams.

🐛 Issues

  • Fixed an issue where the player would sometimes stall indefinitely when calling play immediately after setting a DASH source.
  • Fixed an issue where the player would sometimes error on some HLS streams with Fairplay protected audio and video.
  • Fixed a rare edge case where the player would throw an "Invalid duration" error when changing between DASH sources.
  • Fixed an issue where the player would sometimes stall indefinitely on some DASH streams when changing the source.
  • Fixed an issue where an HLS stream on chrome on a slower network would only play audio while video freezes.
  • Fixed an issue where the player tried to parse a WebM segment as an MP4.
  • Fixed an issue where the order of the Verizon Media preplay parameters is not maintained.

Web

✨ Features

  • Change experimental ChromelessPlayer.hesp API to be available before setting a HESP source.
  • Add API and UI support for track and quality selection for HESP streams.
  • Expose universalAdIds for Google IMA.
  • Make the HESP latency property configurable before setting a source and preserved across source changes.
  • Change HESP source type to 'application/vnd.theo.hesp+json'.
  • Add support for latest HESP manifest version v1.0.0 and drop support for v0 HESP streams.
  • Add support for streaming advertisements and ads preloading in the THEO ad system.

🐛 Issues

  • Fixed an issue where the player would stall indefinitely on some HLS streams with nonaligned discontinuities on Firefox.
  • Fixed an issue where a faulty postroll would restart the content for THEO ads.
  • Resolve sequence of incorrect currentProgramDateTime values observed while seeking on iPhone
  • Fixed an issue where the player would error on HLS streams with CMAF segments that don't contain a MOOF box.
  • Fixed an issue where the player would retry to fetch a segment with a constant delay instead of using exponential backoff.
  • Fixed an issue where fullscreen mode was not working for HESP playback on iOS Safari.
  • Fixed an issue where the service worker used for HESP playback on iOS Safari could require additional page refreshes to become functional.

⚠ Known Limitations

  • Streaming advertisements downloads the highest quality instead of using the ABR-logic on Tizen.
  • Seeking during an ad results in content becoming visible on Tizen.

Android

✨ Features

  • Expose universalAdIds for Google IMA.

🐛 Issues

  • Fixed an issue where Chromecast.isCasting() and Chromecast.getState() did not reflect the same state.
  • Fixed an issue where using native IMA pausing an advertising is not possible.
  • Fixed an issue where for some HLS streams the ABR mechanism did not switch to a higher profile on Android.

Android TV

🐛 Issues

  • Fixed an issue where on FireTV the player would sometimes fail to configure the video codec when switching to a new period.

iOS

✨ Features

  • Expose universalAdIds for Google IMA.
  • Added Support for GoogleInteractiveMediaAds framework to 3.14.1.

🐛 Issues

  • Fixed an issue where WebVTT subtitles are not rendering with together with thumbnails.
  • Fixed an issue where AudioSession interruption did not trigger a PauseEvent
  • Fixed an issue where WebVTT subtitles would duplicate.

⚠ Known Limitations

  • Text track captions are temporarily unavailable.

tvOS

✨ Features

  • Added Support for GoogleInteractiveMediaAds framework to 4.4.1

🐛 Issues

  • Fixed an issue where bitmap ID3 subtitles would unintentionally scale up.

⚠ Known Limitations

  • The tvOS SDK API presents some issues, which will be fixed on 2.84.1.
  • Text track captions are temporarily unavailable.

🚀 2.83.0 (2021/04/19)

General

🐛 Issues

  • Resolved a problem where disabling/enabling text tracks could make them go unrendered.

🚀 2.83.0 (2021/04/13)

General

🐛 Issues

  • Fix an issue where sometimes the player would get stuck when setting a new source
  • Fix an issue where the duration of the player is set to Infinity when the source of a VOD DASH stream is set.
  • Fixed an issue where the player would sometimes throw on DRM protected LL-HLS streams.
  • Fixed an issue where the player src property would be equal to the Chromecast source while not casting.
  • Fix an issue where playing Google DAI stream the source parameter was not passed completely
  • Fix an issue where the player fails to jump over an unplayable segment at the start of a DASH VOD stream.

Web

✨ Features

  • Added TypeScript type definitions.
  • Add initial support for playback of HESP streams. For more information visit https://www.theoplayer.com/high-efficiency-streaming-protocol.
  • Add experimental ChromelessPlayer.hesp API for functionality specific to the playback of HESP streams.
  • Add HespTypedSource for configuration of HESP streams.

⚡ Improvements

  • The SIDX boxes are now also cached when caching an MPEG-DASH stream using the caching API.

🐛 Issues

  • Fix an issue where the player would discard the streamType property when passing a source configured with Yospace SSAI.
  • Fix an issue where the player will be unmuted after a reload or source change when the google ima integration is used.
  • Fixes a bug that prevented AirPlay sessions from being re-established.
  • Fixed seekable end for LLHLS live streams without parts.
  • Fixed seeking the LLHLS player when there is no seekable yet.
  • Fix a bug that caused THEOPlayer to show the same sideloaded texttrack twice in the texttracks menu.
  • Fixed DRM for Tizen 2.x
  • Fixed an issue where the contentprotectionsuccess event would not always fire for PlayReady streams on Edge.
  • Fixed an issue where the initial bandwidth of an ABR strategy was not retained until a properly measured bandwidth was available.
  • Fix an issue where sometimes the player state is not ended when it reaches the end of the stream on Tizen 5.
  • Prevent handling of empty webkitkeymessage events
  • Fixed an issue where requesting firstFrame and frameRate could return NaN for HLS streams.

Android

🐛 Issues

  • Fix an issue where disconnecting from Chromecast using native Google Cast button didn't stop the receiver.
  • Fix an issue where MediaRouteDialog does not show if THEOplayerView is not initialized on Activity's onCreate method.

iOS

🐛 Issues

  • Fix an issue where a faulty error message would be printed when passing a license through the configuration.
  • Fix an issue where playing a cached source multiple times in a row would not work.
  • Fix an issue where resetting the source with text tracks would sometimes crash the player.

🚀 2.82.0 (2021/03/16)

General

✨ Features

  • Added support for AES-128 encrypted segments for LLHLS streams.

⚡ Improvements

  • Improve period switching between periods with different key systems.

🐛 Issues

  • Fix an issue where the player would report paused as false when ended.
  • Fix a crash when playing a VOD DASH stream that does not contain the expected number of SegmentURL elements.
  • Resolved issue where large chunks cause problems with LL-HLS byteranges in preload hints
  • Fix an issue where some ad-related events were still dispatched after the player is destroyed.
  • Added support for nested regions in ttml cues.
  • Fix an issue that caused THEOplayer to stall after doing a short seek between two periods if the buffer started getting segments of the next period.
  • Fixed an issue where Preplay parameters in the configuration would be overwritten by generated values.
  • Fix seeking in a HLS VOD or event stream with discontinuities sometimes not being frame-accurate.
  • Reduced the memory usage for long running viewing sessions where some memory would be kept until the stream ends.
  • Fixed an issue where seeking near period edges in a DASH stream would sometimes result in an error.

Web

✨ Features

  • Add media data gap detection and jumping in the LL HLS pipeline.
  • Improve the ABR behaviour of the LL HLS pipeline.
  • Support the EXT-X-STREAM-INF SCORE attribute in LL HLS pipeline.

🐛 Issues

  • Fix a Google IMA issue that caused THEOplayer to only play the last ad if multiple midrolls are scheduled with a timeOffset.
  • Disable the Airplay button during an ad.
  • Fixed an issue where some FairPlay protected streams failed to start on Safari.
  • Fix an issue where thumbnail previews were shown incorrectly on mobile

Android

🐛 Issues

  • Fix an issue where an empty ad XML would result in an endless spinner for Google IMA.
  • Fix an issue where connecting to Chromecast using native Google Cast button after player creation was not handled.

iOS

✨ Features

🐛 Issues

  • Fix an issue where setting a metadata title including apostrophe would fail.
  • Fix an issue where changing audio tracks freezes THEOplayer.

tvOS

✨ Features

🐛 Issues

  • Fixes a bug that caused THEOplayerSDK on tvOS to have wrong entries for UIDeviceFamily.

🚀 2.81.0 (2021/02/24)

General

🐛 Issues

  • Reduced the memory usage for long running viewing sessions where some memory would be kept until the stream ends.

🚀 2.81.0 (2021/02/12)

General

✨ Features

  • Implement basic ABR for new LL HLS pipeline.

⚡ Improvements

  • Added support for EventStream@presentationTimeOffset in MPEG-DASH streams.
  • Improved the interval for fetching manifest updates for DASH streams to be closer to the minimumUpdatePeriod.

🐛 Issues

  • Fix an issue where the player would sometimes seek to the start of the DVR window when play was called.
  • Fix an infinite stall when seeking to the end of a DASH VOD stream on Safari.
  • Fix an issue where creativeAdId was exposed through imaAd.creativeId (instead of creativeId)
  • Fix an issue where our Google IMA-integration would incorrectly dispatch a playing event when ad is immediately paused
  • Fix an issue where the player would hang when loading certain DASH livestreams that only contain segments that are already available.
  • Fix an issue where after a seek beyond the end of the seekable range will result in seeking too close to livepoint and starting to stall.

Web

✨ Features

  • Upgrade Youbora adapter version to 6.7.7.

🐛 Issues

  • Fix audio only LL-HLS playback.
  • Fix an issue where subsequently skipping forward or backward in a DASH stream sometimes incorrectly marks a gap in the buffer.
  • Fix an issue where the player would freeze when clicking replay after playing a clipped HLS stream on iOS Safari.
  • Fix an issue where repeatedly starting an HLS stream on Safari sometimes results in playback with frame skips.
  • Improved gap jumping for less powerful devices such as smart tv's.
  • Fix an issue where the player would get stuck near the end of a DASH stream that uses indexed addressing.
  • Fixed playing across periods for WebOS 3.x and lower.
  • Fix LL HLS pipeline reset logic not working after the player has already played.
  • Fix an issue where the player would sometimes stall near a DASH period boundary on Samsung Tizen smart TVs.
  • Fixed Moat integration for multiple adblocks use-case

Android

✨ Features

  • Upgrade Youbora plugin version to 6.7.7.

Android TV

🐛 Issues

  • Fixed seeking across periods for Android TV.
  • Fix an issue where Google IMA ads were not playing on Android TV.
  • Fix an issue where custom DRM integrations would not work on Android TV.

iOS

⚡ Improvements

  • Update Youbora integration to version 6.7.7.

🐛 Issues

  • Fix the API of CertificateRequestCallback and LicenseRequestCallback.
  • Fix an issue where fullscreen would not render in the bounds of the application in splitview
  • Fixed an issue where the content protection error code was missing.
  • Fix an issue where extra WAITING event was thrown.

tvOS

🐛 Issues

  • Fix the API of CertificateRequestCallback and LicenseRequestCallback.
  • Fixed an issue where the content protection error code was missing.

🚀 2.80.0 (2021/01/13)

General

🐛 Issues

  • Fix an issue where the tts:origin attribute was not correctly processed when positioning subtitles.

Web

🐛 Issues

  • Fix an issue where MOAT events are only send for the first ad in an adbreak
  • Fix seeking to live for DASH streams

iOS

🐛 Issues

  • Fixed an issue where paused caching tasks could not resume.
  • Fixed an issue where the PiP window's position is incorrect when rotating the device.

🚀 2.79.1 (2021/01/06)

Web

🐛 Issues

  • Fix an issue where a DASH stream on chrome on a slower network would only play audio while video freezes.

🚀 2.79.0 (2020/12/18)

General

🐛 Issues

  • Fix an issue where parsing certain malformed WebVTT files could crash the player.
  • Fix an issue where sometimes a fetched license is not stored in the cache.

Web

⚡ Improvements

  • Use seamless period transitions in DASH where possible. This requires the browser to support codec switching through SourceBuffer.changeType(), or the stream to use similar codecs across periods.

🐛 Issues

  • Fix several issues related to play/pause during IMA linear ad playback.
  • Fix an issue where the player would play data from a previous track after a switch to another track had occurred on WebOs.
  • Fix an issue where MOAT events are only send for the first ad in an adbreak
  • Fix an issue where the player would sometimes crash when seeking right after the start of a DASH stream.

Android

✨ Features

  • Add basic support for multi-period DASH streams in the experimental rendering pipeline. (Note that the default pipeline already has multi-period support.)

🐛 Issues

  • Fix an issue where using ChromecastMetadataImage made casting impossible.
  • Fix an issue where the muted value would not be correctly updated on Android

iOS

✨ Features

  • Added ContentProtectionError error type.

🐛 Issues

  • Fixed an issue where content protection errors were not sent.

tvOS

✨ Features

  • Added ContentProtectionError error type.

🐛 Issues

  • Fixed an issue where content protection errors were not sent.

🚀 2.78.1 (2020/12/09)

Web

🐛 Issues

  • Fix an issue where non-WebVTT sideloaded subtitles were not rendered correctly on iOS in Safari

🚀 2.78.0 (2020/11/24)

General

✨ Features

  • Addition of a new bufferLookbackWindow configuration property to control how much data should be maintained in the decode buffer.
  • Synchronize MPEG-DASH MPD updates with availability window changes in order to avoid stale MPDs.
  • Add support for configuring the license via the playerconfiguration

⚡ Improvements

  • Added support for retrieving PlayReady PSSH from <mspr:pro> element.

🐛 Issues

  • Fixed an issue where some HLS streams would not end properly.
  • Resolve issue where in stream subtitles are all loaded at once
  • Fix an issue where a replay would sometimes fail on short HLS streams.
  • Fixed a bug where streams did not send exit events for Id3 cues, when useNativePlayback or contentProtected was set to true in the player source setup

Web

✨ Features

  • Add Network Estimator API for experimental LL-HLS pipeline.

🐛 Issues

  • Fix an issue where Widevine protected streams would not play on Hisense VIDAA U3 platforms.
  • Improve the ABR algorithm to switch to a higher quality faster on startup of HLS streams.
  • Fix an issue where the player would error on HLS streams with empty segments.
  • Fix an issue where configuring the JoinStrategy to disabled would crash the chromecast UI.

Android

🐛 Issues

  • Fix an issue where setting a null source would crash the application.
  • Fix an issue where the app would sometimes crash on calling requestCurrentAdBreak.
  • Add cause for ErrorEvents when applicable.

iOS

✨ Features

  • Add support for external license either by license or licenseUrl in the PlayerConfiguration or in the info.plist.

🐛 Issues

  • Fixed an issue where requesting the currentAdBreak would crash

tvOS

✨ Features

  • Add support for external license either by license or licenseUrl in the PlayerConfiguration or in the info.plist.
  • Add Support for verizonMedia on tvOS.

🚀 2.77.1 (2020/11/17)

Android

🐛 Issues

  • Fix an issue where Chromecast did not auto-connect when CastStrategy is AUTO.

iOS

🐛 Issues

  • Fixed a bug where switching audio tracks would fail after updating the label.
  • Fixes a bug that prevented a nativeIMA ad from playing when reinstantiating a THEOplayer instance.

tvOS

🐛 Issues

  • Fixed a bug where switching audio tracks would fail after updating the label.

🚀 2.77.0 (2020/10/26)

General

✨ Features

  • Support parallel download while caching.

🐛 Issues

  • Add jumping over segments which return a 4XX HTTP response code for DASH streams.
  • Fix an issue where the player autoplays IMA ads when preload is set
  • Fix an issue where for some HLS streams audio drifts away from video, resulting in visible lip sync issues.
  • Fix an issue where the player would sometimes stall indefinitely when seeking into a discontinuity on HLS streams.
  • Fix an issue where seeking to segment edges sometimes stalls the video for HLS streams.
  • Fix an issue where the timing of WebVTT subtitles on live DASH streams was incorrect.
  • Fixed an issue where the player could sometimes stall indefinitely in Chrome at the end of a DASH VOD stream.
  • Ignore DRM initialisation data other than 'cenc'
  • Fixed having only one audio frame in a segment can sometimes break duration calculation.

Web

🐛 Issues

  • Fixed an issue where the fairplaySkdUrl was always undefined in LicenseRequest for FairPlay protected streams.
  • Fix an issue where for some HLS streams the ABR mechanism did not switch to a higher profile.
  • Fix an issue where for some HLS streams the ABR mechanism does not switch to higher profiles in case the variant streams in the master playlist do not have a value for the CODECS attribute.
  • Fix an issue where THEOplayer.players[0].source returns undefined for every stream in chromeless player.

Android

✨ Features

  • Add THEOplayerException to ErrorEvent
  • Introduce ContentProtectionException and update ContentProtectionErrorEvent.
  • Added ContentProtectionIntegration API.

🐛 Issues

  • Fix an issue where VerizonMediaResponseDrm returned null for license URLs

👎 Deprecations

  • The constructor of THEOplayerConfig is deprecated in favor of THEOplayerConfig.Builder.

iOS

✨ Features

  • Add ContentProtectionIntegration API.

⚡ Improvements

  • Align TheoError with other SDKs

🐛 Issues

  • Fixes an issue where a caching task is not properly removed when its file is deleted.
  • Fixes a bug that caused player.source to return nil immediately after setting the source.

👎 Deprecations

  • Some of the constructors of the THEOplayerConfiguration has been deprecated.

tvOS

✨ Features

  • Add ContentProtectionIntegration API.

⚡ Improvements

  • Align TheoError with other SDKs

🐛 Issues

  • Fixes a bug that caused player.source to return nil immediately after setting the source.

Chromecast

🐛 Issues

  • Fix an issue where sometimes playback pauses after setting a new source.
  • Fix issue where receiver would stop playing upon destroying the player.

🚀 2.76.1 (2020/10/01)

General

🐛 Issues

  • Fix an issue where for some HLS streams audio drifts away from video, resulting in visible lip sync issues.

Web

🐛 Issues

  • Fix an issue where for some HLS streams the ABR mechanism did not switch to a higher profile.
  • Fix an issue where for some HLS streams the ABR mechanism does not switch to higher profiles in case the variant streams in the master playlist do not have a value for the CODECS attribute.
  • Fix an issue where switching from a single quality to automatic quality selection did not work for HLS streams.

🚀 2.76.0 (2020/09/28)

General

⚡ Improvements

  • Improve gap marking and jumping for DASH streams

🐛 Issues

  • Fix an issue where an aderror event was not dispatched correctly if an ad failed to load and blockContentIfAdError = false.
  • Resolved issue where currentProgramDateTime was being offset by suggestedPresentationDelay.
  • Fixed an issue where the player would not use a custom ContentProtectionIntegrationFactory if registered with the same integrationId as an existing content protection pre-integration.

Web

✨ Features

  • Added the ability to configure customData when using PlayReady DRM.
  • Add reporting of total bytes loaded, current bandwidth estimate and number of currently buffered segments for DASH streams to the player metrics API .
  • Update Conax Classic configuration properties to be optional.
  • Added bitrate property to GoogleImaAd.
  • Add error codes to all fatal player errors through ErrorEvent.errorObject.code.

🐛 Issues

  • Fix an issue where license request and response handlers were called instead of certificate request and response handlers for Widevine Certificate requests for DASH streams.

⚠ Known Limitations

  • PlayReady streams are currently not supported on WebOS.
  • 4k/8k stream playback is currently unavailable for Tizen.
  • Multi-period streams are not supported on WebOS and Tizen

Android

✨ Features

  • Add reporting of total bytes loaded, current bandwidth estimate and number of currently buffered segments for DASH streams to the player metrics API.
  • Added bitrate property to GoogleImaAd.

🐛 Issues

  • Fix an issue where the ENDED event would not be triggered when seeking using the Native Pipeline.
  • Fix an issue where the percentage cached was not reported correctly.
  • Fix an issue where segments were not cleaned on player destroy
  • Fix an issue where deallocating native rendering player were not handled correctly.

iOS

💥 Breaking Changes

  • Renamed and changed type of THEOErrorCode enum cases.
  • Removed unused THEOError.parameters property.

✨ Features

  • Added bitrate property to GoogleImaAd.

🐛 Issues

  • Fixed a bug that cause MainThread to freeze for while when dispatching a durationChange event.
  • Fix an issue where dragging out PictureInPicture window would fail to enter fullscreen mode.

tvOS

💥 Breaking Changes

  • Renamed and changed type of THEOErrorCode enum cases.
  • Removed unused THEOError.parameters property.

🐛 Issues

  • Fixes a bug where Siri remote loses focus when playing ads.

🚀 2.75.1 (2020/09/18)

General

⚡ Improvements

  • Do not clear the buffer on a manual quality switch.

🚀 2.75.1 (2020/09/03)

Web

🐛 Issues

  • Fix an issue where adbreakend event was not dispatched when the last linear ad was an empty vast ad.
  • Fix THEOplayer.registerContentProtectionIntegration() not working.

🚀 2.75.0 (2020/08/31)

General

🐛 Issues

  • Fix an issue where some HLS streams with CMAF segments containing implicit HE-AAC audio failed to play.
  • Fix an issue where switching from a single quality to automatic quality selection would cause an unnecessary rebuffer for DASH streams.

Web

✨ Features

  • Add ContentProtectionIntegration API.

🐛 Issues

  • Fix an issue where sometimes the current time was not displayed correctly at the end of a stream.
  • Fix an issue where the player would report being paused, while it was playing a HLS FairPlay stream using AirPlay.
  • Fix an issue where the player would snap to the beginning of the current segment instead of the current playback position when stopping an AirPlay session for HLS FairPlay streams.
  • Fix an issue where the active quality is not yet set when a playing event is triggered.

Android

✨ Features

  • Switch to a different representation when a DRM key restriction occurs for native rendering.
  • Add certificate to KeySystemConfiguration

🐛 Issues

  • Fix an issue regarding the order of events when using Native Rendering.
  • Expose CachingTask id property

iOS

✨ Features

  • Fix a bug that caused THEOplayer to show a black screen after playing a SpotX ad.

🐛 Issues

  • Fix an issue where Picture-in-Picture window is misplaced after rotating the screen.
  • Expose CachingTask id property

tvOS

✨ Features

  • Add Support for Native IMA.
  • Add support for SpotX ads.

🚀 2.74.0 (2020/08/04)

General

✨ Features

  • Add currentProgramDateTime to TimeUpdateEvent.
  • Add support for DASH streams with a SegmentTemplate tag with an endnumber and a fixed segment duration.

⚡ Improvements

  • Use estimated segment availability for DASH streams where the actual segment availability is unrealistic.
  • Add retry functionality for initialization segments of DASH streams.

🐛 Issues

  • Fix an issue where seeking backwards in a HLS DVR stream would sometimes jump forwards again.
  • Fix an issue where suggestedPresentationDelay was not taken into account for the calculation of currentProgramDateTime for DASH streams.
  • Fix an issue where the ratio passed to the VisibilityObserverCallback did not match the ratio on the visibility API.
  • Fix an issue where some TTML subtitles with tts:extent on the Root Container Region were not rendered properly.
  • Fixed an issue where the player would get stuck buffering for HLS streams with key frames more than 30 seconds apart.
  • Fix an issue where the value of the totalAds property of the Google IMA API would sometimes be too low.

Web

🐛 Issues

  • Fix an issue where the learn more button is appearing at the bottom of the player when playing a google dai ad.

Android

✨ Features

  • Add ContentProtectionIntegration API.
  • Add Axinom content protection pre-integration for android with nativeRendering enabled.
  • Extend TimeUpdateEvent to include programDateTime.
  • Embed Exoplayer into THEOplayer SDK

⚡ Improvements

  • Ignore in-stream PSSHs if all the key IDs are contained in the active DRM session.

🐛 Issues

  • Fix an issue where PLAYING event was not dispatched after a SEEKED event
  • Fix an issue where incorrect buffer size triggered a WAITING event.
  • Fix an issue where offline caching would not work for DASH content.

iOS

✨ Features

  • Add the possibility to prevent THEOplayer from managing the AVAudioSession.
  • Extend timeUpdate event to include programDateTime.
  • Add margin parameter to PictureInPicture configure API.

🐛 Issues

  • Fix issue where setting targetBuffer did not work.
  • Fix an issue where seeking immediately after setting source would not work.

tvOS

✨ Features

  • Add the possibility to prevent THEOplayer from managing the AVAudioSession.

🐛 Issues

  • THEOplayer no longer handles PLAY/PAUSE events from the SiriRemote when chromeless is true
  • Fix an issue where seeking immediately after setting source would not work.

🚀 2.73.0 (2020/07/07)

General

⚡ Improvements

  • Remove THEOplayer support in error messages in favor of "your service provider".

🐛 Issues

  • Fix an issue where the player would sometimes throw an error event, even though it had already automatically recovered from it.
  • Fix an issue on HLS where an error would occur on a discontinuity when the stream has either no video or no audio.
  • Fix an issue where the player would fetch the wrong segment url for some DASH streams with SegmentTemplate tags.

Web

🐛 Issues

  • Fix an issue where an ad that is adblocked does not result in the content being blocked although the blockContentIfAdError is set.
  • Fix an issue where the skip button for verizon media ads had no lateral padding.
  • Fix an issue where some Google DAI DASH streams wouldn't resume after a midroll ad.

Android

✨ Features

  • Add Support for Native IMA

🐛 Issues

  • Fix an issue where THEOplayer crashed between Activity lifecycle transitions
  • Fixed an issue where using native rendering the quality change caused the player to lag
  • Fix an issue where the player sometimes stutters on ABR quality switches when playing H265 streams using native rendering.
  • Fix an issue where fullscreen would go into landscape even when FullScreenOrientationCouple is set to false

iOS

✨ Features

  • Add Support for Native IMA

🐛 Issues

  • Fix an issue on iOS where returning from fullscreen mode would break the UI

🚀 2.72.0 (2020/06/10)

General

🐛 Issues

  • Resolved issue where text track cues could remain active after a silent fast seek by the media pipeline
  • Fix an issue where playback would sometimes fail to start for DASH streams with subsegments whose timestamps are not aligned with their parent segment.
  • Fixed issue where MPEG-DASH streams with dynamic manifests where the last period's duration increases every update does not correctly update its duration.
  • Fix an issue where sometimes the player would seek to the wrong time for DASH streams.

Web

✨ Features

  • Add playerSuiteVersion API.

⚡ Improvements

  • Fix an issue where the player reported buffer length in seconds instead of milliseconds for Conviva analytics.

🐛 Issues

  • Fix an edge case for some HLS streams where the player would sometimes download segments multiple times for specific target buffer values.

Android

✨ Features

  • Add a THEOplayerView.getPlayerSuiteVersion() api.
  • Add timeServer flag for SourceDescription and TypedSource
  • Add lowLatency flag to SourceDescription

⚡ Improvements

  • Add support for playback of HEVC representations of a DASH stream when nativeRendering is enabled.

🐛 Issues

  • Fix an issue where Google DAI DASH streams would not play
  • Fix an issue where using Native Rendering the ended event was missing

iOS

✨ Features

  • Add a THEOplayer.playerSuiteVersion api.
  • Add support for Comcast MPX Fairplay DRM
  • THEOplayer does not require anymore to be attached to a ViewController to switch to Picture-in-Picture mode

🐛 Issues

  • Fix bug where accessing audioTracks/videoTracks on track change event would return false states

Chromecast

✨ Features

  • Add playerSuiteVersion API.

Chromecast CAF

✨ Features

  • Add version and playerSuiteVersion API.