Protocol Integration how to stream the video data to a url, so that we can play it from any player

Hello,

I am trying to integrate milestone into our Java based interface, and ı want to display the video from a player like VLC player. The video data comes as a octet stream byte array, and my researches showed that in java players can not play video data from byte array directly. So i found three solutions:

-Sending the byte array video data from milestone to a http url, and play it from VLC player.

-Sending the video data to a program like Gstreamer to procces it and stream the video to an RTSP Url, and play it from a player.

- Writing the integration software in another language and communicate with that program with our interface. (Some other programming languages offer direct video playing using byte arrays.)

I would like to ask; which route should we take to play the video from these three, or if you know a better way could you tell me?

Milestone XProtect does not out of the box include a RTSP streaming service.

If using protocol integration with the Image Server protocol you can get video data that is encapsulated with GenericByteData and the data can easily be unwrapped and used.

Milestone offers the add-on product Open Network Bridge which has an RTSP streaming. I recommend that you read about this:

https://www.milestonesys.com/content-hub/business-update/2021/april/milestone-open-network-bridge-onvif/

https://www.milestonesys.com/support/resources/download-software/?prod=1373&type=11&lang=27

https://www.milestonesys.com/support/resources/download-software/?prod=1373&type=13&lang=27