Search code examples
google-cast-sdkshaka

How to override Shaka player version using new API released March 31, 2022?


Google released new version CAST SDK March 31, 2022 with ability for overriding Shaka Player version (as release notes said :) ) but it didn't provide documentation how to set the Shaka Player version release notes

That is all what documentation has about cast.framework.PlaybackConfig#shakaConfig

existent documentation

No any information about setting Shaka version at the moment. Has anybody faced with a topic? Thank you!


Solution

  • The CastReceiverOptions object has an undocumented field shakaVersion. Simply set to e.g. "4.2.2".