I've seen this question about reading RTCP packets, but I have two issues with it:
- It uses RTSP structures. In my case, the RTP stream is not necessarily RTSP, so I imagine it wouldn't work.
- Even if it was (or worked without RTSP), it uses the rtsp.h header, and as far as I understand this file functions are not exposed (the only exposed headers in /libavformat when compiling FFmpeg are avio.h, libavformat.h and version.h. Maybe I'm wrong here?)
So, any help regarding these doubts that I have or another different way to extract the packet loss information would be appreciated!