]> sjero.net Git - linphone/blobdiff - coreapi/linphonecall.c
Added function to request other side to send a VFU.
[linphone] / coreapi / linphonecall.c
index 393305f5439afb72e35dcc18af8b232480c47fea..db5c45096f3116ad895e0810cdf62a96d68755f8 100644 (file)
@@ -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