On Sun, 22 Feb 2015, Gilles Chanteperdrix wrote:
On Sun, Feb 22, 2015 at 11:07:20PM +0200, Martin Storsjö wrote:- /* Try to initialize the connection state in a - * potential NAT router by sending dummy packets. - * RTP/RTCP dummy packets are used for RDT, too. - */ - if (CONFIG_RTPDEC && - !(rt->server_type == RTSP_SERVER_WMS && i > 1) && s->iformat) - ff_rtp_send_punch_packets(rtsp_st->rtp_handle); break;The reason why I did not remove this hunk is the comment which seem to imply that these punch packets are used for something else than RTP.
Ah - RDT is the transport layer used in RealRTSP. For these purposes, it is treated the same as normal RTP (it uses UDP, but the packets are parsed slightly differently) - setting up RDT goes through the same SETUP/PLAY phases. But you're right, the existing loop I added it in isn't executed for RDT either - I'll move it to a loop of its own.
// Martin _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
