Class: BitrateChangedEvent

  • BitrateChangedEvent provides data for events related to changes in media bitrate during playback.

  • This event includes the totalBitrate property representing the combined audio and video bitrate in bits per second.

  • Developers can use the cast.framework.events.EventType.BITRATE_CHANGED event to track bitrate changes and adapt their application accordingly.

Constructor

BitrateChangedEvent

new BitrateChangedEvent(totalBitrate)

Parameter

totalBitrate

Optional

number

Property

totalBitrate

constant

(number or undefined)

The bitrate of the media (audio and video) in bits per second.