StreamTimelineEvent
public enum StreamTimelineEvent : String, Codable
Represents Stream timeline based events
-
Represents live program start event
Declaration
Swift
case liveProgramStart -
Represents live program end event
Declaration
Swift
case liveProgramEnd -
Represents live event start event
Declaration
Swift
case liveEventStart -
Represents live event end event
Declaration
Swift
case liveEventEnd -
Represents content blacked out
Declaration
Swift
case blackout -
Represents the game metadata
Declaration
Swift
case gameInfo -
Represents event happen on the game
Declaration
Swift
case gameEvent -
Represents unknown event
Declaration
Swift
case unknown -
Represents live 360 start event
Declaration
Swift
case live360Available -
Represents live 360 end event
Declaration
Swift
case live360Unavailable -
Represents the triton audio media trackInfo
Declaration
Swift
case tritonAudioMediaTrackInfo -
Represents the triton ad info
Declaration
Swift
case tritonAdInfo -
Represents the triton audio media speech info
Declaration
Swift
case tritonAudioMediaSpeechInfo -
Represents the triton sweeper info
Declaration
Swift
case tritonSweeperInfo -
Represents the triton SBM connection failure
Declaration
Swift
case tritonSBMUnavailable -
Called when a live HLS stream receives
#EXT-X-ENDLISTand transitions to a VOD-like state.After this event,
player.isLivereturnsfalseand the full recorded duration becomes seekable. Use this to update the UI (e.g., switch from live-edge controls to a full VOD scrubber).Note
Ad handlers, analytics sessions, and bookmark managers are not automatically reconfigured on this transition. See the SDK migration guide for recommended handling.Declaration
Swift
case liveEventProgressEnd