AI-generated Key Takeaways
-
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.
cast.framework.events. BitrateChangedEvent
Event data for a cast.framework.events.EventType.BITRATE_CHANGED
event.
Constructor
BitrateChangedEvent
new BitrateChangedEvent(totalBitrate)
Parameter |
|
---|---|
totalBitrate |
Optional number |
Property
totalBitrate
(number or undefined)
The bitrate of the media (audio and video) in bits per second.