I want to develop a websocket interface (HTML+javascript) to pilot OBS remotely.
The remote web page is hosted on a https//: page.
The javascript connects successfully to OBS with obs.connect('ws://....:4455',...) This works for Firefox, Safari, Edge.
But is rejected by Chrome and Opera browsers because they do not trust any connection to ws://... and ask for wss://... instead.
So I modify obs.connect(`ws://... => obs.connect(`wss://...
As a result it just do not work at all, even on the previous working browsers :
"the browser can not connect to the server at the address wss://....:4455" obs-ws.js:2501
My operative system is MAC.
Where is my error please, to solve this?
Thank you.
The remote web page is hosted on a https//: page.
The javascript connects successfully to OBS with obs.connect('ws://....:4455',...) This works for Firefox, Safari, Edge.
But is rejected by Chrome and Opera browsers because they do not trust any connection to ws://... and ask for wss://... instead.
So I modify obs.connect(`ws://... => obs.connect(`wss://...
As a result it just do not work at all, even on the previous working browsers :
"the browser can not connect to the server at the address wss://....:4455" obs-ws.js:2501
My operative system is MAC.
Where is my error please, to solve this?
Thank you.