I am looking for some open source library written in C that dumps RTP packets (RTCP packets are available too) in a file so that that file can be then played. For simplicity, to get a hang of the issues, I want to just record audio (e.g. opus encoded). If there is no such library, is there any literature to guide me on how to handle this?
I think there will be issues involved but not as many as in live P2P RTP interaction, as in a webRTC call.
Any pointers?