Are there any APIs to extract live/recorded video streams and controls to start/stop recordings?

I have a client interface that would be coded in java and from my understanding is that XProtect’s API are in .Net and my guess is that the only way that I could interface with the XProtect is through the Protocol integration.

I would like to know which APIs to use in the Protocol integration for extracting live/recorded videos. And also APIs to control the start/stop of the recordings.

There might be two options

For full video use the image server protocol.

http://doc.developer.milestonesys.com/html/index.html?base=reference/protocols/imageserver_index.html&tree=tree_3.html

The sample TCPVideoViewer is c# but it is using the protocols.

http://doc.developer.milestonesys.com/html/index.html?base=samples/tcpviewer_sample.html&tree=tree_3.html

For reduced resolution JPEGs use Mobile Server.

http://doc.developer.milestonesys.com/mipsdkmobile/