Server side switching to a transcoded stream - delay and poor performance
I created a server side switching module that switches live and on-demand streams onto a "master" stream object. Works fine except for when I try to switch to a real-time transcoded version of a stream.
Specifically, I have a webcam stream sending Speex audio so I am transcoding it to AAC codec. When I attempt to switch to the transcoded stream that has the AAC codec, it doesn't switch right away. It takes up to 2 minutes for it to actually show up on the stream.
Any suggestions on how to resolve this? I need to switch to the AAC version of the stream so that the audio on the recording comes through.
I have the following stream properties set on the server side switching module:
To clarify, you are switching to the transcoded live stream from a VOD file? If so, what is the codec for the VOD stream? Do you get the same issue when switching to a live stream that is originally encoded with AAC?