|
@@ -659,9 +659,9 @@
|
|
|
// var strhost = "wss://" + urlss + "/videoWebSocket?clientType=1&cardIp=" +
|
|
|
// that.urlData.exIp +
|
|
|
// "&port=" + that.urlData.exPort + "&sn=" + that.urlData.sn;
|
|
|
- var strhost = "ws://192.168.11.66:9101";
|
|
|
+ var strhost = "wss://192.168.11.66:9101";
|
|
|
// var strhost="ws://"+that.urlData.exIp+":"+that.urlData.exPort
|
|
|
- var client = new WebSocket(strhost.replace("ws","wss"));
|
|
|
+ var client = new WebSocket(strhost.replace("wss","ws"));
|
|
|
console.log('wsssss==============', client)
|
|
|
|
|
|
client.binaryType = 'arraybuffer';
|