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/api/c-callbacks.h |   56 ++++----------------------------------------------------
 1 files changed, 4 insertions(+), 52 deletions(-)

diff --git a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/api/c-callbacks.h b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/api/c-callbacks.h
old mode 100755
new mode 100644
index 7b32a06..bca0e82
--- a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/api/c-callbacks.h
+++ b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/api/c-callbacks.h
@@ -102,24 +102,11 @@
  */
 typedef void (*LinphoneCallCbsSnapshotTakenCb)(LinphoneCall *call, const char *filepath);
 
-/**
+ /**
  * Callback to notify a next video frame has been decoded
  * @param call LinphoneCall for which the next video frame has been decoded
  */
 typedef void (*LinphoneCallCbsNextVideoFrameDecodedCb)(LinphoneCall *call);
-
-/**
- * Callback to notify that the camera is not working and has been changed to "No Webcam".
- *
- * A camera is detected as mis-functionning as soon as it outputs no frames at all during
- * a period of 5 seconds.
- * This check is only performed on desktop platforms, in the purpose of notifying camera
- * failures, for example if when a usb cable gets disconnected.
- *
- * @param call LinphoneCall for which the next video frame has been decoded
- * @param camera_name the name of the non-working camera
- */
-typedef void (*LinphoneCallCbsCameraNotWorkingCb)(LinphoneCall *call, const char *camera_name);
 
 /**
  * @}
@@ -161,7 +148,7 @@
  * @param content #LinphoneContent incoming content information
  * @param buffer #LinphoneBuffer holding the received data. Empty buffer means end of file.
  */
-typedef void (*LinphoneChatMessageCbsFileTransferRecvCb)(LinphoneChatMessage *msg, LinphoneContent* content, const LinphoneBuffer *buffer);
+typedef void (*LinphoneChatMessageCbsFileTransferRecvCb)(LinphoneChatMessage *msg, const LinphoneContent* content, const LinphoneBuffer *buffer);
 
 /**
  * File transfer send callback prototype. This function is called by the core when an outgoing file transfer is started. This function is called until size is set to 0.
@@ -171,7 +158,7 @@
  * @param size the number of bytes expected by the framework
  * @return A #LinphoneBuffer object holding the data written by the application. An empty buffer means end of file.
  */
-typedef LinphoneBuffer * (*LinphoneChatMessageCbsFileTransferSendCb)(LinphoneChatMessage *msg, LinphoneContent* content, size_t offset, size_t size);
+typedef LinphoneBuffer * (*LinphoneChatMessageCbsFileTransferSendCb)(LinphoneChatMessage *msg,  const LinphoneContent* content, size_t offset, size_t size);
 
 /**
  * File transfer progress indication callback prototype.
@@ -180,20 +167,7 @@
  * @param offset The number of bytes sent/received since the beginning of the transfer.
  * @param total The total number of bytes to be sent/received.
  */
-typedef void (*LinphoneChatMessageCbsFileTransferProgressIndicationCb)(LinphoneChatMessage *msg, LinphoneContent* content, size_t offset, size_t total);
-
-/**
- * Callback used to notify an ephemeral message that its lifespan before disappearing has started to decrease.
- * This callback is called when the ephemeral message is read by the receiver.
- * @param msg #LinphoneChatMessage object
- */
-typedef void (*LinphoneChatMessageCbsEphemeralMessageTimerStartedCb)(LinphoneChatMessage* msg);
-
-/**
- * Call back used to notify ephemeral message is deleted.
- * @param msg #LinphoneChatMessage object
- */
-typedef void (*LinphoneChatMessageCbsEphemeralMessageDeletedCb)(LinphoneChatMessage* msg);
+typedef void (*LinphoneChatMessageCbsFileTransferProgressIndicationCb)(LinphoneChatMessage *msg, const LinphoneContent* content, size_t offset, size_t total);
 
 /**
  * Is composing notification callback prototype.
@@ -300,28 +274,6 @@
  * @param[in] event_log #LinphoneEventLog The event to be notified
  */
 typedef void (*LinphoneChatRoomCbsConferenceLeftCb) (LinphoneChatRoom *cr, const LinphoneEventLog *eventLog);
-
-/**
- * Callback used to notify a chat room that an ephemeral related event has been generated.
- * @param[in] cr #LinphoneChatRoom object
- * @param[in] event_log #LinphoneEventLog The event to be notified
- */
-typedef void (*LinphoneChatRoomCbsEphemeralEventCb) (LinphoneChatRoom *cr, const LinphoneEventLog *eventLog);
-
-/**
- * Callback used to notify a chat room that the lifespan of an ephemeral message before disappearing has started to decrease.
- * This callback is called when the ephemeral message is read by the receiver.
- * @param[in] cr #LinphoneChatRoom object
- * @param[in] event_log #LinphoneEventLog The event to be notified
- */
-typedef void (*LinphoneChatRoomCbsEphemeralMessageTimerStartedCb) (LinphoneChatRoom *cr, const LinphoneEventLog *eventLog);
-
-/**
- * Callback used to notify a chat room that an ephemeral message has been deleted.
- * @param[in] cr #LinphoneChatRoom object
- * @param[in] event_log #LinphoneEventLog The event to be notified
- */
-typedef void (*LinphoneChatRoomCbsEphemeralMessageDeletedCb) (LinphoneChatRoom *cr, const LinphoneEventLog *eventLog);
 
 /**
  * Callback used when a group chat room is created server-side to generate the address of the chat room.

--
Gitblit v1.8.0