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 _______________________________________________ Linphone-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/linphone-users
