M
M
motomac2015-12-01 10:45:08
RPC
motomac, 2015-12-01 10:45:08

Which protocol is suitable for camera control?

I am working on a system for remote control of cameras. I can't decide on a suitable protocol. TCP and HTTP are available on the camera side. The server (Node JS) should send commands to the cameras and receive notifications and photos/videos from the cameras.
I focus on the following scheme: the camera connects to the server via a TCP socket and receives sends/receives data/commands via JSON-RPC. To transfer files, the server sends an appropriate command, in response to which the camera connects to the server via a different port and sends the necessary files.
Everything would be fine, but it seems like some kind of bicycle building, and besides, it is not very scalable. I started looking towards the fashionable MQTT, aimed at using it in such devices. But there are questions about the convenience of the pubsub model, as well as the transfer of large files. Still, MQTT (like AMQP) seems to be designed for rather small data.
What is the best way to organize such a task?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GoldKeeper, 2015-12-03
@GoldKeeper

Can your cameras work with ONVIF?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question