From 10ce6cd757dbf475198d5f35d736930925d3ae0f Mon Sep 17 00:00:00 2001 From: Terry Wilson Date: Wed, 30 Sep 2009 18:21:03 +0000 Subject: Use rtp properties instead of adding a callback Thanks, Josh. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@221278 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/rtp_engine.h | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) (limited to 'include/asterisk/rtp_engine.h') diff --git a/include/asterisk/rtp_engine.h b/include/asterisk/rtp_engine.h index 29070d0c7..8f4292a98 100644 --- a/include/asterisk/rtp_engine.h +++ b/include/asterisk/rtp_engine.h @@ -94,6 +94,8 @@ enum ast_rtp_property { AST_RTP_PROPERTY_RTCP, /*! Maximum number of RTP properties supported */ AST_RTP_PROPERTY_MAX, + /*! Don't force a new SSRC on new source */ + AST_RTP_PROPERTY_CONSTANT_SSRC, }; /*! Additional RTP options */ @@ -1184,23 +1186,6 @@ int ast_rtp_instance_dtmf_mode_set(struct ast_rtp_instance *instance, enum ast_r */ enum ast_rtp_dtmf_mode ast_rtp_instance_dtmf_mode_get(struct ast_rtp_instance *instance); -/*! - * \brief Mark an RTP instance not to update SSRC on a new source - * - * \param instance Instance to update - * - * Example usage: - * - * \code - * ast_rtp_instance_set_constantssrc(instance); - * \endcode - * - * This sets the indicated instance to not update the RTP SSRC when new_source - * is called. - * - * \since 1.6.3 - */ -void ast_rtp_instance_set_constantssrc(struct ast_rtp_instance *instance); /*! * \brief Indicate a new source of audio has dropped in * -- cgit v1.2.3