Media Item
Last updated
Last updated
The LiSA Player communicates key events related to the current media item by dispatching various messages:
Creator Join — Notifies when a creator enters a live stream.
Creator Leave — Notifies when a creator exists a live stream.
— Captures user reactions through emoji interactions.
— Indicates when a media item has been viewed.
This message is sent by the LiSA Player to the host app / environment.
Along with all standard , a Media Item message includes the following additional properties:
mediaItemId
Required.
The mediaItemId
property uniquely identifies the Media Item from which this message originates.
mediaItemType
Required.
messageType
Required.
The messageType
property specifies the distinct type of message.
progress
Required.
The MediaItemType
property is an enum that defines the type of media item. It helps differentiate between live content, recorded replays, and short-form media.
live
– A real-time live stream with an undefined duration (durationInMs = -1
).
replay
– A recorded playback of a previous live stream with a fixed duration.
story
– A short-form media item, typically with a defined duration and limited availability.
The mediaItemType
property specifies the type of Media Item from which this message originates.
Refer to for detailed information.
The progress
property is an object that holds additional metadata related to the media playback progress of the current media item.
Please refer to for detailed information.