-
I have a use case where I want to authenticate each read stream request by token (not just by using username and password). I want to send the request to authentication server and on authorization rtsp server should be able send streams. I have been using Nginx RTMP module so I am trying achieve same things with rtsp simple server. For example nginx on play directive allows redirect request to auth server and on 201 response it sends streams. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I agree this would be a really useful feature. So for instance request comes in to
And then a 'subrequest' is made to an authorisation server
And then the auth server could reply with either a 401 or a 200 OK. If it's a 200, the authorisation attempt is considered successful and the user is allowed to view the camera. The benefit of this over the current method is you can have more than one 'readUser` per path. |
Beta Was this translation helpful? Give feedback.
-
discussion moved here #517 |
Beta Was this translation helpful? Give feedback.
-
this feature has been implemented in v0.17.12 |
Beta Was this translation helpful? Give feedback.
discussion moved here #517