Simultaneous Video Stream to PC and Commands Stream from PC

Hallo

I would like to make a web camera (nodeMCU and Arducam) with a motor for the camera rotation. How can I arrange simultaneous video stream from camera to PC and stream of motor commands from PC to camera: - What protocol to use (TCP/UDP)? - Can i use UDP for commands and TCP for frame transfer? - Do you know same useful examples?

Andrey