I have the same problem. It only happens when I want to watch IPTV or some stream from Amazon Prime or Pluto TV.
I don't have any problem with local files e.g. films stored on a hard disk.
I have been editing the advancedsettings.xml file with no luck.