canSkip
Returns to the client whether playback can skip.
Return
delay in seconds before the advert can be skipped, or Int.MIN_VALUE otherwise.
Parameters
playheadMs
The current playhead position, in milliseconds.
timeline
The stream timeline represented as an array of AdBreak objects.
durationMs
The VOD stream duration, in milliseconds, or zero if the stream is live.