Basic setup of StreamNameAlias

Hi community,

I found number of post about the StreamNameAlias but I am having tough time setting it up.
My end scenario is a bit more complex, but even basic test fails.

I have an app liveorigin, I have 2 Stream Files “Anton.stream” and “Anton Test.stream” pointing to rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov, I have a startup stream “Anton” for liveorigin app.

I have tried aliasmap.play.txt like this:

#Converting names
My*=rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov
*=${Stream.Name}

I also tried this

#Converting names
MyStream=Anton
*=${Stream.Name}

I even tried this

Anton*=Anton
.*=${Stream.Name}

In all cases, trying to play the RTSP://serverIP:1935/liveorigin/Anton or RTSP://serverIP:1935/liveorigin/MyStream or RTSP://serverIP:1935/liveorigin/Anton.stream fails.

Always resulting in the error:

ModuleStreamNameAlias.nameToAlias[play]: Can’t find alias entry for: MyStream
ModuleStreamNameAlias.nameToAlias[play]: Can’t find alias entry for: Anton.stream
ModuleStreamNameAlias.nameToAlias[play]: Can’t find alias entry for: Anton Test.stream

The only time error didn’t occur, was when I had only in aliasmap.play.txt

.*=${Stream.Name}

ModuleStreamNameAlias.nameToAlias[stream]: streamName:Anton.stream alias:{pattern: “*” alias:“${Stream.Name}” wildcardMatches:{[0]: “Anton.stream”}} result:Anton.stream

But even then the stream didn’t play in VLC.

Removing and as per installation instructions from Application.xml plays the stream after connecting to the Stream Files.
Btw I could not connect to Stream Files when Module installed and activated:

Stream alias access denied Anton.stream.

Thank you for your help!

Ok that was very dumb on my side :man_facepalming:
What should have been

<Property>
	<Name>aliasMapNameDelimiter</Name>
	<Value>=</Value>
</Property>

I had it as

<Property>
	<Name>aliasMapNameDelimiter</Name>
	<Value>/</Value>
</Property>

My alias map.play.txt was

#Converting names
Anton%20Test=Anton Test
*=${Stream.Name}

And alias map.stream.txt was

Anton Test=rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov
*=${Stream.Name}