From 8fb1bc18bad99b2de79783848b41d07da01315a7 Mon Sep 17 00:00:00 2001
From: chenqiyang <1406175257@qq.com>
Date: 星期三, 01 九月 2021 17:04:05 +0800
Subject: [PATCH] 采用纯oc sdk解决版本适配问题;解决呼叫不能截屏问题
---
Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/mediastreamer2.framework/Headers/mssndcard.h | 27 +--------------------------
1 files changed, 1 insertions(+), 26 deletions(-)
diff --git a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/mediastreamer2.framework/Headers/mssndcard.h b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/mediastreamer2.framework/Headers/mssndcard.h
index ff2df45..1942da9 100755
--- a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/mediastreamer2.framework/Headers/mssndcard.h
+++ b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/mediastreamer2.framework/Headers/mssndcard.h
@@ -98,8 +98,6 @@
typedef struct _MSSndCard * (*MSSndCardDuplicateFunc)(struct _MSSndCard *obj);
typedef void (*MSSndCardSetUsageHintFunc)(struct _MSSndCard *obj, bool_t is_going_to_be_used);
typedef void (*MSSndCardUnloadFunc)(MSSndCardManager *obj);
-typedef void (*MSSndCardAudioSessionFunc)(struct _MSSndCard *obj, bool_t actived);
-typedef void (*MSSndCardCallKitFunc)(struct _MSSndCard *obj, bool_t enabled);
struct _MSSndCardDesc{
@@ -117,8 +115,6 @@
MSSndCardDuplicateFunc duplicate;
MSSndCardUnloadFunc unload;
MSSndCardSetUsageHintFunc usage_hint;
- MSSndCardAudioSessionFunc audio_session_activated;
- MSSndCardCallKitFunc callkit_enabled;
};
/**
@@ -136,8 +132,7 @@
enum _MSSndCardStreamType{
MS_SND_CARD_STREAM_VOICE,
MS_SND_CARD_STREAM_RING,
- MS_SND_CARD_STREAM_MEDIA,
- MS_SND_CARD_STREAM_DTMF,
+ MS_SND_CARD_STREAM_MEDIA
};
/**
@@ -546,26 +541,6 @@
* This is recommended for cards which are known to be slow (see flag MS_SND_CARD_CAP_IS_SLOW ).
**/
MS2_PUBLIC void ms_snd_card_set_usage_hint(MSSndCard *obj, bool_t is_going_to_be_used);
-
-/**
- * Used by application to notify whether audio access is allowed for the process.
- * On most platform this function is useless, but in an iOS application using Callkit, the system decides when audio (through the AVAudioSession singleton) is open or closed.
- * Such application needs to explicitely notify mediastreamer2 with ms_snd_card_notify_audio_session_activated() about the state of the audio session.
- *
- * @param obj A sound card object.
- * @param actived TRUE if audio session is activated, FALSE otherwise.
- */
-MS2_PUBLIC void ms_snd_card_notify_audio_session_activated(MSSndCard *obj, bool_t activated);
-
-/**
- * Used by application to tell the MSSndCard if rely on notifications of activation of audio session.
- * When yesno is set to FALSE, the MSSndCard will not rely on notifications of activation of audio session, and will assume that audio is always usable.
- * If set to TRUE, the mediastreamer2 will require explicit calls to ms_snd_card_notify_audio_session_activated().
- *
- * @param obj A sound card object.
- * @param yesno TRUE if app notifies is activated, FALSE otherwise. The default value is FALSE.
- */
-MS2_PUBLIC void ms_snd_card_app_notifies_activation(MSSndCard *obj, bool_t yesno);
/**
* Sets the stream type for this soundcard, default is VOICE
--
Gitblit v1.8.0