<div dir="ltr"><div>Hi all,</div><div><br></div><div>I work on an open source Audio/Video communication software sending/receiving RTP streams. RTCP is enabled and RTCP reports between peers are successfully exchanged over network and given to ffmpeg.</div><div><br></div><div>I would like to regularly extract RTCP report in my app to monitor for example packet dropping.  RTPStatistics struct looks to be good.</div><div><br></div><div>I looked to ffmpeg code and could not find a way to expose it from AVFormatContext . I would like to do something like this :</div><div><br></div><div>-------------------</div><div> RTSPState* rtsp_state = (RTSPState*) <my AVFormatContext struct> ->priv_data;              </div><div> RTSPStream* rtsp_stream = rtsp_state->rtsp_streams[0];                  </div><div> RTPDemuxContext* rtp_demux_context = (RTPDemuxContext*) rtsp_stream->transport_priv;                                                               </div><div> RTPStatistics stat = rtp_demux_context->statistics;                     </div><div> ------------------</div><div><br></div><div>But all those struct are not exposed. </div><div><br></div><div>Could someone tell me if I am wrong ? Would it be a good idea to expose it by av_dict_set ?</div><div><br></div><div>Thanks,</div><div><br></div><div>Eloi</div></div>