summaryrefslogtreecommitdiff
path: root/pjsip/include
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2013-05-24 04:27:59 +0000
committerNanang Izzuddin <nanang@teluu.com>2013-05-24 04:27:59 +0000
commit915719ad7c1d30167b7381bf36357c491a23fae4 (patch)
tree3c02539b1edba06a2eb3175ab5324410aaf7a3d4 /pjsip/include
parent9e0fe8fa59243d8aa937982931aa5e1be7e944de (diff)
Fixed #1670:
- Added 'no_rtcp_sdes_bye' to 'pjsua_media_config'. - Modified behaviour of video stream in PJSUA to match audio stream behaviour, i.e: always send RTCP SDES when stream starts/stops and send RTCP BYE when stream stops, regardless whether 'no_rtcp_sdes_bye' is set. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4524 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include')
-rw-r--r--pjsip/include/pjsua-lib/pjsua.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h
index 55dca05a..9fb84ea7 100644
--- a/pjsip/include/pjsua-lib/pjsua.h
+++ b/pjsip/include/pjsua-lib/pjsua.h
@@ -5661,6 +5661,17 @@ struct pjsua_media_config
* Default: PJ_FALSE
*/
pj_bool_t no_smart_media_update;
+
+ /**
+ * Omit RTCP SDES and BYE in outgoing RTCP packet, this setting will be
+ * applied for both audio and video streams. Note that, when RTCP SDES
+ * and BYE are set to be omitted, RTCP SDES will still be sent once when
+ * the stream starts/stops and RTCP BYE will be sent once when the stream
+ * stops.
+ *
+ * Default: PJ_FALSE
+ */
+ pj_bool_t no_rtcp_sdes_bye;
};