[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ccrtp-devel] combining a sipstack with ccrtp
From: |
Dan Weber |
Subject: |
Re: [Ccrtp-devel] combining a sipstack with ccrtp |
Date: |
Mon, 17 Jan 2005 17:54:19 -0500 |
User-agent: |
Mutt/1.5.6+20040907i |
On Mon, Jan 17, 2005 at 03:11:57AM +0100, Michel de Boer wrote:
> Hi Dan,
>
> You can select an RTP port yourself and provide it to the RTPSession
> constructor.
> Here is how I create the an RTPSession myself for my own sipstack:
>
> rtp_session = new SymmetricRTPSession(
> InetHostAddress(_recv_host.c_str()), _recv_port);
>
> In case of an incoming INVITE, the _recv_port is the port that goes into the
> SDP of the 200 OK.
>
Yeah, I know that. I was hoping I didn't have to manage ports though.
> I don't know if ccrtp provides any mechanism to autodestruct after a certain
> period of time. I guess you can start a timer yourself and once it
> expires simply
> delete the RTPSession object.
>
I guess I could. So basically another thread and sees if the rtp manager
has been idling and destructs it if it is.
> Michel
>
>
Dan