I was able to get the recording setup by manually invoking the start recording command (with the proc recording method). However, the recording file is always empty. I think the issue appears to be that the kernel module blackholes the media stream since there isn't a sink, and the RTP packets never reach the recording-dameon. Maybe this is a feature request?
Yes, this isn't exactly a supported use case (although an interesting idea). It can probably be made to work without too much trouble (famous last words), perhaps just by moving the handling of the blackhole target around. Feel free to play with it if you're so inclined.
Cheers
The approach I am testing is:
Use publish to enable rtpengine to receive RTP from the remote sender.
Use the start recording command to start recording.
Minimal JSON example using publish:
Issues observed:
PCAP files are successfully generated, but rtpengine-recording does not seem to process them at all.
No WAV files are generated.
Metadata files appear abnormal and do not contain SDP information. Example:
···
Additionally, I configured rtpengine-recording’s spool-dir to point to the same path as recording-dir in the rtpengine configuration.
Is this correct?
Or should it point to the metadata subdirectory instead?
Any guidance on how to properly configure a receive-only recording setup with rtpengine would be greatly appreciated.
Thanks!