I'm investigating an option to instead of pausing the stream to save on session resources. Call enable / disable to disconnect and reconnect to the relay when toggling to pause.
In my customised module the enable signal to connection and broadcast won't reconnect. But calling the enable signals directly on both connection and broadcast seems to work.
There is some errors emitted when disabling/enabling this way. Calling to close the connection won't reconnect. So enable / disable is the only way. It's just an option as pause/unpause works also but keeps the session open.
The jsdelivr release the UI won't update properly.
https://jsfiddle.net/danrossi303/kcv6zw8r/
I'm investigating an option to instead of pausing the stream to save on session resources. Call enable / disable to disconnect and reconnect to the relay when toggling to pause.
In my customised module the enable signal to connection and broadcast won't reconnect. But calling the enable signals directly on both connection and broadcast seems to work.
There is some errors emitted when disabling/enabling this way. Calling to close the connection won't reconnect. So enable / disable is the only way. It's just an option as pause/unpause works also but keeps the session open.
The jsdelivr release the UI won't update properly.
https://jsfiddle.net/danrossi303/kcv6zw8r/