[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] Is there any references papers on quality indicato

From: Fu Jiantao
Subject: [Linphone-developers] Is there any references papers on quality indicator
Date: Fri, 23 Sep 2011 16:53:36 +0800

Hi all,

   I'm using mediastreamer now, it's easy to use, even compiling it was painful in windows. When testing with mediastreamer.exe, I've seen it will print audio quality when processing rtcp, I've seen there's a file named qualityindicator which does the work, but I'm wondering where the formulas comes from.

#define WORSE_JITTER 0.2
#define WORSE_RT_PROP 5.0

static float inter_jitter_rating(float inter_jitter){
float tmp=inter_jitter/WORSE_JITTER;
if (tmp>1) tmp=1;
return 1.0-(0.3*tmp);

static float rt_prop_rating(float rt_prop){
float tmp=rt_prop/WORSE_RT_PROP;
if (tmp>1) tmp=1;
return 1.0-(0.7*tmp);

static float loss_rating(float loss){
/* the exp function allows to have a rating that decrease rapidly at the begining.
Indeed even with 10% loss, the quality is significantly affected. It is not good at all.
With this formula:
5% losses gives a rating of 4/5
20% losses gives a rating of 2.2/5
80% losses gives a rating of 0.2
return expf(-loss*4.0);

static float compute_rating(float loss_rate, float inter_jitter, float late_rate, float rt_prop){
return loss_rating(loss_rate)*inter_jitter_rating(inter_jitter)*loss_rating(late_rate)*rt_prop_rating(rt_prop);


reply via email to

[Prev in Thread] Current Thread [Next in Thread]