Real Time Remote Inference

Does anyone know how to remotely(different ip address) get camera frames from smartphone and send it to computer to do realtime inference(object detection) with pytorch?