[FFmpeg-devel] [PATCH] Send NAT punching packets when starting to read an RTP/UDP stream

Luca Abeni lucabe72
Thu Feb 11 12:25:34 CET 2010

Benjamin Larsson wrote:
>> But maybe the comment before rtp_send_punch_packets() can be expanded
>> to clarify that this is not a standard thing (BTW, does anyone know
>> if there is any standard solution for RTSP/RTP through NATs?) and that
>> it works if the source port is not remapped.
>>             Thanks,
>>                 Luca
> I think that was what STUN was supposed to solve.

Yes, STUN allows a host to know its "public" IP and port, but it's not
clear to me if there is a standard way to integrate this mechanism
with RTSP/RTP. While (I think) there are some RFCs explaining how to
use STUN with SIP, I do not know about any proposal about using STUN
(or similar) with RTSP or RTP (if there are similar standards or
proposals, let me know... Because this is what we should implement :).


More information about the ffmpeg-devel mailing list