Reputation: 555
Probably this isn't the right place to ask this but I don't really know how to google it. Let me try to explain:
Let's suppose that I have 20 IP cameras from different manufacturers, each one with its own configuration page. Also, I have a machine running a nodejs server that serves a webapp (expressjs). Is it possible to route each one of the configuration pages through nodejs so that when I want to change some setting I access it like 'nodejsIP:port/cam/camid/' instead of 'cameraip:camport/configpage'?
In the case of that being possible, can I do the same thing with video streams from the cameras?
Upvotes: 1
Views: 82
Reputation: 8635
Yes you can.
The activity you described is called proxy. That is: You -> Proxy -> Your camera.
You can use Node.js as a proxy, there are quite a huge variety of how you could achieve this, as a an example check out the Node-http-proxy module.
Proxying the video streams might be more difficult, but once you proxy configuration pages, you shall have enough knowledge to start with the second part.
Upvotes: 1