diff options
author | Nanang Izzuddin <nanang@teluu.com> | 2010-09-20 06:13:02 +0000 |
---|---|---|
committer | Nanang Izzuddin <nanang@teluu.com> | 2010-09-20 06:13:02 +0000 |
commit | 5af236a408105e4a2e4e47f4271afab7c137c31b (patch) | |
tree | 7bb254ba645dda789fff7474116919e9d4b76939 /pjmedia/include | |
parent | 060d04b12449532413d95cbff97c966e7f768d08 (diff) |
Closed #1129:
- Added run-time configuration for activating/deactivating stream keep-alive (non-codec-VAD mechanism), also added this config to account settings.
- Fixed bug wrong session info pointer "si" in pjsua_media_channel_update() when call audio index is not zero.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3313 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/include')
-rw-r--r-- | pjmedia/include/pjmedia/stream.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pjmedia/include/pjmedia/stream.h b/pjmedia/include/pjmedia/stream.h index 84f6b1de..c45201ec 100644 --- a/pjmedia/include/pjmedia/stream.h +++ b/pjmedia/include/pjmedia/stream.h @@ -127,6 +127,12 @@ struct pjmedia_stream_info int jb_max_pre; /**< Jitter buffer maximum prefetch delay in msec (-1 for default). */ int jb_max; /**< Jitter buffer max delay in msec. */ + +#if defined(PJMEDIA_STREAM_ENABLE_KA) && PJMEDIA_STREAM_ENABLE_KA!=0 + pj_bool_t use_ka; /**< Stream keep-alive and NAT hole punch + (see @ref PJMEDIA_STREAM_ENABLE_KA) + is enabled? */ +#endif }; |