From 59860a2ab73dfdfd8c615b3c66e6e7286cb4101f Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Thu, 19 Mar 2015 12:08:13 +0100 Subject: [PATCH] Also test that the video stream is started to try early-media forking. --- coreapi/callbacks.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/coreapi/callbacks.c b/coreapi/callbacks.c index df6170c77..25e579495 100644 --- a/coreapi/callbacks.c +++ b/coreapi/callbacks.c @@ -432,7 +432,8 @@ static void call_ringing(SalOp *h){ linphone_call_set_state(call,LinphoneCallOutgoingRinging,"Remote ringing"); }else{ /*accept early media */ - if (call->audiostream && audio_stream_started(call->audiostream)){ + if ((call->audiostream && audio_stream_started(call->audiostream)) + || (call->videostream && video_stream_started(call->videostream))) { /*streams already started */ try_early_media_forking(call,md); #ifdef VIDEO_ENABLED