[Asterisk-video] video prompts via Asterisk
Duane Storey
duane at counterpath.com
Tue Nov 28 13:55:56 MST 2006
Even 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 newer
> devices
> you could send STUN requests on the RTP port - you certainly have to
> be ready to receive them (the new SIP outbound draft).
>
> /O
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-video mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-video
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-video/attachments/20061128/41f63a9c/attachment.htm
More information about the asterisk-video
mailing list