/// <summary> /// 萤石云_SDK释放 /// </summary> public static void Ezviz_SDKRelease_Old() { SDKEventCallBack(Enum_VideoType.Ezviz, Enum_SDKStateEventType.SDKReleaseStart); SDK_EzvizSDK_Old.OpenSDK_FiniLib(); SDKState.EzvizSDKState = Enum_SDKState.SDK_Release; SDKEventCallBack(Enum_VideoType.Ezviz, Enum_SDKStateEventType.SDKReleaseEnd); }
/// <summary> /// 萤石云_初始化SDK /// </summary> public static void Ezviz_SDKInit_Old() { if (EzvizSDKState != Enum_SDKState.SDK_Init) { if (SDK_EzvizSDK_Old.OpenSDK_InitLib(ProgParameter.strEzviz__AuthAddr, ProgParameter.strEzviz__PlatForm, ProgParameter.strEzviz__AppID) == 0) { EzvizSDKState = Enum_SDKState.SDK_Init; } else { EzvizSDKState = Enum_SDKState.SDK_InitFail; } } }