From 7960485054f37eb60d63a98231686cef41302a8b Mon Sep 17 00:00:00 2001 From: chenqiyang <1406175257@qq.com> Date: 星期三, 11 五月 2022 09:13:56 +0800 Subject: [PATCH] 修改部分方法 --- HDLLinPhoneSDK(OC)/HDLLinPhoneSDK/HDLLinphoneProviderDelegate.h | 17 +++++++++-------- 1 files changed, 9 insertions(+), 8 deletions(-) diff --git "a/HDLLinPhoneSDK\357\274\210OC\357\274\211/HDLLinPhoneSDK/HDLLinphoneProviderDelegate.h" "b/HDLLinPhoneSDK\357\274\210OC\357\274\211/HDLLinPhoneSDK/HDLLinphoneProviderDelegate.h" index 43c3137..ab69322 100644 --- "a/HDLLinPhoneSDK\357\274\210OC\357\274\211/HDLLinPhoneSDK/HDLLinphoneProviderDelegate.h" +++ "b/HDLLinPhoneSDK\357\274\210OC\357\274\211/HDLLinPhoneSDK/HDLLinphoneProviderDelegate.h" @@ -16,23 +16,24 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ - -#import <CallKit/CallKit.h> +#import <Foundation/Foundation.h> +//#import <CallKit/CallKit.h> +#import <AVFoundation/AVAudioSession.h> #include <linphone/core.h> #ifndef ProviderDelegate_h #define ProviderDelegate_h -@interface HDLLinphoneProviderDelegate : NSObject <CXProviderDelegate, CXCallObserverDelegate> - -@property CXProvider *provider; -@property CXCallObserver *observer; -@property CXCallController *controller; +@interface HDLLinphoneProviderDelegate : NSObject +// <CXProviderDelegate, CXCallObserverDelegate> +//@property CXProvider *provider; +//@property CXCallObserver *observer; +//@property CXCallController *controller; @property NSMutableDictionary *calls; @property NSMutableDictionary *uuids; @property(nonatomic) LinphoneCall *pendingCall; @property LinphoneAddress *pendingAddr; @property BOOL pendingCallVideo; -@property int callKitCalls; +@property int callKCalls; - (void)reportIncomingCall:(LinphoneCall *) call withUUID:(NSUUID *)uuid handle:(NSString *)handle video:(BOOL)video; - (void)config; -- Gitblit v1.8.0