How to check if a specific user is streaming (screen share or camera) in any voice channel?

Hello, I'm currently trying to figure out how to check whether a specific user is streaming in any voice channel on the server. Streaming means either screen share or camera (If camera isn't possible, let me know) What's the best way to do this? Currently I'm just listening to the user's presenceUpdate event.
4 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
d.js docs
d.js docs2y ago
Documentation suggestion for @ncls.:property VoiceState#streaming Whether this member is streaming using "Screen Share"
Squid
Squid2y ago
You can check this property from the voiceStateUpdate event's parameters
ncls.
ncls.2y ago
Thank you a lot! I will try to implement this Worked perfectly. Thanks