Very high latency with Chromecast
I was trying out the Chromecast casting and it seems that there is a very high delay. In some cases I have seen only 1 or 2s of delay but I have counted and delay of about 13s is not uncommon.
IDK what the best solution is here, it seems that during setup some data can be buffered and this buffer is never run down. Maybe there needs to be some sort of logic that if the stream is more than N seconds behind it plays at a slightly increased rate (maybe 1.02x) so that it eventually catches up? Audio may also require special handling to not sound too bad.