#socket randomly stops receiving data

1 messages ยท Page 1 of 1 (latest)

warm hatch
#

I wish. It's exactly the roadblock on my bot. The best I have so far is a very barebones discord.js speaking status exporter that I'm trying to integrate

heavy mica
vivid rivet
#

yes but my problem is that unpack_audio doesn't get called although someone is speaking

vivid rivet
#

@heavy mica could you try the code example i provided in the stackoverflow question and tell me if you have the same issue. Maybe it's not because of discord/pycord but it's with my internet connection or something

vivid rivet
#

with what data

#

unpack_audio as the name suggests unpacks the received voice from the channel. the problem is there is no voice data :/

heavy mica
#

wouldn't the data be in the sink?

#

why did you delete your original message ๐Ÿ‘€

#

I'm not sure exactly, I haven't tested it myself I'm just going off of the docs

vivid rivet
vivid rivet
#

but didn't work out

heavy mica
#

don't you still need help though?

#

I can archive it for you if you want

vivid rivet
#

yes need help desperately

heavy mica
#

so why would you delete the thread ๐Ÿ‘€

vivid rivet
#

anger

#

i was giving up

heavy mica
#

roger

vivid rivet
#

have you tried running the code?

heavy mica
#

no I'm not at my workstation

vivid rivet
#

okay :c

brazen cape
#

Any updates? there is a function in js that can do this but nothing in python. Can we use the discord api directly to check if a user is speaking?