From 8c6f78c4426aae98c9d72b14afd010a3458a662d Mon Sep 17 00:00:00 2001 From: Riza Sulistyo Date: Fri, 21 Aug 2015 06:00:46 +0000 Subject: Re #1879: - Implement set video codec param in PJSUA2 API - Fix bug in videoCodecEnum and updateCodecInfoList git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5165 74dad513-b988-da41-8d7b-12977e46ad98 --- pjsip/include/pjsua2/endpoint.hpp | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'pjsip/include/pjsua2/endpoint.hpp') diff --git a/pjsip/include/pjsua2/endpoint.hpp b/pjsip/include/pjsua2/endpoint.hpp index ac97ea89..e4039874 100644 --- a/pjsip/include/pjsua2/endpoint.hpp +++ b/pjsip/include/pjsua2/endpoint.hpp @@ -1150,18 +1150,25 @@ public: * will be thrown. * */ - CodecParam videoCodecGetParam(const string &codec_id) const throw(Error); + VidCodecParam getVideoCodecParam(const string &codec_id) const throw(Error); /** * Set video codec parameters. * * @param codec_id Codec ID. - * @param param Codec parameter to set. Set to NULL to reset - * codec parameter to library default settings. + * @param param Codec parameter to set. + * + */ + void setVideoCodecParam(const string &codec_id, + const VidCodecParam ¶m) throw(Error); + + /** + * Reset video codec parameters to library default settings. + * + * @param codec_id Codec ID. * */ - void videoCodecSetParam(const string &codec_id, - const CodecParam param) throw(Error); + void resetVideoCodecParam(const string &codec_id) throw(Error); public: /* -- cgit v1.2.3