0

I'm building a website using REACT the purpose of which is to show a real-time simulated video feed. I'm a novice developer and I'm stuck on this problem for a while. Therefore, your help will be greatly appreciated! For more details please read below.

I have a simulation engine that runs on one of my machines (there are 2 in total) and generates a simulated video of a vehicle that drives on a road. I'm using Python libraries in order to capture a screenshot of the simulated video on machine 1 and delivers it via sockets to machine 2, where my REACT website is running.

I can successfully capture the screenshot and deliver it using sockets (as bytes) from one machine to another. However, I don't know how to "catch" the bytes in REACT and transform them back to an streaming video image.

Your assistance will be greatly appreciated. Thanks in advance, Felix.

0 Answers0