Browse Source

切换流文件

wuyongxiang 4 years ago
parent
commit
7d17542e5f
3 changed files with 7 additions and 5 deletions
  1. 4 3
      screenH5/homeNew.html
  2. 1 1
      screenH5/wxhomeInfo.html
  3. 2 1
      static/distss/WXdraw.js

+ 4 - 3
screenH5/homeNew.html

@@ -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)
 
 

+ 1 - 1
screenH5/wxhomeInfo.html

@@ -666,7 +666,7 @@ transition: all 0.2s ease-in;
 			// data.cardIp="14.215.128.96"
 			// data.cardIp="14.215.128.96"
 			// data.port=2044
 			// data.port=2044
 			var strhost="";
 			var strhost="";
-			var players = AV.Player.fromWebSocket("wss://www.ted2018.com:9101");
+			var players = AV.Player.fromWebSocket("wss://test.androidscloud.com:9105");
 			// if (data.clientType == 3) {
 			// if (data.clientType == 3) {
 			// 	var players = AV.Player.fromWebSocket("wss://" + urlss + '/authVideoWebSocket?' + "clientType=" + data.clientType +
 			// 	var players = AV.Player.fromWebSocket("wss://" + urlss + '/authVideoWebSocket?' + "clientType=" + data.clientType +
 			// 		"&username=" + data.username + "&userCardId=" + data.userCardId);
 			// 		"&username=" + data.username + "&userCardId=" + data.userCardId);

+ 2 - 1
static/distss/WXdraw.js

@@ -80,7 +80,8 @@ urlss = '192.168.31.20'
 // debugger
 // debugger
 var cUrl = ''
 var cUrl = ''
 // cUrl = "ws://192.168.11.66:9101";
 // cUrl = "ws://192.168.11.66:9101";
-var cUrl="wss://www.ted2018.com:9101"
+// var cUrl="wss://www.ted2018.com:9101"
+var cUrl = "wss://test.androidscloud.com:9105"
 // if (data.clientType == 3) {
 // if (data.clientType == 3) {
 // 	cUrl = "wss://" + urlss + "/authControlWebSocket?" + "clientType=" + data.clientType + "&username=" + data.username +
 // 	cUrl = "wss://" + urlss + "/authControlWebSocket?" + "clientType=" + data.clientType + "&username=" + data.username +
 // 		"&userCardId=" + data.userCardId
 // 		"&userCardId=" + data.userCardId