The current setup
I'm building a web application which will basically act as an internet radio, but with optional video content too.
The server will be using Icecast to provide the stream (although if required, I could definitely use something else).
The question
Is it possible to implement something, that would allow the user to seamlessly switch the video stream on or off, where the audio will keep playing uninterrupted, and both streams will stay synchronised too.
Synchronisation is only important per-client, not between clients. I don't mean just hiding the video stream either, the idea is to minimize bandwidth usage when not watching.
Watching the stream will happen from within the browser and I do not want to use something like a java plugin.
Support for older browsers doesn't matter, the latest versions of Edge, Safari, Chrome and Firefox is enough.
Turns out this isn't possible to do the way I wanted to (actually turn off the video stream).
Next best workaround is by using DASH and adding effectively an empty (or just black) video stream that can be switched to.