<div dir="ltr">Hello.<br clear="all"><div>I use rtp muxer for streaming video, but ffplay loses a lot of packets.<br><br></div><div>in rtpenc.c I see the following code:<br><br>    if ((s->first_packet || ((rtcp_bytes >= RTCP_SR_SIZE) &&<br>
                            (ff_ntp_time() - s->last_rtcp_ntp_time > 5000000))) &&<br>        !(s->flags & FF_RTP_FLAG_SKIP_RTCP)) {<br>        av_log(NULL, AV_LOG_INFO, "Send rtcp packet\n");<br>
        rtcp_send_sr(s1, ff_ntp_time(), 0);<br>        s->last_octet_count = s->octet_count;<br>        s->first_packet = 0;<br>    }<br><br></div><div>value 5000000 seems too large ...<br></div><div>What I do wrong?<br>
</div><div>Also what port libavformat uses for rtcp, I think it should be multicast_ip:multicast_port + 1 right?<br></div><div>-- <br>Regards,<br>Dmitry
</div></div>