mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 12:38:09 +00:00
Added function to request other side to send a VFU.
This commit is contained in:
parent
ce41b98698
commit
cab33bd6ba
4 changed files with 7 additions and 6 deletions
|
|
@ -94,6 +94,7 @@ static int lpc_cmd_camera(LinphoneCore *lc, char *args);
|
|||
static int lpc_cmd_video_window(LinphoneCore *lc, char *args);
|
||||
static int lpc_cmd_preview_window(LinphoneCore *lc, char *args);
|
||||
static int lpc_cmd_snapshot(LinphoneCore *lc, char *args);
|
||||
static int lpc_cmd_vfureq(LinphoneCore *lc, char *arg);
|
||||
#endif
|
||||
static int lpc_cmd_states(LinphoneCore *lc, char *args);
|
||||
static int lpc_cmd_identify(LinphoneCore *lc, char *args);
|
||||
|
|
@ -2440,7 +2441,7 @@ static int lpc_cmd_snapshot(LinphoneCore *lc, char *args){
|
|||
return 1;
|
||||
}
|
||||
|
||||
static int lpc_cmd_vfureq(LinphoneCore *lc){
|
||||
static int lpc_cmd_vfureq(LinphoneCore *lc, char *arg){
|
||||
LinphoneCall *call;
|
||||
call=linphone_core_get_current_call(lc);
|
||||
if (call!=NULL){
|
||||
|
|
|
|||
|
|
@ -973,11 +973,12 @@ void linphone_call_stop_media_streams(LinphoneCall *call){
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef VIDEO_ENABLED
|
||||
/**
|
||||
* Request remote side to send us VFU.
|
||||
**/
|
||||
void linphone_call_send_vfu_request(LinphoneCall *call)
|
||||
{
|
||||
LinphoneCall *call=linphone_core_get_current_call(lc);
|
||||
sal_call_send_vfu_request(call->op);
|
||||
sal_call_send_vfu_request(call->op);
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -929,6 +929,6 @@ LinphoneGlobalState linphone_core_get_global_state(const LinphoneCore *lc);
|
|||
}
|
||||
#endif
|
||||
|
||||
|
||||
void linphone_call_send_vfu_request(LinphoneCall *call);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -1238,7 +1238,7 @@ static bool_t call_failure(Sal *sal, eXosip_event_t *ev){
|
|||
}
|
||||
|
||||
/* Request remote side to send us VFU */
|
||||
static void sal_call_send_vfu_request(SalOp *h){
|
||||
void sal_call_send_vfu_request(SalOp *h){
|
||||
osip_message_t *msg=NULL;
|
||||
char info_body[] =
|
||||
"<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n"
|
||||
|
|
@ -1262,7 +1262,6 @@ static void sal_call_send_vfu_request(SalOp *h){
|
|||
eXosip_call_send_request(h->did,msg);
|
||||
}
|
||||
eXosip_unlock();
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void process_media_control_xml(Sal *sal, eXosip_event_t *ev){
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue