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!