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
-
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
PillarboxExoPlayer
frompillarbox-core-business
, or discarded when usingPillarboxExoPlayer
frompillarbox-player
. You can customize this by doing:Improved block reason support
The
BlockReasonException
is now a sealed class, possibly containing more information about a specific error.Customize the surface type used by the player
When using
PlayerSurface
frompillarbox-ui
, you can now specify the type of surface you want to use:See
SurfaceType
for more information.Other features
MediaItem.mediaMetadata.chapters
.MediaItem.mediaMetadata.credits
.MediaItem.tag
is no longer reserved for Pillarbox usage.PillarboxPreloadManager
helper 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
PillarboxExoPlayer
constructor and theDefaultPillarbox
have been removed.Instead, you can use the
PillarboxExoPlayer
builder function, which comes in two variants:PillarboxExoPlayer
frompillarbox-player
: closely matches a defaultExoPlayer
, with Pillarbox monitoring disabled.PillarboxExoPlayer
frompillarbox-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
MediaItemUrn
SRGMediaItemBuilder
Player.disableTextTrack()
Player.disableTextTrack()
ch.srgssr.pillarbox.player.tracks
insteadPlayer.setDefaultTextTrack()
Player.setAutoTextTrack()
Player.disableAudioTrack()
Player.disableAudioTrack()
ch.srgssr.pillarbox.player.tracks
insteadPlayer.setDefaultAudioTrack()
Player.setAutoAudioTrack()
Tracks.text
Tracks.textTracks
Tracks.audio
Tracks.audioTracks
Tracks.video
Tracks.videoTracks
Others breaking changes
DefaultHttpClient
. UsePillarboxHttpClient
instead.What's Changed
PillarboxSlider
min/max values by @MGaetan89 in FixPillarboxSlider
min/max values #671ComScoreTrackerIntegrationTest
flakiness by @MGaetan89 in FixComScoreTrackerIntegrationTest
flakiness #711MonitoringTest
by usingPillarboxExoPlayer
directly by @MGaetan89 in FixMonitoringTest
by usingPillarboxExoPlayer
directly #714ModalNavigationDrawer
positioning hack inPlaybackSettingsDrawer
by @MGaetan89 in RemoveModalNavigationDrawer
positioning hack inPlaybackSettingsDrawer
#712pillarbox-core-business
by @MGaetan89 in Move Monitoring configuration topillarbox-core-business
#743PillarboxPreloadManager
by @MGaetan89 in IntroducePillarboxPreloadManager
#726severity
from monitoring error by @MGaetan89 in Removeseverity
from monitoring error #757DefaultHttpClient
by @MGaetan89 in Remove deprecatedDefaultHttpClient
#761pillarbox-analytics
by @MGaetan89 in Update documentation forpillarbox-analytics
#770pillarbox-cast
by @MGaetan89 in Update documentation forpillarbox-cast
#774pillarbox-core-business
by @MGaetan89 in Update documentation inpillarbox-core-business
#776pillarbox-ui
by @MGaetan89 in Update documentation inpillarbox-ui
#787Vector
to be an enum by @MGaetan89 in MigrateVector
to 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