Saving raw RTP packets to disk

Hi!
I there a way to store RTP packets of a session to disk? I mean is it possible to have direct access to (a copy of) RTP buffers on a mediasoup worker from the node.js process?

The only method I could think of is to use libmediasoupclient and make it consume a stream.

DirectTransport and consume() over it.

1 Like

Thanks! I thought it was only for RTCP.