Methods - VoiceChannels

joinVoiceChannel
Join a voice channel to send and receive audio.
client.joinVoiceChannel( channelID [, callback] );
  • channelID: A voice channel ID to join.
  • callback
    • error

leaveVoiceChannel
Disconnected from a voice channel.
client.leaveVoiceChannel( channelID [, callback] );
  • channelID: A voice channel ID the client is in.
  • callback

getAudioContext
Can either play an audio file, or send a buffer stream of raw PCM data.
client.getAudioContext( channelID [, callback] );
  • channelID: A voice channel ID the client is in.
  • callback
    • error
    • stream

results matching ""

    No results matching ""