rtcagent icon indicating copy to clipboard operation
rtcagent copied to clipboard

RTPEngine Support

Open hyavari opened this issue 2 years ago • 5 comments

Hi team,

Great work you did. Any plan for adding RTPEngine is there?

Thanks.

hyavari avatar Jun 20 '23 16:06 hyavari

Thank you! Depends what are you going to do ? NGCP ?

adubovikov avatar Jun 20 '23 17:06 adubovikov

Actually, I am using the subscribe mechanism of RTPEngine for SIPREC, I thought that eBPF would be great for forking. Do you agree?

hyavari avatar Jun 20 '23 18:06 hyavari

@hyavari interesting! we don't use this feature, so please feel free to share some examples for us to get inspired :)

lmangani avatar Jun 20 '23 19:06 lmangani

In my current SIPREC server, I am sending subscribe request and answer to RTPEngine and then record forked streams. But I think what if we use your approach, eBPF I mean, and just filter streams based on IP and ports in the kernel level, and then in userspace remove IP headers and use the payload and etc. (I am just thinking loudly!)

hyavari avatar Jun 20 '23 19:06 hyavari

looks really interesting, yes, it can be possible by using XDP packet inspection and the receive function of RTPEngine.

adubovikov avatar Jun 21 '23 11:06 adubovikov