[Libav-user] rtcp doesn't work in rtp muxer
Dmitry Adjiev
adjiev.dmitry at gmail.com
Thu Aug 28 23:01:30 CEST 2014
Issue is fixed, it was my mistake, I sent frames to quicly
2014-08-14 15:14 GMT+04:00 Dmitry Adjiev <adjiev.dmitry at gmail.com>:
> 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
>
--
Regards,
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20140829/96db625f/attachment.html>
More information about the Libav-user
mailing list