From 4eb6a0308acb7decc223e694a067dca9250ffbeb Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Thu, 26 Nov 2015 23:08:02 +0100 Subject: [PATCH] fix crash --- coreapi/linphonecall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/linphonecall.c b/coreapi/linphonecall.c index fa024a590..76621ab7c 100644 --- a/coreapi/linphonecall.c +++ b/coreapi/linphonecall.c @@ -3434,7 +3434,7 @@ void linphone_call_start_media_streams(LinphoneCall *call, LinphoneCallState nex linphone_call_start_video_stream(call, next_state); } /*the onhold file is to be played once both audio and video are ready.*/ - if (call->onhold_file && call->audiostream){ + if (call->onhold_file && !call->params->in_conference && call->audiostream){ MSFilter *player = audio_stream_open_remote_play(call->audiostream, call->onhold_file); if (player){ ms_filter_call_method_noarg(player, MS_PLAYER_START);