pillarbox-apple icon indicating copy to clipboard operation
pillarbox-apple copied to clipboard

Deliver metadata with business errors

Open defagos opened this issue 6 months ago • 1 comments

Description

This PR makes it possible to deliver metadata event when a business error prevents playback. This makes it possible to create more engaging experiences in this case (e.g. display content information or thumbnail).

Changes made

  • Add asset type that carries both an error and metadata.
  • The demo player layout was not updated. It is complicated enough already.

Checklist

  • [x] APIs have been properly documented (if relevant).
  • [x] The documentation has been updated (if relevant).
  • [x] New unit tests have been written (if relevant).
  • [x] The demo has been updated (if relevant).

defagos avatar Aug 19 '24 08:08 defagos