Payload of the jitQueue:needNext event.
The host needs the next track: none is buffered and no earlier request is waiting for an answer. It checks when a track of the shadow playlist starts, dropping a request left unanswered during the previous track, and again when 30 seconds of the track remain. The page answers with jitQueue.enqueueNext, or with jitQueue.notifyEmpty when it has no more tracks. Delivered like jitQueue:trackChanged.
Payload of the
jitQueue:needNextevent. The host needs the next track: none is buffered and no earlier request is waiting for an answer. It checks when a track of the shadow playlist starts, dropping a request left unanswered during the previous track, and again when 30 seconds of the track remain. The page answers withjitQueue.enqueueNext, or withjitQueue.notifyEmptywhen it has no more tracks. Delivered likejitQueue:trackChanged.