| | |
| | | { |
| | | 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"; //中国大陆(正式) |
| | | private static string URL_LC_Overseas = "openapi.easy4ip.com:443"; //中国大陆(正式) |
| | | public string AccessToken = ""; |
| | | public string DeviceId = ""; |
| | | public string Psk = ""; |
| | |
| | | mPlayWindow = new LCOpenSDK_PlayWindow(); |
| | | mPlayWindow.InitPlayWindow(this, flWindowContent, 0, true); |
| | | |
| | | if (Location == 1) |
| | | URL = "openapi.easy4ip.com:443"; |
| | | |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | /// </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); |
| | | } |