[FFmpeg-devel] RTP Hole Punching from SDP file

Michael Niedermayer michael at niedermayer.cc
Tue Dec 29 15:54:10 CET 2015

On Mon, Dec 21, 2015 at 08:45:34AM -0500, Joel Loeshelle wrote:
> I am trying to stream from a local SDP file that contains the information
> necessary for streaming from an IP camera on a separate network. The IP
> camera is behind a NAT router so I first need to send dummy packets to set
> up the connection. I see that libavformat/rtpdec.h contains a method
> “ff_rtp_send_punch_packets” to do this, but it is only utilized when
> playing from an RTSP stream and not from an SDP file.
> It seems like the best place for this is at the end of sdp_read_header in
> libavformat/rtsp.c after we open up the RTP streams. However, I’m not
> really familiar with this code so I wanted to get your feedback on this
> before submitting a patch. I see that there is a condition when doing this
> in RTSP streaming to exclude Windows Media Server streams above 1.
> Does this apply for SDP as well?

dunno but maybe gilles (in CC) knows

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

What does censorship reveal? It reveals fear. -- Julian Assange
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151229/fdab4c12/attachment.sig>

More information about the ffmpeg-devel mailing list