I am in need of alias for hls streams and not rtsp streams, so I kept hasStreamName=false.
And intentionally, am in need of alias to be used only once.
But my concern is, I made changes for hls only and not for rtsp, still rtsp(which used to play before) is not playing after changes.
Did you restart your EMS after making changes to your config files? (This is needed by the way.)