Commit 4abc46f7 authored by Simon Morlat's avatar Simon Morlat
Browse files

fix opus stereo test, opus is really bad with stereo from a signal standpoint.

parent d4c76523
mediastreamer2 @ ec510dc8
Subproject commit f867353887f9091d6b16958c3a859be5523ba9f7
Subproject commit ec510dc8e9f01e717acce3e37538e7a49344a062
......@@ -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*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment