git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4881 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2007-04-07 03:07:43 +00:00
parent 951e771524
commit 3f6520a559
5 changed files with 70 additions and 2 deletions
+15
View File
@@ -27,6 +27,7 @@
*
*
* switch_channel.h -- Media Channel Interface
* Marcel Barbulescu <marcelbarbulescu@gmail.com>
*
*/
/**
@@ -53,6 +54,20 @@ typedef void (*switch_rtp_invalid_handler_t) (switch_rtp_t *rtp_session,
*/
SWITCH_DECLARE(void) switch_rtp_init(switch_memory_pool_t *pool);
/*!
\brief Set/Get RTP start port
\param port new value (if > 0)
\return the current RTP start port
*/
SWITCH_DECLARE(switch_port_t) switch_rtp_set_start_port(switch_port_t port);
/*!
\brief Set/Get RTP end port
\param port new value (if > 0)
\return the current RTP end port
*/
SWITCH_DECLARE(switch_port_t) switch_rtp_set_end_port(switch_port_t port);
/*!
\brief Request a new port to be used for media
\return the new port to use