[Asterisk-video] video prompts via Asterisk

Ramtin Amin keytwho at hotmail.com
Tue Nov 28 14:01:01 MST 2006


Stun packets are regognized as being RTP v0 so if the two first bits are 00xxxxxx then it's STUN/ICE... if you have 10xxxxxx it's RTP v2... so quiet easy to discard


Date: Tue, 28 Nov 2006 12:55:56 -0800From: duane at counterpath.comTo: asterisk-video at lists.digium.comSubject: Re: [Asterisk-video] video prompts via AsteriskEven if you don't support parsing the STUN packets, you should make sure you will discard them anyways (since a STUN packet will fail as a RTP packet if you do a proper header check).For video doing keep alives is a little trickier than audio -- in audio you can encode silence and send that as data, knowing the remote party won't hear it.  The equivalent in video doesn't really exist.  So, STUN packets are great if you can use them, otherwise I've seen some implementations send a bogus RTP packet using an unused payload type to keep the pinhole open. Duane
On 11/28/06, Olle E Johansson <oej at edvina.net> wrote: 
28 nov 2006 kl. 15.42 skrev Bruce Bauman:> If a videophone is behind a NAT, the firewall will often timeout the> bindings after a small amount of time and Asterisk will be unable to> send video to the phone. >> Has anyone encountered/solved this problem? How do you keep the RTP> stream open during periods of inactivity?There's something called RTP keepalives that some devices use.You need to send at least every 29th sec... What it really is, is something for others to discuss. With newerdevicesyou could send STUN requests on the RTP port - you certainly have tobe ready to receive them (the new SIP outbound draft)./O_______________________________________________--Bandwidth and Colocation provided by Easynews.com --asterisk-video mailing listTo UNSUBSCRIBE or update options visit:    http://lists.digium.com/mailman/listinfo/asterisk-video
_________________________________________________________________
Essayez Live.com, votre nouvelle page d'accueil ! Personnalisez-la en quelques clics pour retrouver tout ce qui vous intéresse au même endroit.
http://www.live.com/getstarted
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-video/attachments/20061128/6d721c15/attachment.htm


More information about the asterisk-video mailing list