[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-users] ortp recv test
From: |
Simon Morlat |
Subject: |
Re: [Linphone-users] ortp recv test |
Date: |
Tue, 12 Feb 2008 12:20:10 +0100 |
User-agent: |
KMail/1.9.7 |
You can simply use ret=rtp_session_recvm_with_ts(), that returns a mblk_t *.
The data is always pointed by ret->b_cont->b_rptr and ends up at
ret->b_cont->b_wptr.
No automatic silence insertion is done by this function.
Simon
Le Friday 01 February 2008 16:01:18 Pramod Bhagwat, vous avez écrit :
> Hi,
> i am using rtprecv application present in the ortp/src/tests folder. I am
> using the application as it is and writing the received data to text file.
> For Sending data i am using rtpsend application present in the tests
> folder. It looks once the rtp receive application receives the data the
> "rtp_session_recv_with_ts" is continuously returning return value of 160
> even if the the rtpsend application is not sending any data to the rtprecv
> application.Is it possible to disable this feature so that
> "rtp_session_recv_with_ts" function will return data only when there is
> actually new data from the remote end ?
>
> Warm Regards,
> pramod