canChangeVolume

open override fun canChangeVolume(mute: Boolean, playheadMs: Long, timeline: MutableList<AdBreak>): Boolean

Returns to the client whether volume can be muted.

Return

true if volume can be muted, false otherwise.

Parameters

mute

The intended volume change: muted or unmuted.

playheadMs

The current playhead position, in milliseconds.

timeline

The stream timeline represented as an array of AdBreak objects.