Modify Incoming Live streams and publish

Hi All,

I have a requirement to capture the incoming live stream, process the video frames with custom decoder and then publish it to the end viewers.

While browsing the forums I got several examples which capture the incoming packets, add audio packets to it and then publish it. I am not sure how to plugin my custom java code to process the video frames.

Any information/help is highly appreciated.