How to have ristsender drop RTP header on incoming "UDP" packets?
We'd like to use ristsender
to send on-premise multicasts to AWS MediaConnect.
We have this working nicely in the lab but the trouble is that all the multicasts are RTP, so we need to drop the RTP header before the traffic is sent via RIST (there's no way to tell the receiver to expect RTP out it seems). There doesn't seem to be a way to acheive this currently within ristsender.
I've done a hack that, based on a command line option, discards a fixed length (12 bytes) by adjusting the recv_buf
pointer and length for all incoming "UDP" streams, and this is working well (for our inputs) despite the obvious assumptions.
I'd be happy to upstream this, but I feel like it maybe is too much of a hack.
Do you have any other ideas about how this problem might be solved?
Thanks in advance!