From e1a8f2f7e4d850beedeb1469610b878c1427e976 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期三, 15 十二月 2021 09:01:53 +0800 Subject: [PATCH] 更新 --- HDL-ON_Android/LeChengVideoActivity.cs | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/HDL-ON_Android/LeChengVideoActivity.cs b/HDL-ON_Android/LeChengVideoActivity.cs index 2d2a0cc..1d26881 100644 --- a/HDL-ON_Android/LeChengVideoActivity.cs +++ b/HDL-ON_Android/LeChengVideoActivity.cs @@ -31,7 +31,9 @@ { private static LeChengVideoActivity CurtActivity; // - private string URL = "openapi.easy4ip.com:443"; + private string URL = "openapi.easy4ip.com:443"; //娴峰锛堟寮忥級 + private static string URL_LC_CHINA = "openapi.lechange.cn:443"; //涓浗澶ч檰(姝e紡) + private static string URL_LC_Overseas = "openapi.easy4ip.com:443"; //涓浗澶ч檰(姝e紡) public string AccessToken = ""; public string DeviceId = ""; public string Psk = ""; @@ -112,8 +114,7 @@ mPlayWindow = new LCOpenSDK_PlayWindow(); mPlayWindow.InitPlayWindow(this, flWindowContent, 0, true); - if (Location == 1) - URL = "openapi.easy4ip.com:443"; + } /// <summary> @@ -121,6 +122,14 @@ /// </summary> private void InitLCSDK() { + + if (Location == 1) + { + URL = URL_LC_Overseas; + }else { + URL = URL_LC_CHINA; + } + InitParams initParams = new InitParams(this, URL, AccessToken); LCOpenSDK_Api.InitOpenApi(initParams); } -- Gitblit v1.8.0