A side-effect of self._seq and self._wasAd keeping their values when switching streams (through xhr website-navigation which doesnt reload the wasmworker) is that the sequence can "always" get set to 0 - if the sequence of the new stream is smaller than the already set _seq - resulting in a stream-freeze (even if no Ad plays).
Good catch, maybe hook into the router and just reset on each change.
Or, probably much easier, add onClick listeners to the affected elements (I'd say sidebar and when browsing channels).
A side-effect of
self._seq
andself._wasAd
keeping their values when switching streams (through xhr website-navigation which doesnt reload the wasmworker) is that the sequence can "always" get set to 0 - if the sequence of the new stream is smaller than the already set_seq
- resulting in a stream-freeze (even if no Ad plays).