diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-03-15 19:32:41 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-03-15 19:32:41 +0000 |
commit | b50cc8a5b479f2bece31381846bc5c63c5e8cdff (patch) | |
tree | fafd368e9eaa885ee96b4bab4bd1d95f62cfcf10 /pjsip/include | |
parent | 4bffa85a3577b72dab0141c44da5ca57914aec1f (diff) |
Added Null port, and changed conference so that it does not call port get_frame() when there is no listener on the port
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@318 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include')
-rw-r--r-- | pjsip/include/pjsua-lib/pjsua.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h index 1b58f9c1..5a39c9ed 100644 --- a/pjsip/include/pjsua-lib/pjsua.h +++ b/pjsip/include/pjsua-lib/pjsua.h @@ -64,7 +64,7 @@ PJ_BEGIN_DECL * Aditional ports to be allocated in the conference ports for non-call * streams. */ -#define PJSUA_CONF_MORE_PORTS 2 +#define PJSUA_CONF_MORE_PORTS 3 /** @@ -185,6 +185,8 @@ struct pjsua pj_bool_t no_mic; /**< Disable microphone. */ char *wav_file; /**< WAV file name to play. */ unsigned wav_slot; /**< WAV player slot in bridge */ + pjmedia_port *file_port; /**< WAV player port. */ + pjmedia_port *null_port; /**< NULL port. */ pj_bool_t auto_play; /**< Auto play file for calls? */ pj_bool_t auto_loop; /**< Auto loop RTP stream? */ pj_bool_t auto_conf; /**< Auto put to conference? */ |