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);
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){
}
}
+#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
}
/* 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"
eXosip_call_send_request(h->did,msg);
}
eXosip_unlock();
- return 0;
}
static void process_media_control_xml(Sal *sal, eXosip_event_t *ev){