monibuca icon indicating copy to clipboard operation
monibuca copied to clipboard

authentication on stream/ rtsp url

Open smk-adiance opened this issue 4 months ago • 3 comments

How can I make my pulled RTSP stream play only when the correct static token is provided in the URL?

it worked for me when i last tried it with this code i have attached it:

config.yaml but it is not working now, why so?

smk-adiance avatar Aug 18 '25 07:08 smk-adiance

what token

langhuihui avatar Sep 08 '25 01:09 langhuihui

By token I mean a fixed string/key that I add to the stream URL, for example: rtsp://my-server/live/stream?token=12345 Only if the correct token (12345 in this case) is present in the URL should the stream play. Earlier, I tried setting this up in config.yaml with a static value, but now it doesn’t seem to work. Can you suggest the right way to enable authentication?

smk-adiance avatar Sep 08 '25 09:09 smk-adiance

https://monibuca.com/en/features/authentication.html

langhuihui avatar Sep 08 '25 09:09 langhuihui