-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Description
I have a system setup where publishers get a streamkey (lets say abc123) from my api and are able to stream to an app named 'stream' where it creates HLS playlist and TS files. (abc123.m3u8, etc) They point their encoders to rtmp://streaming.server.com/stream/abc123
Then via on_publish it calls an 'authentication application' that checks if that streamkey is in our api and then returns 200 if it is and 4xx if it isn't. It can also look up a more public key (xyz789) at this point (but how would I return that key to the rtmp module?)
What I then need to be able to do it somehow change the stream name to that public key and have the files named xyz789.m3u8 etc so that only the publisher and not any clients know the original streamkey and can watch the stream via http://streaming.server.com/stream*/xyz789.m3u8
*or another redirected app