Hello.
I use rtp muxer for streaming video, but ffplay loses a lot of packets.
in rtpenc.c I see the following code:
if ((s->first_packet || ((rtcp_bytes >= RTCP_SR_SIZE) &&
(ff_ntp_time() - s->last_rtcp_ntp_time >
5000000))) &&
!(s->flags & FF_RTP_FLAG_SKIP_RTCP)) {
av_log(NULL, AV_LOG_INFO, "Send rtcp packet\n");
rtcp_send_sr(s1, ff_ntp_time(), 0);
s->last_octet_count = s->octet_count;
s->first_packet = 0;
}
value 5000000 seems too large ...
What I do wrong?
Also what port libavformat uses for rtcp, I think it should be
multicast_ip:multicast_port + 1 right?
--
Regards,
Dmitry
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user