summaryrefslogtreecommitdiff
path: root/pjmedia/src/pjmedia-audiodev
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2010-01-26 15:29:23 +0000
committerNanang Izzuddin <nanang@teluu.com>2010-01-26 15:29:23 +0000
commit5900f75534e21f750e370ec230aec3d6cd58b850 (patch)
tree7fc83b5af3a016da146bcd3a468c1b02cbcb6522 /pjmedia/src/pjmedia-audiodev
parent3b0e3817784670d13b0f0a62e28047e56c81042b (diff)
Ticket #1028:
- Added new API pjmedia_codec_mgr_set_default_param() to set/update default codec parameter and implemented pjsua_codec_set_param() based on it. - Added mutex in codec manager to protect states manipulations. - Modified API pjmedia_codec_mgr_init() to add pool factory param. - Added new API pjmedia_codec_mgr_destroy(). - Updated passthrough codec AMR to regard peer's mode-set setting. - Fixed VAS audio device to apply AMR encoding bitrate setting. - Fixed IPP codec codec_open() to update AMR bitrate info (for stream) when AMR encoding bitrate is not using the default, e.g: requested by peer via format param 'mode-set' in SDP. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3074 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/src/pjmedia-audiodev')
-rw-r--r--pjmedia/src/pjmedia-audiodev/symb_vas_dev.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/pjmedia/src/pjmedia-audiodev/symb_vas_dev.cpp b/pjmedia/src/pjmedia-audiodev/symb_vas_dev.cpp
index 776fdbf8..ae9b43c6 100644
--- a/pjmedia/src/pjmedia-audiodev/symb_vas_dev.cpp
+++ b/pjmedia/src/pjmedia-audiodev/symb_vas_dev.cpp
@@ -491,6 +491,10 @@ TInt CPjAudioEngine::StartRec()
}
break;
+ case EAMR_NB:
+ enc_fmt_if->SetBitRate(setting_.mode);
+ break;
+
default:
break;
}