diff options
author | Riza Sulistyo <riza@teluu.com> | 2015-08-21 06:00:46 +0000 |
---|---|---|
committer | Riza Sulistyo <riza@teluu.com> | 2015-08-21 06:00:46 +0000 |
commit | 8c6f78c4426aae98c9d72b14afd010a3458a662d (patch) | |
tree | 80fb8c2c54bccfda1464c3571e76fd961cf79c2f /pjsip/include/pjsua2/endpoint.hpp | |
parent | 110c26a8ca47442eba6c625646b034be97002823 (diff) |
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
Diffstat (limited to 'pjsip/include/pjsua2/endpoint.hpp')
-rw-r--r-- | pjsip/include/pjsua2/endpoint.hpp | 17 |
1 files changed, 12 insertions, 5 deletions
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: /* |