diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-06-19 14:49:14 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-06-19 14:49:14 +0000 |
commit | c737c25054a22df28cdfbc3ec470e0877da6cb0b (patch) | |
tree | a4f266a8f2f7ef2d1aeab27b31caf87185234eb7 /pjsip/include | |
parent | e301abfa0b1b8fcc1a54af18b602e293227693e3 (diff) |
Re-live --quality options in pjsua
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@528 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include')
-rw-r--r-- | pjsip/include/pjsua-lib/pjsua.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h index 90ba0f42..466c3196 100644 --- a/pjsip/include/pjsua-lib/pjsua.h +++ b/pjsip/include/pjsua-lib/pjsua.h @@ -2037,7 +2037,17 @@ struct pjsua_media_config */ unsigned thread_cnt; - + /** + * Media quality, 0-10, according to this table: + * 8-10: resampling use large filter, + * 3-7: resampling use small filter, + * 1-2: resampling use linear. + * The media quality also sets speex codec quality/complexity to the + * number. + * + * Default: 10. + */ + unsigned quality; }; @@ -2054,6 +2064,7 @@ PJ_INLINE(void) pjsua_media_config_default(pjsua_media_config *cfg) cfg->max_media_ports = 32; cfg->has_ioqueue = PJ_TRUE; cfg->thread_cnt = 1; + cfg->quality = 10; } |