DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
Loading...
Searching...
No Matches
Voice Connection

For all of the voice connection related stuff. More...

Classes and Structures

struct  discord_core_api::audio_frame_data
 Represents a single frame of audio data. More...
 
struct  discord_core_api::playlist
 Playlist of songs and other variables. More...
 
class  discord_core_api::song_api
 A class representing the song apis. More...
 
struct  discord_core_api::song_completion_event_data
 Song completion event data. More...
 
struct  discord_core_api::voice_connect_init_data
 For connecting to a voice-channel. "streamInfo" is used when a SOCKET is created to connect this bot to another bot, for transmitting audio back and forth. More...
 
class  discord_core_api::voice_connection
 voice_connection class - represents the connection to a given voice channel_data. More...
 

Enumerations

enum class  discord_core_api::audio_frame_type : uint8_t { discord_core_api::audio_frame_type::unset = 0 , discord_core_api::audio_frame_type::raw_pcm = 1 , discord_core_api::audio_frame_type::encoded = 2 }
 Audio frame types. More...
 
enum class  discord_core_api::stream_type
 For selecting the type of streamer that the given bot is, one must be one server and one of client per connection.
 

Enumeration Type Documentation

◆ audio_frame_type

enum class discord_core_api::audio_frame_type : uint8_t
strong
Enumerator
unset 

Unset.

raw_pcm 

Raw pcm.

encoded 

Encoded audio data.

Definition at line 374 of file Utilities.hpp.