< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate-users] SRTP


FlowManagerSipXSocket.cxx is in the recon project folder.  This class
is passed to the sipX media layer.  When it has RTP data to send it
will call FlowManagerSipXSocket::write - which inturn calls
Flow::send.  Assuming you have your own RTP stack - you would want to
use the reflow project in order to take the RTP packets generated by
your media engine and turn them into SRTP traffic then send them on a
socket.  Have a closer look at the reflow section on the wiki for more
info.

http://www.resiprocate.org/Recon_Overview#What_is_reflow.3F
http://www.resiprocate.org/Reflow_API

Scott

On Thu, Oct 9, 2008 at 4:15 AM, Karlsson <boost.regex@xxxxxxxxx> wrote:
> Hi Scott, thanks for your helps, I have take a look on recon and reflow, I
> found that you use
> createSRTPSession to create the SRTP session in recon, and likes use
> FlowManagerSipXSocket::write
> to send the data, but I do not found  any .cxx file to called
> FlowManagerSipXSocket::write to send the data.
>
> Where did you sent the RTP(SRTP) data ?
>
> Thanks in advance.
>
>
> On Mon, Oct 6, 2008 at 8:07 AM, Scott Godin <sgodin@xxxxxxxxxxxxxxx> wrote:
>>
>> Yes that's more or less correct.  You can use libSrtp with
>> dtls-wrapper in order to support Srtp with DTLS key negotiation.  You
>> can take at look at the reFlow subproject of reCon - it supports SRTP
>> with DTLS key negotiation using dtls_wrapper and SRTP with SDES key
>> negotiation.  Check out http://www.resiprocate.org/Recon_Overview
>>
>> Scott
>>
>> On 10/5/08, Karlsson <boost.regex@xxxxxxxxx> wrote:
>> > Hi Scott, I was found you have wrote the dtls_wrapper,  I have read the
>> > TestDtlsUdp.cxx and understood it can be receive & send
>> > the SRTP packet, but do not found any example for send & receive SRTCP
>> > packet, do I need to implement the SRTCP by myself ?
>> >
>> > Thank you in advance.
>> >
>>
>> --
>> Sent from my mobile device
>
>