How to retrieve a stream from a milestone for analytics?

We have a comprehensive system for recognizing license plates, faces and other objects. Is it possible to somehow retreive streams from a milestone in video format, and not frame by frame? We know that ONVIF can be used, but in order to generate a rtsp link, you need a login and password. Is there any way to get around this or is there some other way to take a video stream?

Using the MIP SDK you can ask for the video in native format. You would typically use RawLiveSource for this.

https://doc.developer.milestonesys.com/html/index.html?base=miphelp/class_video_o_s_1_1_platform_1_1_live_1_1_raw_live_source.html&tree=tree_search.html?search=rawlivesource

There is no sample showing this in the MIP SDK, but the usage is much like JpegLiveSource except for the understanding of the delivered data.

To receive a RTSP stream you need to use Milestone Open Network Bridge server (aka ONVIF Bridge server).