2.1.0
SRGAnalytics
- Fix "ghost start" issue. Comscore will start only when the first
Activity
is created.
Player
- Fix DRM issue with new LSVS DRM streams.
- Pillarbox 2.1.0 introduce new kinds of Asset meta data that are linked to a
MediaItem
.
- Chapters : a time range that contains metadata of a Chapter, player will call
PillarboxPlayer.Listener.onChapterChanged
when player enter or exit a chapter. - Blocked time range : a time range where the player can't reach anytime, player will call
PillarboxPlayer.Listener.onBlockedTimeRangeReached
when the player jump to the end of the blocked range. - Credits (Opening and Closing) : a time range that contains credis metadata, player will call
PillarboxPlayer.Listener.onCreditChanged
when player enter or exit a chapter.
New apis
val player : PillarboxPlayer
player.getCurrentChapters()
player.getChapterAtPosition()
player.getChapterAtPosition(positionMs)
player.getCurrentChapterAsFlow()
player.getCurrentChapterAsState()
player.getCurrentCredits()
player.getCreditAtPosition()
player.getCreditAtPosition(positionMs)
player.getCurrentCreditAsFlow()
player.getCurrentCreditAsState()
Core business
SRGAssetLoader
read and fill the chapter, credits and blocked time range from theMediaComposition
.
Known bugs
- Live DRM can't be played
- Audio stream with multiple chapters can't be played
What's Changed
- Update guide to setup the GitHub repository by @MGaetan89 in #534
- Bump the androidx group with 4 updates by @dependabot in #522
- Bump android-gradle-plugin from 8.3.2 to 8.4.0 by @dependabot in #523
- Custom blocked segments by @StaehliJ in #539
- Replace usages of
MediaItemUrn
withSRGMediaItemBuilder
by @MGaetan89 in #537 - Add journalistic blocking reason by @MGaetan89 in #538
- Bump ktor from 2.3.10 to 2.3.11 by @dependabot in #542
- Bump kotlinx-coroutines from 1.8.0 to 1.8.1 by @dependabot in #541
- Bump mockk from 1.13.10 to 1.13.11 by @dependabot in #548
- Bump robolectric from 4.12.1 to 4.12.2 by @dependabot in #545
- Bump android-gradle-plugin from 8.4.0 to 8.4.1 by @dependabot in #547
- Bump kotlinx-kover from 0.7.6 to 0.8.0 by @dependabot in #546
- Bump the androidx group with 10 updates by @dependabot in #544
- Add a seek bar to the TV demo player by @MGaetan89 in #543
- Bump kotlin from 1.9.23 to 2.0.0 by @dependabot in #549
- 517 helper for media route button display by @StaehliJ in #525
- Bump com.autonomousapps.dependency-analysis from 1.31.0 to 1.32.0 by @dependabot in #554
- Simplify JVM toolchain setup by @MGaetan89 in #556
- Bump the androidx group with 5 updates by @dependabot in #560
- Bump com.tagcommander.lib:ServerSide from 5.5.3 to 5.5.4 by @dependabot in #562
- Revert toolchain changes from #556 by @MGaetan89 in #563
- Enable multi session for drm by @StaehliJ in #566
- 559 ghost start issue by @StaehliJ in #564
Full Changelog: 2.0.0...2.1.0