old mode 100755
new mode 100644
| | |
| | | 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); |
| | | |
| | | /** |
| | | * @} |
| | | **/ |
| | | |
| | |
| | | * @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. |
| | |
| | | * @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. |
| | |
| | | * @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. |
| | |
| | | * @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. |