Hello, I’m starting an investigation to develop a integration with milestone. I have the SDK downloaded, the XProtect installed and also Onvif Bridge installed.
My current goals are:
1. connect to the API to get the camera list.
2. connect to the ONVIF bridge of the selected cameras with ffmpeg.
3. trigger alarms from API
For point 1 and 3, I got access to the api with the client samples (with XPMobileSDK.js) but I need to connect from server side with python code. I also checked the SOAP documentation but still is not clear for me what “endpoints” I have to use, and the credentials.
For point 2, I don’t know why, onvif bridge is not able to connect to my management server, in the logs appear the error:
`03-03-2020 13-28-29.791: Error - GlobalInit of c# library fails, hResult:0, return:-103-03-2020 13-29-10.112: Error - GlobalInit: error, System.Exception: ONVIF Bridge Not allowed with free surveillance
at VideoOS.OnvifGateway.OnvifMipLibrary.OnvifMipLibraryClass.GlobalInit(String aServerAddr, String aAdminusername, String aAdminPassword, String masterOnly, String& aErrorLog)
03-03-2020 13-29-10.112: Error - GlobalInit of c# library fails, hResult:0, return:-1`
- → I have added my license correctly and I insert correctly the credentials. I tried using Windows credentials and basic user (as admin) too.
Also, If i can connect somehow.. I don’t know how to connect to the stream, what is the format to obtain the rtsp streams of cameras? Any documentation?
Anything will be super helpfull,
THANKS in advance!