discordgo icon indicating copy to clipboard operation
discordgo copied to clipboard

Need a method to notify OpusSend / OpusRecv users of changes

Open bwmarrin opened this issue 8 years ago • 0 comments

Right now if you have code running that is sending on or receiving on one of the Opus voice channels you won't get notified about important changes - like if the guild admin changes the voice region, or discordgo is disconnected from voice, or ChannelVoiceJoin is called with a different guild.

When this happens the code operating on those channels will continue as if no change took place and this causes some problems.

I suspect I'll add another channel that can be used to alert that the current voice websocket/udp connection are being disconnected.

bwmarrin avatar Feb 19 '16 21:02 bwmarrin