Skip to content

Releases: SRGSSR/pillarbox-android

0.6.0

14 Sep 12:45
231873f

Choose a tag to compare

0.6.0 Pre-release
Pre-release

🚧 The SRG stream tracking and analytics have not been validated yet, only ComScore is validated. So do not use this in production environment !!!

Media3 version: 1.1.1
kotlin plugin version: 1.9.0
compiler version: 1.5.1
compose bom version: 2023.08.00

New features

Player

  • Support for audio and text tracks. Add helpers to better handle tracks management.
  • Add Player.getTrackSelectionParametersAsFlow to get flow of TrackSelectionParameters changes.
  • Add Player.getCurrentTracksAsFlow to get flow of Tracks changes.
  • Tracks extensions filter unsupported tracks.
  • When using Pillarbox extensions the following feature are supported:
    • User accessibility settings.
    • Forced subtitles

Core business

  • Request MediaComposition in chapter only. So segment urn can be played correctly.
  • Disable playback start when a chapter urn contains a blocking reason or if it has at least one segment with a blocking reason.
  • Allow application to query a urn with a vector as a String. By default Vector.MOBILE.
  • Add Context.getVector to detect vector.

Analytics

  • Add permanent labels to SRGAnalytics.
  • Add user consent api.

Demo

  • Improve player settings, add audio and subtitles settings.
  • Subtitles are better displayed.
  • Migrate to Material3

Breaking Changes

  • MediaCompositionDataSourceImpl rename to DefaultMediaCompositionDataSource.

What's Changed

Full Changelog: 0.5.1...0.6.0

0.5.1

27 Jul 13:56
2871b47

Choose a tag to compare

0.5.1 Pre-release
Pre-release

🚧 The SRG stream tracking and analytics have not been validated yet. So do not use this in production environment !!!

What's Changed

Full Changelog: 0.5.0...0.5.1

0.5.0

27 Jul 13:55
2ba4e75

Choose a tag to compare

0.5.0 Pre-release
Pre-release

🚧 The SRG stream tracking and analytics have not been validated yet. So do not use this in production environment !!!

Breaking changes

Initialization of SRGAnalytics is simplified.

val config = AnalyticsConfig(
        vendor = AnalyticsConfig.Vendor.SRG,
        nonLocalizedApplicationName = "PillarboxDemo",
        appSiteName = "pillarbox-demo-android",
        sourceKey = AnalyticsConfig.SOURCE_KEY_SRG_DEBUG
)
initSRGAnalytics(config = config)

New demo feature

You can inject a urn or url directly in the demo.

What's Changed

Full Changelog: 0.4.1...0.5.0

0.4.1

12 Jul 06:35
4e1fdf9

Choose a tag to compare

0.4.1 Pre-release
Pre-release

What's Changed

  • Improve Demo with Integration layer data's that allow to navigate through the SRG SSR content. #161
  • Pull media3 version to 1.1.0.

Fixes

  • Update media3 version fixes an issue with MediaController and add/set MediaItem with a local configuration or mediaID #160

Full Changelog: 0.4.0...0.4.1

0.4.0 - Stream tracking and analytics

23 Jun 14:02
d85ab02

Choose a tag to compare

Pre-release

This pillarbox pre release add the support for stream tracking and SRG SSR Analytics. The stream tracking can be customized and new tracking system can be added. Pillarbox is using the released Media3 library 1.0.0 !

🚧 The SRG stream tracking and analytics have not been validated yet. So do not use this in production environment !!!

New Features

  • SRG SSR Analytics with standards stream analytics (CommandersAct and comscore). Read more here
  • Stream tracking can be customized by implementing your own MediaItemTracker please read the documentation for more information about that topic Read more here.
  • Seek forward and seek backward increments can be set at PillarboxPlayer creation. (#146)

Changes

  • Remove PlayerState it is replaced by flow extensions. Should be easier to get player state as flow.
  • Remove over complicated Service connections. (#143)
  • The demo has been improved by adding playlist UI.

Full Changelog: 0.3.0...0.4.0

0.3.0

21 Mar 10:14

Choose a tag to compare

0.3.0 Pre-release
Pre-release

Changes

  • Rename PlayerViewModel to PlayerState #72
  • Update media3 version to 1.0.0-rc02 #82
  • 79 cleanup demo #80
  • 78 update branding demo #92

Full Changelog: 0.2.0...0.3.0

Player states

27 Feb 14:31

Choose a tag to compare

Player states Pre-release
Pre-release

New Feature

Add support to create complexe compose player controls using States with PlayerViewModel that expose player states as Flows.

Changes

  • Use Moshi instead of Gson.
  • AspectRatio nullable instead of 0.0f
  • Remove subtitle from PlayerSurface

Full Changelog: 0.1.1...0.2.0

Phase 2 System integration

21 Feb 14:28
df8bf2d

Choose a tag to compare

Pre-release

This is the second alpha release for Pillarbox, with which SRG SSR content can be played, although with minimal features and no provided user interface. This pre-release is far from complete but can be used for early adoption in app prototypes.

Features

  • MediaSession integration.
  • MediaSessionService and MediaLibraryService for background playback.
  • Basic Compose PlayerSurface.

Phase 1

21 Nov 09:11
260d9d3

Choose a tag to compare

Phase 1 Pre-release
Pre-release

This is the first alpha release for Pillarbox, with which SRG SSR content can be played, although with minimal features and no provided user interface. This pre-release is far from complete but can be used for early adoption in app prototypes.

Features

  • A player which can play SRG SSR contents (videos and audios, on-demand and livestreams, protected or not).
  • Playlist support.
  • Basic view components (video view and slider) with which simple user interfaces can be built.