Stream Name Alias

I am trying to use the Stream Name Alias module to do the following.

I start a stream in application “live” called “stream1” then I would like clients to be able to call that stream via:

rtmp://our-server.com/live/stream1

http://our-server.com/live/stream1/playlist.m3u8

Then in addition

stream1-ref1

stream1-ref2

stream1-ref3

This is what I cam up with for the Stream Aliases file… but isn’t working. What am I doing wrong.


stream1-*=rtsp://127.0.0.1/live/stream1

*=${Stream.Name}


Hi,

You would need the following:

in the file: conf/aliasmap.play.txt add:

stream1-*=stream1

and in conf/aliasmap.stream.txt

stream1=rtsp://127.0.0.1/live/stream1

Than make sure you add stream1 to ‘startup streams’

in the ‘Server’ section of the manager, followed by a server restart.

Daren