You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am Reciving everyting until the opcode 4 but when i try to send the data the udp receives it but nothing happens tried with a discord bot library and the intents are correct and the bot can speak he has the permission
Steps to Reproduce
import socket
import struct
import nacl.utils
import json
import asyncio
from pyogg import OpusEncoder
from nacl.secret import SecretBox
import websockets
from Crypto.Cipher import Salsa20
import struct
import subprocess
import os
from cryptography.hazmat.primitives.ciphers.aead import ChaCha20Poly1305
import pyogg
from pydub import AudioSegment
import time
Description
I am Reciving everyting until the opcode 4 but when i try to send the data the udp receives it but nothing happens tried with a discord bot library and the intents are correct and the bot can speak he has the permission
Steps to Reproduce
import socket
import struct
import nacl.utils
import json
import asyncio
from pyogg import OpusEncoder
from nacl.secret import SecretBox
import websockets
from Crypto.Cipher import Salsa20
import struct
import subprocess
import os
from cryptography.hazmat.primitives.ciphers.aead import ChaCha20Poly1305
import pyogg
from pydub import AudioSegment
import time
class Voice:
def init(self, guild, token, endpoint, session_id, user_id):
self.guild_id = guild
self.token = token
self.endpoint = endpoint
self.session_id = session_id
self.user_id = user_id
self.websocket = None
self.RTP_HEADER_SIZE = 12
self.RTP_HEADER = bytearray([0x80, 0x78])
self.sequence = 0
self.timestemp = 0
self.ip = None
self.port = None
self.ssrc = None
self.secret_key = None
Expected Behavior
It should speak the .mp3 file
Current Behavior
UDP connection Reciving the data but nothing happens
Screenshots/Videos
No response
Client and System Information
Windows 11
The text was updated successfully, but these errors were encountered: