I have various live streams coming into one application (myapp). Some are high quality source streams, some are low quality. Every stream has a different name. I want to use the transcoder to provide multiple streams for adaptive bitrate playback.
How can I provide logic to have higher quality streams use a certain transcoder template (say providing 4 streams) and lower quality streams use a different transcoder template (say providing only 2 streams).
The Transcoder can be set up to match a stream name to a template, so you could create a template that matches each stream and that will provide you with an ABR output of your incoming stream, however this will be per stream. You will likely also need to remove any fallback template so as not to be transcoding streams that don't match the template.
Unfortunately your suggestion of grouping multiple unique streams into a single transcoder template and then to generate a single ABR output stream is not how the Transcoder is designed to work, assuming if I've read your suggestion correctly.