如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-12-02。
[null,null,["最后更新时间 (UTC):2023-12-02。"],[[["`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."]]],["The `BitrateChangedEvent` class provides data for a `BITRATE_CHANGED` event. It features a constructor, `BitrateChangedEvent`, which accepts an optional `totalBitrate` parameter. The key property, `totalBitrate`, represents the combined audio and video bitrate in bits per second, and it can be a number or undefined. This information is used to track media bitrate changes within a casting framework.\n"]]