Media — Complete

The LiSA Player sends a message to report the current playback has ended.

Properties

Along with all standard Media Message properties, a Complete message includes the following additional properties:

Name
Type
Description

messageType

Literal

Required.

lsc:media:complete

Legacy Properties

If your integration uses LiSA Player Version 1, none of the properties described above will be available.

For LiSA Player Version 2, legacy properties can be ignored.

Name
Type
Description

action

Literal

Required.

target

Literal

Required.


Type Definition

interface MediaCompleteMessage extends Omit<MediaMessage, 'messageType'> {
  messageType: 'lsc:media:complete';
}

Examples

{
  "mediaItemId": "9f333331-45cb-4289-8bcd-9023c1871111",
  "mediaItemType": "live",
  "messageType": "lsc:media:complete",
  "progress": {
    "bufferedTimeInMs": 648036,
    "currentTimeInMs": 628008,
    "durationInMs": 4616000,
    "elapsedTimeInMs": 28784,
    "skipTimeInMs": 600000,
    "isLive": true,
    "visitorDwellTimeInMs": 29135,
    "isPlaying": true
  },
  "sender": "LiSA",
  
  "action": "stop",
  "target": "player"
}

Last updated