How to receive and display streaming data from cameras on a React/Electron web application?

Hello folks, right now we are able to display camera images coming from Milestone Recording server, however we do not know how to receive streaming video from the cameras. Is there a way to receive this coming from the MIlestone Recording API? We are using React on Electron for the frontend part. Should we be doing encoding/decoding ourselves or is this provided somewhere in the Milestone ecosystem?

If you need any extra info please let us know, we will kindly provide it.

Many Thanks,

Adrián

Maybe you should have told us how you get the camera images you already get because you might be using Recorder Command Service, you might be using Mobile Server, or you might be using some third option.

If I guess you are using Recorder Command Service and JPEGGetXxx then the next step in order to get live streaming is to move to the Image Server protocol.

Please see - https://doc.developer.milestonesys.com/html/index.html?base=reference/protocols/imageserver_index.html&tree=tree_3.html

On that protocol you can get the Recording Server to transcode to JPEGs. This is not recommended as it can cause the recording server to be overloaded. You can also ask for raw data (by not asking for JPEG), in that case you need to understand and decode the data. You need to be familiar with the GenericByteData format to get this working - https://doc.developer.milestonesys.com/html/index.html?base=mipgenericbytedata/main.html&tree=tree_3.html

If you need JPEGs and streaming we strongly recommend to use the Mobile Server - https://doc.developer.milestonesys.com/mipsdkmobile/

Hello Rie, thank you very much for your answer! Yes, we are using the Recording server getting still images. In the case of using the Mobile server, will we face any limitations regarding how many nodes can request data from several cameras at the same time? Is is able to scale to hundreds or thousands of concurrent clients?

Many Thanks,

Adrián

Please contact with your regional Milestone presales department directly, you should get better help from them.