Casting to Hub Max may have Wifi connection issues.  If the media stream has a high bit rate you could be looking at dropped packets from router issues, hub-max internal TCP/IP  settings of how many out of order packets are allowed before dumping the cache and requesting the packet series again.  Wifi needs to be setup on a channel that has no other local traffic.  Have a look here for more troubleshooting steps:  https://www.digitaltrends.com/home/common-google-nest-hub-problems-and-how-to-fi