So I know how to create publishers using the API, and if in the manager Applications/{name}/Source Security/RTSP Sources is set to “Require password authentication” everything works great.
It also works great if we don’t have a publisher and then have that option set to “Open”.
I’d like to offer our clients the ability to select whether they want to enable or disable authentication.
So while I can create/delete the publishers, I can’t work out how to toggle the authnetication requirements using the rest API.
Can I please have some examples of the requests I’d need to set
- RTMP to Open
- RTMP to Require password authentication
- RTSP to Open
- RTSP to Required password authentication