Dynamic live sources
Hi Guys,
is there a way to handle a dynamic part in live sources?
My source needs to add generated token to the link. Token is received by separate request.
I see few possibilities here:
1. use an environment variable in source link, cron will store token there - I guess there is no such possibility yet
2. use an external command in link like: rtmp://1.2.3.4/source live=true swfUrl=http://anyurl token=`gettoken.sh` - it's not working
3. use a proxy server to redirect local source to remote with valid token - I didn't try it but found this http://nginx-rtmp.blogspot.com/2014/01/ ... n-111.html
Any ideas?
is there a way to handle a dynamic part in live sources?
My source needs to add generated token to the link. Token is received by separate request.
I see few possibilities here:
1. use an environment variable in source link, cron will store token there - I guess there is no such possibility yet
2. use an external command in link like: rtmp://1.2.3.4/source live=true swfUrl=http://anyurl token=`gettoken.sh` - it's not working
3. use a proxy server to redirect local source to remote with valid token - I didn't try it but found this http://nginx-rtmp.blogspot.com/2014/01/ ... n-111.html
Any ideas?