From be38c75b70f027feefa1ddbe05670aa7b8e25573 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Mon, 25 Oct 2010 11:25:57 +0200 Subject: [PATCH] don't use ec when streaming from file --- coreapi/linphonecall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/linphonecall.c b/coreapi/linphonecall.c index 4ec373fd7..2cd8236f7 100644 --- a/coreapi/linphonecall.c +++ b/coreapi/linphonecall.c @@ -797,7 +797,7 @@ static void _linphone_call_start_media_streams(LinphoneCall *call, bool_t send_e recfile, playcard, captcard, - send_early_media ? FALSE : linphone_core_echo_cancellation_enabled(lc)); + captcard==NULL ? FALSE : linphone_core_echo_cancellation_enabled(lc)); post_configure_audio_streams(call); if (send_early_media) setup_ring_player(lc,call); audio_stream_set_rtcp_information(call->audiostream, cname, tool);