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/linphone.framework/Headers/core.h | 198 ------------------------------------------------ 1 files changed, 3 insertions(+), 195 deletions(-) diff --git a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/core.h b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/core.h old mode 100755 new mode 100644 index 6432ce6..7ffc612 --- a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/core.h +++ b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/core.h @@ -231,8 +231,6 @@ LinphoneCoreCbsEcCalibrationAudioUninitCb ec_calibration_audio_uninit; LinphoneCoreCbsMessageReceivedCb message_sent; LinphoneCoreCbsChatRoomReadCb chat_room_read; - LinphoneCoreCbsChatRoomSubjectChangedCb chat_room_subject_changed; - LinphoneCoreCbsChatRoomEphemeralMessageDeleteCb chat_room_ephemeral_message_deleted; void *user_data; /**<User data associated with the above callbacks */ } LinphoneCoreVTable; @@ -766,34 +764,6 @@ LINPHONE_PUBLIC void linphone_core_cbs_set_chat_room_state_changed (LinphoneCoreCbs *cbs, LinphoneCoreCbsChatRoomStateChangedCb cb); /** - * Get the chat room subject changed callback. - * @param[in] cbs #LinphoneCoreCbs object - * @return The current callback - */ -LINPHONE_PUBLIC LinphoneCoreCbsChatRoomSubjectChangedCb linphone_core_cbs_get_chat_room_subject_changed (LinphoneCoreCbs *cbs); - -/** - * Set the chat room subject changed callback. - * @param[in] cbs #LinphoneCoreCbs object - * @param[in] cb The callback to use - */ -LINPHONE_PUBLIC void linphone_core_cbs_set_chat_room_subject_changed (LinphoneCoreCbs *cbs, LinphoneCoreCbsChatRoomSubjectChangedCb cb); - -/** - * Get the chat room ephemeral message deleted callback. - * @param[in] cbs #LinphoneCoreCbs object - * @return The current callback - */ -LINPHONE_PUBLIC LinphoneCoreCbsChatRoomEphemeralMessageDeleteCb linphone_core_cbs_get_chat_room_ephemeral_message_deleted (LinphoneCoreCbs *cbs); - -/** - * Set the chat room ephemeral message deleted callback. - * @param[in] cbs #LinphoneCoreCbs object - * @param[in] cb The callback to use - */ -LINPHONE_PUBLIC void linphone_core_cbs_set_chat_room_ephemeral_message_deleted (LinphoneCoreCbs *cbs, LinphoneCoreCbsChatRoomEphemeralMessageDeleteCb cb); - -/** * Get the qrcode found callback. * @param[in] cbs LinphoneCoreCbs object * @return The current callback @@ -1081,17 +1051,6 @@ * @param[in] core The #LinphoneCore object to be stopped */ LINPHONE_PUBLIC void linphone_core_stop (LinphoneCore *core); - -/** - * Stop asynchronously a #LinphoneCore object after it has been instantiated and started. - * State changes to Shutdown then linphone_core_iterate() must be called to allow the Core to end asynchronous tasks (terminate call, etc.). - * When all tasks are finished, State will change to Off. - * Must be called only if #LinphoneGlobalState is On. - * When #LinphoneGlobalState is Off #LinphoneCore can be started again using linphone_core_start(). - * @ingroup initializing - * @param[in] core The #LinphoneCore object to be stopped - */ -LINPHONE_PUBLIC void linphone_core_stop_async (LinphoneCore *core); /** * Increment the reference counter of a #LinphoneCore object. @@ -1522,7 +1481,6 @@ * The parameters are initialized according to the current #LinphoneCore configuration and the current state of the LinphoneCall. * @param[in] lc #LinphoneCore object * @param[in] call #LinphoneCall for which the parameters are to be build, or NULL in the case where the parameters are to be used for a new outgoing call. - * @maybenil * @return A new #LinphoneCallParams object * @ingroup call_control */ @@ -1533,7 +1491,6 @@ * @param[in] lc #LinphoneCore object * @param[in] remote_address The remote address of the call that we want to get * @return The call if it has been found, NULL otherwise - * @maybenil * @ingroup call_control */ LINPHONE_PUBLIC LinphoneCall *linphone_core_get_call_by_remote_address(const LinphoneCore *lc, const char *remote_address); @@ -4256,74 +4213,6 @@ LINPHONE_PUBLIC void linphone_core_set_mtu(LinphoneCore *lc, int mtu); /** - * Enable or disable the UPDATE method support - * @param[in] lc #LinphoneCore object - * @param[in] value Enable or disable it - * @ingroup media_parameters -**/ -LINPHONE_PUBLIC void linphone_core_set_enable_sip_update(const LinphoneCore *lc, int value); - -/** - * Enable the Session Timers support - * @param[in] lc #LinphoneCore object - * @param[in] enabled Enable or disable it - * @ingroup media_parameters -**/ -LINPHONE_PUBLIC void linphone_core_set_session_expires_enabled(const LinphoneCore *lc, bool_t enabled); - -/** - * Check if the Session Timers feature is enabled - * @param[in] lc #LinphoneCore object - * @ingroup media_parameters -**/ -LINPHONE_PUBLIC bool_t linphone_core_get_session_expires_enabled(const LinphoneCore *lc); - -/** - * Sets the session expires value, 0 by default - * @param[in] lc #LinphoneCore object - * @param[in] expire The session expires value - * @ingroup media_parameters -**/ -LINPHONE_PUBLIC void linphone_core_set_session_expires_value(const LinphoneCore *lc, int expires); - -/** - * Returns the session expires value - * @param[in] lc #LinphoneCore object - * @ingroup media_parameters -**/ -LINPHONE_PUBLIC int linphone_core_get_session_expires_value(const LinphoneCore *lc); - -/** - * Sets the session expires refresher value - * @param[in] lc #LinphoneCore object - * @param[in] refresher The refresher configuration value - * @ingroup media_parameters -**/ -LINPHONE_PUBLIC void linphone_core_set_session_expires_refresher_value(const LinphoneCore *lc, LinphoneSessionExpiresRefresher refresher); - -/** - * Returns the session expires refresher value - * @param[in] lc #LinphoneCore object - * @ingroup media_parameters -**/ -LINPHONE_PUBLIC LinphoneSessionExpiresRefresher linphone_core_get_session_expires_refresher_value(const LinphoneCore *lc); - -/** - * Sets the session expires minSE value, forced to a minimum of 90 by default - * @param[in] lc #LinphoneCore object - * @param[in] expire The minSE value - * @ingroup media_parameters -**/ -LINPHONE_PUBLIC void linphone_core_set_session_expires_min_value(const LinphoneCore *lc, int min); - -/** - * Returns the session expires min value, 90 by default - * @param[in] lc #LinphoneCore object - * @ingroup media_parameters -**/ -LINPHONE_PUBLIC int linphone_core_get_session_expires_min_value(const LinphoneCore *lc); - -/** * This method is called by the application to notify the linphone core library when network is reachable. * Calling this method with true trigger linphone to initiate a registration process for all proxies. * Calling this method disables the automatic network detection mode. It means you must call this method after each network state changes. @@ -4558,7 +4447,7 @@ /** * Get the path to the directory storing the user's certificates. * @param[in] lc #LinphoneCore object. - * @return The path to the directory storing the user's certificates. + * @returns The path to the directory storing the user's certificates. * @ingroup initializing */ LINPHONE_PUBLIC const char *linphone_core_get_user_certificates_path(LinphoneCore *lc); @@ -4793,7 +4682,7 @@ LINPHONE_PUBLIC bool_t linphone_core_is_media_encryption_mandatory(LinphoneCore *lc); /** - * Define whether the configured media encryption is mandatory, if it is and the negotation cannot result + * Define whether the configured media encryption is mandatory, if it is and the negotation cannot result * in the desired media encryption then the call will fail. If not an INVITE will be resent with encryption * disabled. * @param[in] lc #LinphoneCore object. @@ -4817,7 +4706,7 @@ * get tunnel instance if available * @ingroup tunnel * @param lc core object - * @return #LinphoneTunnel or NULL if not available + * @returns #LinphoneTunnel or NULL if not available */ LINPHONE_PUBLIC LinphoneTunnel *linphone_core_get_tunnel(const LinphoneCore *lc); @@ -5048,14 +4937,6 @@ LINPHONE_PUBLIC bool_t linphone_core_file_format_supported(LinphoneCore *lc, const char *fmt); /** - * Set the supported tags - * @param[in] core #LinphoneCore object - * @param[in] tag The feature tags to set - * @ingroup initializing -**/ -LINPHONE_PUBLIC void linphone_core_set_supported_tag(LinphoneCore *core, const char *tags); - -/** * This function controls signaling features supported by the core. * They are typically included in a SIP Supported header. * @param[in] core #LinphoneCore object @@ -5214,27 +5095,6 @@ LINPHONE_PUBLIC bool_t linphone_core_video_multicast_enabled(const LinphoneCore *core); /** - * Returns whether RTP bundle mode (also known as Media Multiplexing) is enabled. - * See https://tools.ietf.org/html/draft-ietf-mmusic-sdp-bundle-negotiation-54 for more information. - * @param[in] lc the #LinphoneCore - * @return a boolean indicating the enablement of rtp bundle mode. - * @ingroup media_parameters - */ -LINPHONE_PUBLIC bool_t linphone_core_rtp_bundle_enabled(const LinphoneCore *lc); - -/** - * Enables or disables RTP bundle mode (Media Multiplexing). - * See https://tools.ietf.org/html/draft-ietf-mmusic-sdp-bundle-negotiation-54 for more information about the feature. - * When enabled, liblinphone will try to negociate the use of a single port for all streams when doing an outgoing call. - * It automatically enables rtcp-mux. - * This feature can also be enabled per-call using #LinphoneCallParams. - * @param[in] lc the #LinphoneCore - * @param[in] value a boolean to indicate whether the feature is to be enabled. - * @ingroup media_parameters - */ -LINPHONE_PUBLIC void linphone_core_enable_rtp_bundle(LinphoneCore *lc, bool_t value); - -/** * @brief Set the network simulator parameters. * * Liblinphone has the capabability of simulating the effects of a network (latency, lost packets, jitter, max bandwidth). @@ -5284,22 +5144,6 @@ LINPHONE_PUBLIC bool_t linphone_core_realtime_text_enabled(LinphoneCore *lc); LINPHONE_PUBLIC void linphone_core_enable_realtime_text(LinphoneCore *lc, bool_t value); - -/** - * Gets keep alive interval of real time text. - * @param[in] lc #LinphoneCore object - * @return keep alive interval of real time text. - * @ingroup media_parameters - */ -LINPHONE_PUBLIC unsigned int linphone_core_realtime_text_get_keepalive_interval(const LinphoneCore *lc); - -/** - * Set keep alive interval for real time text. - * @param[in] lc #LinphoneCore object - * @param[in] interval The keep alive interval of real time text, 25000 by default. - * @ingroup network_parameters - */ -LINPHONE_PUBLIC void linphone_core_realtime_text_set_keepalive_interval(LinphoneCore *lc, unsigned int interval); /** * Set http proxy address to be used for signaling during next channel connection. Use #linphone_core_set_network_reachable FASLE/TRUE to force channel restart. @@ -5729,7 +5573,6 @@ * @param event the event name * @param expires the whished duration of the subscription * @param body an optional body, may be NULL. - * @maybenil * @return a #LinphoneEvent holding the context of the created subcription. **/ LINPHONE_PUBLIC LinphoneEvent *linphone_core_subscribe(LinphoneCore *lc, const LinphoneAddress *resource, const char *event, int expires, const LinphoneContent *body); @@ -6144,20 +5987,6 @@ LINPHONE_PUBLIC int linphone_core_get_max_size_for_auto_download_incoming_files(LinphoneCore *lc); /** - * Returns whether or not sender name is hidden in forward message. - * @param[in] lc The #LinphoneCore - * @return whether or not the feature -**/ -LINPHONE_PUBLIC bool_t linphone_core_is_sender_name_hidden_in_forward_message(LinphoneCore *lc); - -/** - * Enable whether or not to hide sender name in forward message - * @param[in] lc The #LinphoneCore - * @param[in] enable whether or not to enable the feature -**/ -LINPHONE_PUBLIC void linphone_core_enable_sender_name_hidden_in_forward_message(LinphoneCore *lc, bool_t enable); - -/** * @} */ @@ -6215,27 +6044,6 @@ **/ LINPHONE_PUBLIC void linphone_core_ensure_registered(LinphoneCore *lc); -/** - * Get the chat message with the call_id included in the push notification body - * This will start the core given in parameter, iterate until the message is received and return it. - * By default, after 25 seconds the function returns because iOS kills the app extension after 30 seconds. - * @param[in] lc The #LinphoneCore - * @param[in] call_id The callId of the Message SIP transaction - * @return The #LinphoneChatMessage object. - * @ingroup misc -**/ -LINPHONE_PUBLIC LinphonePushNotificationMessage * linphone_core_get_new_message_from_callid(LinphoneCore *lc, const char *call_id); - -/** - * Get the chat room we have been added into using the chat_room_addr included in the push notification body - * This will start the core given in parameter, iterate until the new chat room is received and return it. - * By default, after 25 seconds the function returns because iOS kills the app extension after 30 seconds. - * @param[in] lc The #LinphoneCore - * @param[in] chat_room_addr The sip address of the chat room - * @return The #LinphoneChatRoom object. - * @ingroup misc -**/ -LINPHONE_PUBLIC LinphoneChatRoom * linphone_core_get_new_chat_room_from_conf_addr(LinphoneCore *lc, const char *chat_room_addr); #ifdef __cplusplus } -- Gitblit v1.8.0