mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
res_pjsip: Add rtp_keepalive endpoint option.
This adds an "rtp_keepalive" option for PJSIP endpoints. Similar to the chan_sip option, this specifies an interval, in seconds, at which we will send RTP comfort noise frames. This can be useful for keeping RTP sessions alive as well as keeping NAT associations alive during lulls. ASTERISK-25242 #close Reported by Mark Michelson Change-Id: I06660ba672c0a343814af4cec838e6025cafd54b
This commit is contained in:
@@ -77,6 +77,8 @@ struct ast_sip_session_media {
|
||||
enum ast_sip_session_media_encryption encryption;
|
||||
/*! \brief The media transport in use for this stream */
|
||||
pj_str_t transport;
|
||||
/*! \brief Scheduler ID for RTP keepalive */
|
||||
int keepalive_sched_id;
|
||||
/*! \brief Stream is on hold */
|
||||
unsigned int held:1;
|
||||
/*! \brief Stream type this session media handles */
|
||||
|
Reference in New Issue
Block a user