You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an SRF app developer I would like to be able to display player metadata for streams that have not started yet. As a Pillarbox Android developer I would like to investigate whether this is possible so that we can have a team discussion about such a feature (readily available for the web and feasible for Apple).
Acceptance criteria
A PoC implementation which delivers metadata in case of an error is available on Android platforms.
A thumbnail is displayed for URN-based content not yet available.
When an error occurs during fetching the MediaComposition the metadata are lost because we throw an error directly.
The only "Metadata" the integrator will have is the error and the input MediaMetadata set to the player before loading the MediaComposition.
So for now, if integrator want to display an image or metadata and they have already that kind of information when passing the urn to the player, they should set them up with the urn.
val mediaItem =SRGMediaItemBuilder(urn ="urn:rts:video:13382911")
.setMediaMetadata(MediaMetadata.Builder()
.setTitle("Title of the media")
.setDescription("Description of the media")
.setArtworkUri(Uri.parse("https://image.png"))
.build())
.build()
player.setMediaItem(mediaItem)
```
As an SRF app developer I would like to be able to display player metadata for streams that have not started yet. As a Pillarbox Android developer I would like to investigate whether this is possible so that we can have a team discussion about such a feature (readily available for the web and feasible for Apple).
Acceptance criteria
Hints
See SRGSSR/pillarbox-documentation#80 for more information.
Tasks
The text was updated successfully, but these errors were encountered: