How can I send camera frames over a network

My overall objective: At run-time, I need to send video frames to another application that streams those frames as a video stream. Sending a video stream directly to the application would be even better, if possible.

For example in Unity, I can’t export the camera view as a video stream so I can render the camera to texture and then, every frame, I copy those pixels from the renderTexture into a byte array that I send via UDP to the application.

Again, this isn’t a video capture to be played back or stored as a file. It’s a run-time stream that is sent to another application for real-time processing.

I’ve been bogged down a bit by all the options to capture and store video and haven’t found a run-time method to get this done. Any help would be appreciated.

Cheers.

1 Like