We have configured your sample “WebRTC_JavaScript” app on the same IIS server but in another website and also configured CORS to allow all access. We can access the camera using its separate webUI so we know it is working.
We have provided info according to the index.html page with gateway url, cameraid, username and password.
We have this license (XProtect Essential+ 2024 R1) and receive this license error:
main.js:155
POST [https://XXX/api/REST/v1/WebRTC/Session](https://XXX/api/REST/v1/WebRTC/Session) 400 (Bad Request)
initiateWebRTCSession @ main.js:155
start @ main.js:75
await in start
onclick @ (index):69
main.js:186 Failed to initiate WebRTC session - Error: One or more errors occurred.
(GET Unexpected statuscode BadRequest in ‘https://XXX.omnicom.secsys/API/rest/v1/cameras/XXXguid/privacyProtections?definitions&tasks&resources&disabled’
- The feature is not licensed.)VideoOS.Platform.RestApiMIPException: GET Unexpected statuscode BadRequest in ‘https://XXX.omnicom.secsys/API/rest/v1/cameras/xxxguid/privacyProtections?definitions&tasks&resources&disabled’
- The feature is not licensed.
at VideoOS.Platform.Proxy.RestApi.RestApiClient.GetRequest(String url)
Can you point us in the right direction what the reason might be?