* Add video player options via query string.
* use arrow-style functions
* remove redundant check
---------
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
When latency is high, one side of the peer connection switched to the
"connected" state before the other one, and then closed the WebSocket
connection since it's useless after the peer connection has been
established. This caused the other side of the connection to detect a
WebSocket error and to exit.
The WebSocket connection must remain open, otherwise the
"connected" state is not set by both parts.