Hi,
How do I define a username and password, like user1 and pass1, and in the HLS playback, it must include the username and password like this
http://IP:1935/live/abcde/playlist.m3u8?user=user1&pass=pass1
is there any built-in module to do that?
Thanks
Chuck
Hi,
Can I do this with HLS streaming? I actually will only use for HLS, not RTMP. Thanks
There is nothing built in that provides this functionality for HLS streams.
You would need to develop a custom module. A good starting place would be:
How to limit playback by IP address (ModuleOverridePlayRestrictIP)
Alternatively, this guide provides other methods for encrypting HLS streams:
How to secure Apple HLS streaming using DRM encryption
Salvadore