CgwMonitorManage.Common.SdkRtpInterface.ESDK_RTP_UnInit C# (CSharp) Méthode

ESDK_RTP_UnInit() private méthode

private ESDK_RTP_UnInit ( ) : int
Résultat int
        public static extern int ESDK_RTP_UnInit();

Usage Example

Exemple #1
0
        /// <summary>
        /// 卸载rtp模块
        /// </summary>
        public int ESDK_RTP_UnInit()
        {
            NLogEx.LoggerEx logEx = new NLogEx.LoggerEx(log);
            logEx.Trace("Enter: RtpAdapter.ESDK_RTP_UnInit().");

            try
            {
                int iRet = SdkRtpInterface.ESDK_RTP_UnInit();

                if (iRet != 0)
                {
                    logEx.Error("RtpAdapter.ESDK_RTP_UnInit ,error:{0}", iRet);
                }
                return(iRet);
            }
            catch (System.Exception ex)
            {
                logEx.Error("RtpAdapter.ESDK_RTP_UnInit ,Exception:{0}", ex.ToString());
            }
            return(-1);
        }