Wowza Community

StreamNameAlias: Simple & powerful stream name alias module


Could somebody tell what I am doing wrong? The module is installed, I publish a stream and try to subscribe to it.

The StreamNameAliasMap.txt looks like this:


The published stream name is “stream_undefined”. I am subscribing to the same stream name but this is what I get:

nsPlay: NetStream.Play.StreamNotFound (Failed to play stream_1; stream not found.)

If I subscribe to stream_1, I get:

nsPlay: NetStream.Play.Failed (ModuleStreamNameAlias: No match for stream name stream_1.)

Any help appreciated, thank you!


Thank you Richard, that seems to work!

Can you explain what the goal is?


Yes, on the last question: alias on the left, stream name on the right.

But I don’t think Wowza caches sdp files.


It’s a very broad a question, but I think you would start with a system for registration and other business logic using web pages and a datatbase.

Then use connection time authentication in Wowza module that connects to database, and or NetStream authentication, override play command and pass user token to Wowza as querystring.

Or your web pages do most of the heavy lifting of authentication and forming appropriate rtmp connection URLs and stream names.


This is a little beyond forum. Lots of development work to do. But as mentioned there are ways to authenticate, for example:


I have not seen an “sdp refresh” parameter. Do you have a reference for that?


What version of Wowza are you using? If it is Wowza Server 2, you are using the StreamNameAlias package for Wowza 1.7x

If you have correct package, for that rule to work, you have to be publishing a live stream named “stream_1” to that application

You can add the wildcard at the end to let actual stream names through, good for testing.



Yes, they do work together, I tested, but you don’t need to add a prefix to a live stream.

The Alias system does not work with playlist items, the static or live streams that are the source of a Stream class stream. But it does work with the resultant stream.


There are code changes in patches.


The CDN should be able to re-stream this:


I just did it from here. I created an Application on my Wowzer server running locally named “edge”, with Application.xml /StreamType “liverepeater-edge”. Then I opened LiveVideoStreaming player and entered:

Server: rtmp://localhost/edge

Stream: rtmp://

Try that first. Then try getting an alias working. An alias could be:



Is there a path or absolute url in the smil’s video src attribute? If so, try putting the smil file in the same folder as the content and using relative link with no path

<video src="mp4:sample.mp4" system-bitrate="450000"/>



I got the following situation:

I have in the file: the following two lines:


I removed some server names and user logins for security.

To start those two streams, I enter the webmanager en start both stream with the following actions:

Start a new stream with the option rtplive and fill the name ‘axis’ in it.

Click on submit, and the stream is started and chunked.

In the webinterface I see the name ‘axis’ and can use that in the player urls to watch it back.

But when I start the second stream. I use the option shoutcast in stead of rtplive.

After that I see that the stream is started and chunked…

But now the big issue:

The name of the shoutcast stream is not shoutcast. It is the complete source url… And that is a complex url and cannot be used with the flash client.

To fix that I have to add a line to the file with the following url:


But this is not done for the axis stream which has a rtplive type.

Is this default behavior? Because than I need to known when this occurs?

Cause we need to automate those aliases.

Does the shoutcast type always use the stream url for it’s naming? Or will that be changed to the same behavior als the rtplive way? That would be nice.

PS, we use the ‘!’ as seperator.




hmmm a bit strange but it works now… I updated with patch 10 and reinstalled the stream name alias module. And it is working…

There was no change in the code between patch 9 and 10? Than it is even more strange…

But ok, i got it working.

Thanks for the info



Hi Richard,

You are try to use StreamNameAlias + StreamController, you know if this two module can be work together?

I’m trying to use StreamController, and use the Rules in StreamNameAlias, for validate and fix the Stream Name.


I call in StreamController the file Extremists.m4v and if forget add the mp4: with the mapping for StreamNameAllias I’m try to fix the correct name adding mp4:Extremists.m4v

I’m using this rules in VOD application but I’m try to combine in LIVE application this two modules and don’t mach any rules, but the module is loading ok.


Thanks in advance for any tip or advice.



Thanks, I’m try with the Playlist item :frowning:

I’ll try to do this the other way…


Remove the first line from your alias file, or put it in the end. The wildcard picks up any request and it never gets to your specific rtsp aliases.


I meant, is there a way to use the SimpleAlias with a custom HTTP provider. without creating a dedicated application or module?



The goal is to support RTP-live sources, which can change the IP arbitrary and need to update the SDP.

AFAIK, Wowza caches the SDP’s, and won’t notice the changes immediately.

So the idea is to create an alias, and create new SDP’s as needed, and re-point this alias to these new SDP’s.

I don’t want to develop a custom module for this (as I only using custom provider today for creating/erasing the SDP’s remotely), hence I’m looking to extend the custom HTTP provider for this.

Thanks again.


About the format:


It means the alias for streaming is on the left side, and the SDP name is on the right side, correct?


But if some users are connected all the time?

If RTP source changes, and no longer available, Wowza will disconnect all viewers, and re-read the SDP (which will contain the new source address)?