Module discord::voice [] [src]

Voice communication module.

A VoiceConnection for a server is obtained from a Connection. It can then be used to join a channel, change mute/deaf status, and play and receive audio.

Structs

VoiceConnection

An active or inactive voice connection, obtained from Connection::voice.

Traits

AudioReceiver

A receiver for incoming audio.

AudioSource

A readable audio source.

Functions

create_pcm_source

Create an audio source based on a pcm_s16le input stream.

open_ffmpeg_stream

Use ffmpeg to open an audio file as a PCM stream.

open_ytdl_stream

Use youtube-dl and ffmpeg to stream from an internet source.