Thank you very much for your reply! It helped a TON with how I'm going to approach it.
I decided to multi-stream to both servers using gstreamer, one to my Janus server port 8001 and another to my AI server, then the AI server will send the processed video to port 9001.
For anyone who might want to know how I did that:
I used multiudpsink pipeline on gstreamer, like:
gst-launch-1.0 -v v4l2src device=/dev/video0 !
videoconvert ! videoscale ! videorate !
video/x-raw,width=1280,height=720,framerate=30/1,format=I420 ! omxh264enc
target-bitrate=2000000 control-rate=1 ! rtph264pay config-interval=1 pt=96
max-ptime=-1 mtu=1024 ! queue ! multiudpsink clients=ip:port,ip:port
Hope you have a happy holiday/christmas!
Thanks.