diff options
Diffstat (limited to 'include/asterisk/rtp_engine.h')
-rw-r--r-- | include/asterisk/rtp_engine.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/asterisk/rtp_engine.h b/include/asterisk/rtp_engine.h index c7f6511f9..c7a7f1d20 100644 --- a/include/asterisk/rtp_engine.h +++ b/include/asterisk/rtp_engine.h @@ -2288,6 +2288,22 @@ void ast_rtp_publish_rtcp_message(struct ast_rtp_instance *rtp, struct ast_rtp_rtcp_report *report, struct ast_json *blob); +/*! + * \brief Get the last RTP transmission time + * + * \param rtp The instance from which to get the last transmission time + * \return The last RTP transmission time + */ +time_t ast_rtp_instance_get_last_tx(const struct ast_rtp_instance *rtp); + +/*! + * \brief Set the last RTP transmission time + * + * \param rtp The instance on which to set the last transmission time + * \param time The last transmission time + */ +void ast_rtp_instance_set_last_tx(struct ast_rtp_instance *rtp, time_t time); + /*! \addtogroup StasisTopicsAndMessages * @{ */ |