PJSUA RTP timeout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux