diff options
Diffstat (limited to 'pjmedia/include/pjmedia/transport_srtp.h')
-rw-r--r-- | pjmedia/include/pjmedia/transport_srtp.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/pjmedia/include/pjmedia/transport_srtp.h b/pjmedia/include/pjmedia/transport_srtp.h index d622a0a7..d94d9a23 100644 --- a/pjmedia/include/pjmedia/transport_srtp.h +++ b/pjmedia/include/pjmedia/transport_srtp.h @@ -138,7 +138,7 @@ typedef struct pjmedia_srtp_setting /** * Specify the usage policy. Default is PJMEDIA_SRTP_OPTIONAL. */ - pjmedia_srtp_use use; + pjmedia_srtp_use use; /** * Specify whether the SRTP transport should close the member transport @@ -180,6 +180,16 @@ typedef struct pjmedia_srtp_info */ pjmedia_srtp_crypto tx_policy; + /** + * Specify the usage policy. + */ + pjmedia_srtp_use use; + + /** + * Specify the peer's usage policy. + */ + pjmedia_srtp_use peer_use; + } pjmedia_srtp_info; |