From 4abc46f75315c907a5df0ab25fc33c3fab1480c5 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Fri, 11 Sep 2015 15:00:05 +0200 Subject: [PATCH] fix opus stereo test, opus is really bad with stereo from a signal standpoint. --- mediastreamer2 | 2 +- tester/call_tester.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mediastreamer2 b/mediastreamer2 index f86735388..ec510dc8e 160000 --- a/mediastreamer2 +++ b/mediastreamer2 @@ -1 +1 @@ -Subproject commit f867353887f9091d6b16958c3a859be5523ba9f7 +Subproject commit ec510dc8e9f01e717acce3e37538e7a49344a062 diff --git a/tester/call_tester.c b/tester/call_tester.c index 55169701a..464017e0d 100644 --- a/tester/call_tester.c +++ b/tester/call_tester.c @@ -4319,7 +4319,7 @@ static void simple_stereo_call(const char *codec_name, int clock_rate, int bitra }else{ #if !defined(__arm__) && !defined(__arm64__) && !TARGET_IPHONE_SIMULATOR && !defined(ANDROID) double similar; - double min_threshold = .7f; + double min_threshold = .6f; double max_threshold = 1.f; if (!stereo){ /*when opus doesn't transmit stereo, the cross correlation is around 0.54 : as expected, it is not as good as in full stereo mode*/