D++ (DPP)  10.0.30
C++ Discord API Bot Library
dpp::voice_out_packet Struct Reference

An opus-encoded RTP packet to be sent out to a voice channel. More...

#include "discordvoiceclient.h"

Collaboration diagram for dpp::voice_out_packet:

Public Attributes

uint64_t duration
 Duration of packet. More...
 
std::string packet
 Each string is a UDP packet. More...
 

Detailed Description

An opus-encoded RTP packet to be sent out to a voice channel.

Member Data Documentation

◆ duration

uint64_t dpp::voice_out_packet::duration

Duration of packet.

◆ packet

std::string dpp::voice_out_packet::packet

Each string is a UDP packet.

Generally these will be RTP.


The documentation for this struct was generated from the following file: