From 76e6d851ef5a8d3a2a9a1f2a3f90b74dd31eae86 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期三, 14 六月 2023 20:32:35 +0800 Subject: [PATCH] 渐变时间修复发送 --- HDL_ON/DAL/ThirdPartySdk/HDLLinphone.cs | 16 +++++++++++----- 1 files changed, 11 insertions(+), 5 deletions(-) diff --git a/HDL_ON/DAL/ThirdPartySdk/HDLLinphone.cs b/HDL_ON/DAL/ThirdPartySdk/HDLLinphone.cs index 52f4a76..73c7e55 100644 --- a/HDL_ON/DAL/ThirdPartySdk/HDLLinphone.cs +++ b/HDL_ON/DAL/ThirdPartySdk/HDLLinphone.cs @@ -134,7 +134,7 @@ mHDLSipInfo.sipAccount, mHDLSipInfo.sipPasswd, "139.159.157.75:47000",//mHDLSipInfo.realm, - "sip:139.159.157.75:47000;transport=udp", + //"sip:139.159.157.75:47000;transport=udp", HDLLinphoneKit.InterPhoneTypeFreeview ); } @@ -144,7 +144,8 @@ mHDLSipInfo.sipAccount, mHDLSipInfo.sipPasswd, mHDLSipInfo.realm, - "sip:139.159.157.75:47000;transport=udp", + //mHDLSipInfo.proxy+ ";transport=udp", + //"sip:139.159.157.75:47000;transport=udp", HDLLinphoneKit.InterPhoneTypeHdl ); } @@ -164,7 +165,14 @@ Shared.IOS.HDLLinphoneSDK.HDLLinPhoneSDK.Instance().LogoutAllLinphoneUser(); #else - HDLLinphoneKit.Instance.Logout(); + if (HDLLinphoneKit.Instance != null) + { + HDLLinphoneKit.Instance.Logout(); + } + else + { + + } #endif } @@ -828,8 +836,6 @@ { Utlis.WriteLine("OnIncomingCall :" + userName); } - - } -- Gitblit v1.8.0