mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-07 05:39:39 +00:00
res_pjsip_sdp_rtp: Add support for optimistic SRTP.
Optimistic SRTP is the ability to enable SRTP but not have it be a fatal requirement. If SRTP can be used it will be, if not it won't be. This gives you a better chance of using it without having your sessions fail when it can't be. Encrypt all the things! Review: https://reviewboard.asterisk.org/r/3992/ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@428222 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -483,6 +483,8 @@ struct ast_sip_media_rtp_configuration {
|
||||
unsigned int srtp_tag_32;
|
||||
/*! Do we use media encryption? what type? */
|
||||
enum ast_sip_session_media_encryption encryption;
|
||||
/*! Do we want to optimistically support encryption if possible? */
|
||||
unsigned int encryption_optimistic;
|
||||
};
|
||||
|
||||
/*!
|
||||
|
Reference in New Issue
Block a user