FYI - If you're having issues with Surveillance Station streams, check the user permissions in Surveillance Station #1456
Replies: 2 comments 1 reply
-
@jordancrawfordnz Thank you very much! Literally been having this issue since May and I just came accross your comment and it worked BUT I did have to roll back the Rebroadcast Plugin to 0.10.16 as the stream does not work in the Homekit app. Here is what the console says for one my cams when in the latest Rebroadcast plugin 0.10.18: Rebroadcast Plugin]: |
Beta Was this translation helpful? Give feedback.
-
I was able to use ffmpeg parser (TCP) for each stream and now it works using the latest rebroadcast plugin! |
Beta Was this translation helpful? Give feedback.
-
I just want to share something I've learnt the hard way in case it helps others.
I use Scrypted in Docker on my Synology NAS, pointed at my camera through Synology Surveillance Station.
I authenticate Scrypted through a non-admin user (to reduce the risk if my credentials ever get leaked somehow).
I was experiencing a weird issue where stream snapshots work fine, but videos streams (though HomeKit and the Scrypted web UI) don't work. In the logs I would see the following message:
I confirmed I could use the same credentials to login to the Synology web UI and view the camera through there.
It also worked fine with my main user (the one which is administrator of the camera).
It wasn't making sense why some API calls worked (to get the snapshot) but others didn't (to get the streams).
It turns out that in addition to the DSM user settings for which applications a user can access, you also need to ensure the permissions are set correctly in the "User" section within Surveillance Station. In the "Edit" -> "Privilege" menu I set my Scrypted user to the "All-Object-Manager".
Also - I noticed that my session (or perhaps the stream URL) was sometimes cached, meaning if I changed the credentials to a broken user for testing, the stream would continue to work. This gave me a false sense of the problem. While debugging, I recommend hitting "reload plugin" after changing the credentials to ensure it's really using the credentials provided.
Beta Was this translation helpful? Give feedback.
All reactions