Closed ktb92677 closed 3 years ago
I honestly don't remember if mono was tested with this or not. I do remember that you'll always get decoded stereo float samples back though.
So the decoder always returns a left and right channel... since the audio is in mono will using either one work?
Unfortunately, I'm not sure and it's been a couple years since I tested with files. I would encourage you to test with a mono/stereo file to see what happens. I won't have time to do that unfortunately.
@ktb92677 How to play received left and right buffer in browser?? In onDecode, I tried with audio element as audioelement.src = left; audioelement.load()
@atulbari-samespace Hi there. This repo is a WebAssembly module, and I recommend using the StackOverflow web-audio-api
tag to post questions and search answers. Sorry I can't be of much help here!
What happens if the opus stream is in mono? Which channel should I use left or right?