These steps should be followed precisely. Failure to connect to the server as instructed will likely result in your client being treated in an undefined way. Initial HTTP request made to the obs-websocket server. The Sec-WebSocket-Protocol header can be used to tell obs-websocket which kind of message encoding to use. By default, obs-websocket uses JSON over text. Available subprotocols: obswebsoc