passphrase to srs server and prioritize input streams #3735
Replies: 4 comments
-
Ok, I found out that I can work with HTTPCallback.
I guess I have to use for this the python server, that is ok. I also can grab with curl the client info and see there, if my publishing connection use the correct token:
|
Beta Was this translation helpful? Give feedback.
-
You should write your API server like the python server, which is just a example. |
Beta Was this translation helpful? Give feedback.
-
BTW, it's the right solution to authenticate your user. |
Beta Was this translation helpful? Give feedback.
-
Ok thank you. When someone have the same problem, here is a little hack of the demo sever: |
Beta Was this translation helpful? Give feedback.
-
Hello winlinvip,
is it possible to secure the srs server with an password or key? Other servers support something like:
rtmp://user:[email protected]/live/livestream
wowza has also a feature, that you can load a dummy clip and when your input stream fails it play this clip. And you also can stream a second clip with a higher priority, that replace the standard stream.
For example: we have a 24/7 stream and sometime we have live events. This live event stream have a higher priority and when this starts, it replace the other streams. People who watch our stream have not to reload the page when the streams are changing, because they don't break the connecting.
Is this also possible with srs?
Beta Was this translation helpful? Give feedback.
All reactions