sipcapture / rtcagent

RTCAgent is an eBPF powered HEP Agent for HOMER/HEPIC
https://sipcapture.org
GNU Affero General Public License v3.0
36 stars 2 forks source link

RTPEngine Support #4

Open hyavari opened 1 year ago

hyavari commented 1 year ago

Hi team,

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

Thanks.

adubovikov commented 1 year ago

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

hyavari commented 1 year ago

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

lmangani commented 1 year ago

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

hyavari commented 1 year ago

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!)

adubovikov commented 1 year ago

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