Changes between Version 2 and Version 3 of SRTP


Ignore:
Timestamp:
Jan 23, 2008 6:01:36 PM (17 years ago)
Author:
bennylp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SRTP

    v2 v3  
    11= SRTP Support in PJSIP = 
    22 
    3 Support for SRTP was included in PJSIP in version 0.9 (r...). 
     3Support for SRTP was included in PJSIP in version 0.9 (see ticket #61). 
    44 
    55== Requirements == 
     
    4040New interfaces in media transport are as follows (please consult the PJMEDIA transport documentation for more info): 
    4141 
    42 media_create:: 
     42 '''media_create()''':: 
    4343  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. 
    44 media_start:: 
     44 
     45 '''media_start()''':: 
    4546  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. 
    46 media_stop:: 
     47 
     48 '''media_stop()''':: 
    4749  This callback is called when the media is stopped, to allow the media transport to release its resources. 
    48 simulate_lost:: 
     50 
     51 '''simulate_lost()''':: 
    4952  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. 
    5053 
    5154 
    5255=== pjmedia_transport_srtp Implementation === 
     56 
     57As we know, media transport is separated from the stream object (which does the encoding/decoding of PCM frames, (de)packetization of RTP packets, and de-jitter buffering). The connection between stream and media transport is established when the stream is created (because during stream creation we need to specify media transport), and the interconnection can be depicted from the diagram below: 
     58 
     59 
     60 
     61 
     62 
     63 
     64 
    5365 
    5466----