Hi Algirdas Maybe there are more alternatives but I can at least think of two ways of doing this: 1. Periodically calling pjmedia_session_get_stream_stat(...). As a response you get a pjmedia_rtcp_stat struct from where you can get the last received RTP sequence number. If you call this function periodically, you will be able to see if the seq no has not changed between two calls to the function. 2. A media transport adapter might help you but it is a little bit more advanced and you would probably need some polling anyway so for your case it is probably a bit much. Hope this helps Johan -- Johan Lantz Head of IMS Products GENAKER - Esi Mobile Solutions SL www.genaker.net Phone +34 622 271 645 Fax: +34 933 316 99 [image: web] <http://www.genaker.net/>[image: blogger]<http://genaker.blogspot.com/>[image: yout] <http://www.youtube.com/genakertv>[image: twitter]<http://www.twitter.com/genaker> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120309/f1eebfdd/attachment.html>