This commit is contained in:
陈向学 2024-10-17 10:55:52 +08:00
parent df1073e754
commit 76e605c9cf
2 changed files with 7 additions and 3 deletions

View File

@ -50,7 +50,7 @@ public class CallForTest : MonoBehaviour
const int HWND_TOPMOST = -1; const int HWND_TOPMOST = -1;
private void Awake() private void Awake()
{ {
Application.targetFrameRate = 60; //Application.targetFrameRate = 30;
instance = this; instance = this;
DontDestroyOnLoad(gameObject); DontDestroyOnLoad(gameObject);

View File

@ -78,8 +78,12 @@ public class VideoWebPage : PanelBase
//var _url = ApiManager.Instance.ApiDic["VideoWebUrl"].Replace("IP", CallForTest.instance.ServerIP) +"?id=" + _T_BAS_CAMERA.CameraID + "&CobCustomId=" + _T_BAS_CAMERA.CUSTOMS_CODE + "&EnterpriseCode=" + _T_BAS_CAMERA.MONITOR_ID; //var _url = ApiManager.Instance.ApiDic["VideoWebUrl"].Replace("IP", CallForTest.instance.ServerIP) +"?id=" + _T_BAS_CAMERA.CameraID + "&CobCustomId=" + _T_BAS_CAMERA.CUSTOMS_CODE + "&EnterpriseCode=" + _T_BAS_CAMERA.MONITOR_ID;
//var _url = ApiManager.Instance.ApiDic["VideoWebUrl"].Replace("IP", "456ao87726.goho.co:13650") + "?id=" + _T_BAS_CAMERA.CameraID + "&CobCustomId=" + _T_BAS_CAMERA.CUSTOMS_CODE + "&EnterpriseCode=" + _T_BAS_CAMERA.MONITOR_ID; //var _url = ApiManager.Instance.ApiDic["VideoWebUrl"].Replace("IP", "456ao87726.goho.co:13650") + "?id=" + _T_BAS_CAMERA.CameraID + "&CobCustomId=" + _T_BAS_CAMERA.CUSTOMS_CODE + "&EnterpriseCode=" + _T_BAS_CAMERA.MONITOR_ID;
//var _url = ApiManager.Instance.ApiDic["VideoWebUrl"] + "?id=" + _T_BAS_CAMERA.CameraID + "&CobCustomId=" + _T_BAS_CAMERA.CUSTOMS_CODE + "&EnterpriseCode=" + _T_BAS_CAMERA.MONITOR_ID; //var _url = ApiManager.Instance.ApiDic["VideoWebUrl"] + "?id=" + _T_BAS_CAMERA.CameraID + "&CobCustomId=" + _T_BAS_CAMERA.CUSTOMS_CODE + "&EnterpriseCode=" + _T_BAS_CAMERA.MONITOR_ID;
var _url = ApiManager.Instance.ApiDic["VideoWebUrl"] + "?CameraUuid=" + _T_BAS_CAMERA.MEMO; //var _url = ApiManager.Instance.ApiDic["VideoWebUrl"] + "?CameraUuid=" + _T_BAS_CAMERA.MEMO;
WebPage.Url = _url; //WebPage.Url = _url;
//WebPage.Url = "www.baidu.com"; //WebPage.Url = "www.baidu.com";
WebPage.Url = ApiManager.Instance.ApiDic["VideoWebUrl"] + "?src=http://playertest.longtailvideo.com/adaptive/bipbop/gear4/prog_index.m3u8";
} }
} }