I've got a problem with Chromecast playing MPEG-DASH livestream. The infinite loading occurs because of the lack of UTCTiming tag in manifest. The problem is known to occur with ShakaPlayer. It's the first problem in FAQ: <https://github.com/google/shaka-player/blob/master/docs/tutorials/faq.md>

On chromecast however, i can't access the ShakaPlayer directly (or maybe there is a way that i'm not familiar with). There are 2 solutions to the problem that i can think of:

1. Modify manifest dynamically.

> 
> 
> ```
>  this.playbackConfig.manifestHandler = (manifest) => {
>     //adding UTCTiming to the manifest with attributes like this:
>     customUTC.setAttribute("schemeIdUri", "urn:mpeg:dash:utc:http-head:2014");
>     customUTC.setAttribute("value", this.manifestUrl); }
> ```
> 
> 

This however doesn't change the behaviour of the chromecast player, the infinite loading still occurs, am I doing something wrong here?

2. Using the older player (Media Player Library) via setting `useLegacyDashSupport` makes chromecast play stream normally, but breaks UI a little.Can I switch to the legacy player dynamically only when it's needed? Based on a manifest for example, or during loadRequest from sender app.