Repository navigation
·
10 commits
to development
since this release
Added
- iOS: Support for VMAP ad tags with the Bitmovin Advertising Module (
AdSourceType.BITMOVIN), included in native iOS SDK3.131.0. VMAP no longer requires Google IMA on iOS, matching Android - Android:
onPlaybackSpeedChangedevent to indicate playback speed changes. The event is already available in iOS onPlayerInactiveevent prop onPlayerViewto indicate when the active playback session ends and the player becomes inactive- Experimental playlist support via
Player.loadPlaylist,Player.playlistand theonPlaylistTransition,onSourceAddedandonSourceRemovedevents. On iOS, playlists support HLS, progressive andmovpkgsources EventSource.nativeIdto map sources in event payloads to theirSourceinstancesPlayer.on/Player.offandSource.on/Source.offto receive player and source events independently of aPlayerView
Fixed
- Android: Breaking change:
PlayerActiveandPlayerInactiveevents being namedonActiveandonInactiveinstead ofonPlayerActiveandonPlayerInactive, as on iOS. Apps comparingEvent.name, e.g. inonEvent, must use the new names. - Android:
Source.loadingState()returning the state name instead of aLoadingStatevalue - Android:
onPlayerActivenot being emitted - Android:
com.google.android.gms.permission.AD_IDbeing added to apps with Google IMA disabled, which makes Google Play require an advertising ID declaration. Apps with Google IMA disabled that rely on the advertising ID, e.g. through an analytics SDK, may need to addcom.google.android.gms:play-services-ads-identifierto their own dependencies - iOS: Data race in
NetworkConfigHTTP request and response preprocessing now that the native SDK invokes the callbacks on a background thread - Android: A player being unable to load any source after loading a source attached to another player
- iOS: Crash when loading a source attached to another player via
Player.loadSource() - A source destroyed while it was initializing, e.g. by
Source.destroy()right afterPlayer.loadSource(), being created natively afterwards and keeping its DRM config
Changed
- Update Bitmovin's native Android SDK version to
3.174.0+jason - iOS: Bitmovin Advertising Module ads no longer start with the subtitle track marked as default in the ad manifest. The ad subtitle now follows the subtitle selected for the main content, and stays off if the main content subtitles are off. This comes with native iOS SDK
3.131.0 - Update Bitmovin's native iOS SDK version to
3.131.0 - Breaking change:
SourceUnloadedEvent.sourceis now optional. Android does not provide it for events received viaPlayer.onor thePlayerViewevent props, as the native event does not carry the source. It is provided for events received viaSource.on. PlayerViewevent props are delivered through the player's event subscriptions on all platforms. The order of fullscreen and picture-in-picture events relative to player events can differ slightly. On Android, events emitted right after loading (e.g.onPlayerActive) are no longer lost, and twoPlayerViews showing the same player now both receive the events. On iOS,onEventnow only receives the events of the documentedPlayerViewprops, instead of every event of the native player.- Breaking change: Replace the
Player.sourceproperty withPlayer.getSource(), which returns the currently active source of the native player Player.destroy()destroys every source the player was the last to load or add to its playlist, including ones it no longer plays, instead of only the source loaded last. Sources loaded into another player since, or removed viaPlaylistApi.removeorPlaylistApi.removeAt, are not destroyed
Known Issues
- Sources that left a player through
Player.unload()or a later load stay allocated until the player is destroyed. Sources removed viaPlaylistApi.removeorPlaylistApi.removeAtmust be destroyed viaSource.destroy()once they are no longer needed Source.onlisteners do not receive the finalsourceUnloadedof a source thatPlayer.destroy()destroys, as the source is destroyed before the native player unloads it.Player.onlisteners and thePlayerViewonSourceUnloadedprop receive it for the active source