Cloud vs Local system users
AnsweredI am facing the following problem: I want to programatically create a user that is allowed to view a camera stream (HLS/MJPEG/WebM) from somewhere on internet.
I have the capabilites to create a user against a certain system but that user doesnt seem to be allowed to view the stream thru the cloud.
I need clarification if I am required to create a cloud user with a matching email to achive viewing of streams?
We are currently sending our live stream fetching to urls like:
https://ZZZ.relay.vmsproxy.com/hls/YYYY.m3u?auth=XXXXX is that correct base adress?
ZZZ are our system id, YYY camera id and the auth is calculated based on the username/password of a user created on the system. If we create a cloud user with same email and password everything seems to work.
If that is the case are there any possibility to not have to go thru the email-validation process as my users are completly programatically created and the accounts are supposed to be used in automated system.
-
Official comment
Hi David,
If you try to reach Cloud system with base address of format
<system_id>.relay.vmsproxy.com
it is unnecessary to log in with Cloud Credentials. System must accept so called "local" users as well. -
Thank you, that solved the issue.
0 -
Hi,
I'm tyring to access the http stream through my local user (with advanced viewer access) as follows
https://<server_ip>/media/<camera_id>.mp4?auth=<api_key>
I've tested and if I use the cloud user credentials to generate the <api_key>, authentication works just fine, but if I use a local user (with advanced viewer access), authentication fails and I get a popup requiring me to enter my credentials.
I've checked that the credentials for the local user that I'm using allows me to login when visiting https://<server_ip> in the browser
Some more notes related to the user, the user has advanced viewer access and have no email attached to it, is there any additional I need on the user for it to work?I'll prefer to use local user rather than cloud user if possible, I am trying to access the video through an angular application but the server would be on my local network
Thanks in advance
0
Please sign in to leave a comment.
Comments
3 comments