summaryrefslogtreecommitdiff
path: root/pjsip/include/pjsua2/endpoint.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'pjsip/include/pjsua2/endpoint.hpp')
-rw-r--r--pjsip/include/pjsua2/endpoint.hpp17
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 &param) 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:
/*