Class: BitrateChangedEvent

  • BitrateChangedEvent provides event data for the cast.framework.events.EventType.BITRATE_CHANGED event.

  • The constructor new BitrateChangedEvent(totalBitrate) can optionally take a total bitrate.

  • The totalBitrate property represents the total bitrate of the media in bits per second, and its value can be a number or undefined.

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.