Skip to main content
November 24, 2008
Question

Can I insert an extra audio stream into the live stream?

  • November 24, 2008
  • 1 reply
  • 561 views
I have a project where I need to set up a broadcast (from pre-recorded files) so people can 'tune in' at a certain time to watch a show. Some of these shows should have a soundtrack, can I use SSAS to overlay an extra audio stream? So I would send one video and two audio streams out to the client as one stream.

Alternatively, can I use SSAS to replace the audio, so effectively demux the original audio off and send out a different audio stream in its place.

Thank you in advance for any advice.
    This topic has been closed for replies.

    1 reply

    November 24, 2008
    Unfortunately, no... you can't do either of the things you listed. You would need to use separate streams for the audio and video, but that would introduce potential for sync issues (in fact, I can pretty much guarantee that you'd have sync problems).

    I suppose that a really hackish fix would be to use a stereo audio track and use the left and right channels for your two audio sources. You could then use the rightToRight, leftToRight, leftToLeft, and rightToLeft properties of the sound transform object to handle playback (haven't tried that myself, but I suspect it would work)
    November 24, 2008
    Thank you very much Jay, that's very helpful.