diff options
author | Terry Wilson <twilson@digium.com> | 2009-09-30 18:21:03 +0000 |
---|---|---|
committer | Terry Wilson <twilson@digium.com> | 2009-09-30 18:21:03 +0000 |
commit | 10ce6cd757dbf475198d5f35d736930925d3ae0f (patch) | |
tree | 770086aa7fb8556d1ca31c00845610954c7477af /include/asterisk/rtp_engine.h | |
parent | 865daf4858ba8f3a592e08d37f8025d92c02810b (diff) |
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
Diffstat (limited to 'include/asterisk/rtp_engine.h')
-rw-r--r-- | include/asterisk/rtp_engine.h | 19 |
1 files changed, 2 insertions, 17 deletions
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 */ @@ -1185,23 +1187,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 * * \param instance Instance that the new media source is feeding into |