setPlaybackMode

open override fun setPlaybackMode(sessionPlaybackMode: Session.PlaybackMode)

Sets the playback mode that the stream is running in. The policy handler implementation may use this to modify the policy for specific requests, for example allowing pause in VOD but not in Live playback.

Parameters

sessionPlaybackMode

the stream Session.PlaybackMode instance.