If you run a Livestream type site and allow users to stream by giving them a pubkey to stream you need a mechanism to protect the pubkey during playback or else anybody will be able to stream.
Example:
STREAMING USER: streams with below
rtmp://example.com/live pubkey: 382hki8
file names become 382hki8-(n).ts under /tmp/hls
but.. if I return a different stream name 98ke8i it still doesn't change the name of the file names