Stream Alias for RTSP Announce

All,

I am trying to use a stream alias so that I an map an RTSP/RTP stream Announce from an encoder whose stream name is randomly generated. So the URI in the Announce would like rtsp://<IP_of_wowza/live/<RANDOM_STRING>.sdp. The goal is to use the stream alias to map it so that someone can make a request rtsp//<IP_of_wowza/live/video.sdp and the application “live” would respond with the SDP from the announce and stream.

I was able to load the alias module, made a couple of passes at configurations on the aliasmap.stream.txt file but have not been able to get it to work. First, is this possible? Second, if so is there any specific documentation on doing this?

THX

Jim

Jim,

The aliasmap.stream.txt files is for aliases that will be resolved when you start a stream in StreamManager. Use the aliasmap.play.txt file for your purpose.

Also take a look at the StreamNameAlias API:

https://www.wowza.com/docs/how-to-use-the-imediastreamnamealiasprovider2-interface

Richard

The alias.play was the issue, working fine now.

THX

Jim