Revision 30ff7c5c libavformat/rtsp.c

View differences:

libavformat/rtsp.c
1177 1177
             * potential NAT router by sending dummy packets.
1178 1178
             * RTP/RTCP dummy packets are used for RDT, too.
1179 1179
             */
1180
            if (!(rt->server_type == RTSP_SERVER_WMS && i > 1))
1180
            if (!(rt->server_type == RTSP_SERVER_WMS && i > 1) && s->iformat)
1181 1181
                rtp_send_punch_packets(rtsp_st->rtp_handle);
1182 1182
            break;
1183 1183
        }

Also available in: Unified diff