summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2016-03-21 22:13:04 +0100
committerAlfred E. Heggestad <aeh@db.org>2016-03-21 22:13:04 +0100
commit5860fdb9a9b26e37852520d4598749f65f893bb5 (patch)
tree2fbc7a6ec5ccde2d49c3ea79106880126a1de7ed /include
parentffe31320d624f61afc536570853538c9df227254 (diff)
mos: add pseudo Mean Opinion Score routine
thanks to Lorenzo Mangani for the original patch
Diffstat (limited to 'include')
-rw-r--r--include/baresip.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/baresip.h b/include/baresip.h
index 43c929c..2d7b6c7 100644
--- a/include/baresip.h
+++ b/include/baresip.h
@@ -1031,6 +1031,14 @@ static inline bool h264_is_keyframe(int type)
int module_preload(const char *module);
+/*
+ * MOS (Mean Opinion Score)
+ */
+
+double mos_calculate(double *r_factor, double rtt,
+ double jitter, u_int32_t num_packets_lost);
+
+
#ifdef __cplusplus
}
#endif