3.0.0 #799
MGaetan89
announced in
Announcements
3.0.0
#799
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
New features
Playback monitoring
Pillarbox records various metrics related to playback performance (bitrate, stalls, playback duration, ...).
You can retrieve these values by using the following:
By default, these metrics are sent to a Pillarbox monitoring service when using
PillarboxExoPlayerfrompillarbox-core-business, or discarded when usingPillarboxExoPlayerfrompillarbox-player. You can customize this by doing:Improved block reason support
The
BlockReasonExceptionis now a sealed class, possibly containing more information about a specific error.Customize the surface type used by the player
When using
PlayerSurfacefrompillarbox-ui, you can now specify the type of surface you want to use:See
SurfaceTypefor more information.Other features
MediaItem.mediaMetadata.chapters.MediaItem.mediaMetadata.credits.MediaItem.tagis no longer reserved for Pillarbox usage.PillarboxPreloadManagerhelper for Media3PreloadManager. Note that these APIs are incubating on Media3 side and will change in future versions.Breaking changes
Introduce a DSL to create a player
The
PillarboxExoPlayerconstructor and theDefaultPillarboxhave been removed.Instead, you can use the
PillarboxExoPlayerbuilder function, which comes in two variants:PillarboxExoPlayerfrompillarbox-player: closely matches a defaultExoPlayer, with Pillarbox monitoring disabled.PillarboxExoPlayerfrompillarbox-core-business: suited for the SRG SSR needs, i.e. it can play URN and sends playback metrics to Pillarbox monitoring.You can customize the player during creation:
Removal of deprecated symbols
MediaItemUrnSRGMediaItemBuilderPlayer.disableTextTrack()Player.disableTextTrack()ch.srgssr.pillarbox.player.tracksinsteadPlayer.setDefaultTextTrack()Player.setAutoTextTrack()Player.disableAudioTrack()Player.disableAudioTrack()ch.srgssr.pillarbox.player.tracksinsteadPlayer.setDefaultAudioTrack()Player.setAutoAudioTrack()Tracks.textTracks.textTracksTracks.audioTracks.audioTracksTracks.videoTracks.videoTracksOthers breaking changes
DefaultHttpClient. UsePillarboxHttpClientinstead.What's Changed
PillarboxSlidermin/max values by @MGaetan89 in FixPillarboxSlidermin/max values #671ComScoreTrackerIntegrationTestflakiness by @MGaetan89 in FixComScoreTrackerIntegrationTestflakiness #711MonitoringTestby usingPillarboxExoPlayerdirectly by @MGaetan89 in FixMonitoringTestby usingPillarboxExoPlayerdirectly #714ModalNavigationDrawerpositioning hack inPlaybackSettingsDrawerby @MGaetan89 in RemoveModalNavigationDrawerpositioning hack inPlaybackSettingsDrawer#712pillarbox-core-businessby @MGaetan89 in Move Monitoring configuration topillarbox-core-business#743PillarboxPreloadManagerby @MGaetan89 in IntroducePillarboxPreloadManager#726severityfrom monitoring error by @MGaetan89 in Removeseverityfrom monitoring error #757DefaultHttpClientby @MGaetan89 in Remove deprecatedDefaultHttpClient#761pillarbox-analyticsby @MGaetan89 in Update documentation forpillarbox-analytics#770pillarbox-castby @MGaetan89 in Update documentation forpillarbox-cast#774pillarbox-core-businessby @MGaetan89 in Update documentation inpillarbox-core-business#776pillarbox-uiby @MGaetan89 in Update documentation inpillarbox-ui#787Vectorto be an enum by @MGaetan89 in MigrateVectorto be an enum #790Full Changelog: 2.3.0...3.0.0
This discussion was created from the release 3.0.0.
Beta Was this translation helpful? Give feedback.
All reactions