One of my clients wants to limit the stream names that his application will accept for streaming. I’m trying to accomplish this with the StreamNameAlias module. My understanding from reading the docs is that adding the appropriate entries to conf/aliasmap.stream.txt will do what I want.
I’ve edited that file and removed the wildcard entry. I’ve tried adding a line that looks like:
stream1=${Stream.Name}
and found that I can still send any stream name with no problem. I then replaced that with a line that read:
stream1=stream1
but again found that I could send any stream name I want. I’m obviously misunderstanding how to make use of this module and how to build the aliasmap file.
Any pointers? For example, if I only want my application to accepts streams with stream names of “stream1”, “stream2”, or “stream3”, how would I go about achieving that short of writing a custom module?