0

With the new CAF framework for creating Chromecast applications I see there is a new event that gets fired each time the bitrate changes. This is great but it doesn't cover all of my needs.

Is there a way to obtain the current bitrate using the playerManager or the MPL directly while using CAF?

  • Just my opinion. So far, [`cast.framework.events.BitrateChangedEvent`](https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.events.BitrateChangedEvent) is the only reference provided by Google Cast SDK regarding bitrate. – MαπμQμαπkγVπ.0 Jul 10 '18 at 12:05

1 Answers1

0

I couldn't find this in the docs, but I found out that the bitrate is included in playerManager.getStats().

https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.PlayerManager#getStats