API reference
Event MediaSinkWantsReceived
- Namespace
- DisCatSharp.Voice
- Assembly
- DisCatSharp.Voice.dll
Triggered when Discord's voice server sends media preferences for outbound media.
public event AsyncEventHandler<VoiceConnection, VoiceMediaSinkWantsEventArgs> MediaSinkWantsReceived
Returns
- AsyncEventHandler<VoiceConnection, VoiceMediaSinkWantsEventArgs>
- Your library to write discord bots in C# with focus on always providing access to the latest discord features.
Remarks
This does not affect the connection's receive policy. The server currently uses it for video it would like the client to send.