Changes between Version 1 and Version 7 of Ticket #2018
- Timestamp:
- Mar 26, 2018 11:07:12 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2018
- Property Status changed from new to closed
- Property Resolution changed from to fixed
-
Ticket #2018 – Description
v1 v7 23 23 24 24 ==== Sample code for PJSUA app ==== 25 26 '''Update''': sample codes below have been deprecated in 2.8, please check #2100 for more info. 27 25 28 In ''generating SDP answer'', SRTP will automatically detect and match the keying method to the SDP offer's, e.g: if remote sends offer using DTLS-SRTP, we will start DTLS nego immediately and answer using DTLS-SRTP too. However, in ''generating SDP offer'', SRTP will use SDES by default. So to generate SDP offer using DTLS-SRTP, application needs to implement PJSUA callback {{{on_create_media_transport_srtp}}} and sets the priority of DTLS-SRTP higher than SDES from that callback, e.g: 26 29 {{{