Changes between Version 1 and Version 2 of SRTP


Ignore:
Timestamp:
Jan 23, 2008 4:20:16 PM (16 years ago)
Author:
bennylp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SRTP

    v1 v2  
    99[http://sourceforge.net/projects/srtp/ libsrtp] is distributed under BSD-like license, you must satisfy the license requirements if you incorporate SRTP in your application. Please see [http://www.pjsip.org/licensing.htm PJSIP licensing] page for more information about this and other third party libraries used in PJSIP. 
    1010 
     11---- 
    1112 
    1213== Building PJSIP with SRTP Support == 
     
    2930}}} 
    3031 
     32---- 
     33 
     34== Implementation Notes == #changes 
     35 
     36=== Changes in Media Transport Interface === 
     37 
     38Since the availability of SRTP changes contents of SDP (Session Description Protocol) and the SDP negotiation, we need to add new interfaces in PJMEDIA transport API to allow media transport to modify and negotiate SDP. Incidently this would work well with ICE too (previously we treat ICE as a special kind of media transport so it is treated differently, but with this new interfaces, all media transports will behave uniformly (anyway that's what API abstraction is for!)). 
     39 
     40New interfaces in media transport are as follows (please consult the PJMEDIA transport documentation for more info): 
     41 
     42media_create:: 
     43  This callback is called by application (or PJSUA-LIB) to allow the media transport to add more information in the SDP offer, before the offer is sent to remote. Additionally, for answerer side, this callback allows the media transport to reject the offer from the remote before this offer is processed by the SDP negotiator. 
     44media_start:: 
     45  This callback is called after offer and answer are negotiated, and before the media is started. For answerer side, this callback will be called before the answer is sent to remote, to allow media transport to put additional info in the SDP. The media transport also has the final chance to negotiate the offer and answer before media is really started. 
     46media_stop:: 
     47  This callback is called when the media is stopped, to allow the media transport to release its resources. 
     48simulate_lost:: 
     49  This has nothing to do with SRTP, but since all media transports support this feature (packet loss simulation), we add this as a new interface. 
     50 
     51 
     52=== pjmedia_transport_srtp Implementation === 
     53 
     54---- 
     55 
    3156== Using SRTP Transport == 
    3257 
    33 === Implementation Note === 
    34  
    35 ==== Changes in Media Transport Interface ==== 
    36  
    37 ==== pjmedia_transport_srtp Implementation ==== 
    3858 
    3959=== Using SRTP in PJSUA-LIB ===