How to use secure Links?
Compile Nginx RTMP with Module –with-http_secure_link_module
Find loaded Nginx Module on Linux
# nginx -V 2>&1 | tr — – ‘\n’ | grep module
# date -d “2016-12-31 23:59” +%s
1505460745
if your remote IP address is 117.222.217.2
# echo -n ‘1505460745/hls/stream.m3u8117.222.217.2 svnlabs’ | openssl md5 -binary | openssl base64 | tr +/ -_ | tr -d =
bdlfijVfw4Rt1nzXfzd9Ng
Secure Nginx HLS m3u8 stream link with Expired Token look like
http://nginx-server-ip-address/hls/stream.m3u8?md5=bdlfijVfw4Rt1nzXfzd9Ng&expires=1505460745
Securing URLs with the Secure Link Module in NGINX and NGINX Plus