Skip to content

Commit

Permalink
IT WORKS
Browse files Browse the repository at this point in the history
  • Loading branch information
braindigitalis committed Oct 4, 2024
1 parent c8b8b0b commit 03e7656
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dpp/voice/enabled/opus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ discord_voice_client& discord_voice_client::send_audio_opus(uint8_t* opus_packet
/* Append the 4 byte nonce to the resulting payload */
std::memcpy(payload.data() + payload.size() - sizeof(noncel), &noncel, sizeof(noncel));

this->send(reinterpret_cast<const char *>(payload.data()), payload.size(), duration);

timestamp += frame_size;

/* Increment for next packet */
Expand Down

0 comments on commit 03e7656

Please sign in to comment.