I am trying to record a voice channel session with a bot.
The VoiceReceiver
class has only one function createStream()
and a debug event.
The createStream()
function creates a new stream only for one user in a voice channel. But, I want to record every user in the voice chat at once, thus capturing the whole conversation that is going on.
I have thought of looping over all the users and creating a stream for each one but then I would have a lot of recordings. That is also assuming that all the streams would run in parallel.
Is there a way I can record every person's voice in the voice channel?