Changes between Version 1 and Version 7 of Ticket #2018


Ignore:
Timestamp:
Mar 26, 2018 11:07:12 AM (6 years ago)
Author:
nanang
Comment:

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  
    2323 
    2424==== Sample code for PJSUA app ==== 
     25 
     26'''Update''': sample codes below have been deprecated in 2.8, please check #2100 for more info. 
     27 
    2528In ''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: 
    2629{{{