File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -173,6 +173,9 @@ Of course I'm also very glad about issues and pull requests if you find a bug /
173173 Placeholder for next versions (this needs to be indented):
174174 ### __WORK IN PROGRESS__
175175-->
176+ ### __ WORK IN PROGRESS__
177+ * fix support for ws 8.*
178+
176179### 0.5.0 (2022-08-30)
177180* add / repair support for multiple sockets.
178181
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ class WebSocketClient extends EventEmitter.EventEmitter {
107107 connect ( ) {
108108 let resolved = false ;
109109 return new Promise ( ( resolve , reject ) => {
110- this . _device . socket = new WebSocket ( 'https ://' + this . _device . ip + ':' + this . _device . port + '/SwitchCamera' , {
110+ this . _device . socket = new WebSocket ( 'wss ://' + this . _device . ip + ':' + this . _device . port + '/SwitchCamera' , {
111111 protocolVersion : 13 ,
112112 rejectUnauthorized : false ,
113113 timeout : 5000
You can’t perform that action at this time.
0 commit comments