How to force AAC and MP3 audio decode to be stereo when using transcoder

In some streaming scenarios, the source audio stream might switch between stereo and mono. By default, Wowza Transcoder assumes that the number of audio channels doesn't change during a transcoding session. You can add a parameter to a transcoder template to instruct the transcoder to force any mono audio frames to stereo by duplicating the mono stream for both the left and right channels.

Note: Wowza Streaming Engine™ 4.5.0.01 or later is required.
To enable this feature in a transcoder template, add the following section to the <Decode> block of the template:
<Audio>
	<Parameters>
		<Parameter>
			<Name>default.scaleChannels</Name>
			<Value>2</Value>
			<Type>Long</Type>
		</Parameter>
	</Parameters>
</Audio>

Originally Published: For Wowza Streaming Engine 4.5.0.01 on 06-17-2016.
 

If you're having problems or want to discuss this article, post in our forum.