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

Re: [reSIProcate-users] SRTP


That sounds right.  If you read the wiki page - there are also a few
other requirements in order to setup the SRTP session.

http://www.resiprocate.org/Reflow_API

Scott

On Thu, Oct 9, 2008 at 8:56 AM, Karlsson <boost.regex@xxxxxxxxx> wrote:
> If I want to use reFlow within my project, then should be:
>
> 1: Pass a class (for example MySocket) to my media layer, for example, it
> has methods: send(), sendto(); and  recv(), recvFrom();
>  These four methods inturn calls Flow:xxxx() functions.
>
> 2: In my media layer, use mySocket::send()  mySocket::sendto();
> mySocket::recv(); mySocket::recvFrom() to send/recv RTP packets.
>
> Right ?
>
> Thanks
>
>
>
> On Thu, Oct 9, 2008 at 8:36 PM, Scott Godin <sgodin@xxxxxxxxxxxxxxx> wrote:
>>
>> 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
>> >
>> >
>
>