From bd667fb41c33b79f3a64414465adfbad8ce44645 Mon Sep 17 00:00:00 2001 From: Jehan Monnier Date: Fri, 22 Jan 2016 11:18:42 +0100 Subject: [PATCH] fix compilation issue --- coreapi/linphonecall.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/coreapi/linphonecall.c b/coreapi/linphonecall.c index 100119757..5dfa84a9e 100644 --- a/coreapi/linphonecall.c +++ b/coreapi/linphonecall.c @@ -185,9 +185,11 @@ static void propagate_encryption_changed(LinphoneCall *call){ } ms_message("All streams are encrypted key exchanged using %s", call->current_params->media_encryption==LinphoneMediaEncryptionZRTP?"ZRTP":call->current_params->media_encryption==LinphoneMediaEncryptionDTLS?"DTLS":"Unknown mechanism"); linphone_core_notify_call_encryption_changed(call->core, call, TRUE, call->auth_token); +#ifdef VIDEO_ENABLED if (call->current_params->encryption_mandatory && call->videostream && media_stream_started((MediaStream *)call->videostream)) { video_stream_send_vfu(call->videostream); /*nothing could have been sent yet so generating key frame*/ } +#endif } }