|
@@ -473,7 +473,7 @@
|
|
"deviceStatus": 1,
|
|
"deviceStatus": 1,
|
|
};
|
|
};
|
|
// var baseUrl = "http://192.168.31.20";
|
|
// var baseUrl = "http://192.168.31.20";
|
|
- var baseUrl = "test.androidscloud.com";
|
|
|
|
|
|
+ var baseUrl = "https://test.androidscloud.com";
|
|
var urlss = 'test.androidscloud.com'
|
|
var urlss = 'test.androidscloud.com'
|
|
let that = this;
|
|
let that = this;
|
|
var player = new Player({
|
|
var player = new Player({
|
|
@@ -493,7 +493,7 @@
|
|
data: JSON.stringify(rbdData),
|
|
data: JSON.stringify(rbdData),
|
|
type: 'post',
|
|
type: 'post',
|
|
dataType: 'json',
|
|
dataType: 'json',
|
|
- async: false,
|
|
|
|
|
|
+ // async: false,
|
|
contentType: "application/json;charset=UTF-8",
|
|
contentType: "application/json;charset=UTF-8",
|
|
headers: {
|
|
headers: {
|
|
'token': tokens.substring(6, tokens.length),
|
|
'token': tokens.substring(6, tokens.length),
|
|
@@ -512,7 +512,8 @@
|
|
// var strhost = "ws://192.168.11.66:9101";
|
|
// var strhost = "ws://192.168.11.66:9101";
|
|
// var strhost = "ws://" + that.urlData.exIp + ":" + that.urlData.exPort
|
|
// var strhost = "ws://" + that.urlData.exIp + ":" + that.urlData.exPort
|
|
// var strhost="wss://www.ted2018.com:9101";
|
|
// var strhost="wss://www.ted2018.com:9101";
|
|
- var strhost="wss://test.androidscloud.com/videoWebSocket?clientType=1&cardIp=14.215.128.96&port=2005&sn=RK3930C2301900005";
|
|
|
|
|
|
+ var strhost="wss://test.androidscloud.com:9105";
|
|
|
|
+ // var strhost="wss://test.androidscloud.com/videoWebSocket?clientType=1&cardIp=14.215.128.96&port=2005&sn=RK3930C2301900005";
|
|
var client = new WebSocket(strhost);
|
|
var client = new WebSocket(strhost);
|
|
console.log('wsssss==============', client)
|
|
console.log('wsssss==============', client)
|
|
|
|
|