프로퍼티 | 타입 | 설명 | |
---|---|---|---|
OnFrameReceived | void | ||
OnUserIsSpeaking | void | ||
ReceiveVoiceAsync | Task | ||
Reconnect | Task | ||
SendVoiceAsync | Task | ||
VoiceSocket | Discord.API.Client | ||
WatcherAsync | Task |
메소드 | 설명 | |
---|---|---|
ClearPCMFrames ( ) : void | ||
Connect ( string host, string token, ulong userId, string sessionId, |
||
Disconnect ( ) : Task | ||
SendHeartbeat ( ) : void | ||
SendIdentify ( ulong id, string sessionId ) : void | ||
SendPCMFrames ( byte data, int offset, int count ) : void | ||
SendSelectProtocol ( string externalAddress, int externalPort ) : void | ||
SendSetSpeaking ( bool value ) : void | ||
WaitForQueue ( ) : void |
메소드 | 설명 | |
---|---|---|
Cleanup ( ) : Task | ||
ProcessMessage ( string json ) : Task | ||
Run ( ) : Task |
메소드 | 설명 | |
---|---|---|
OnFrameReceived ( ulong userId, ulong channelId, byte buffer, int offset, int count ) : void | ||
OnUserIsSpeaking ( ulong userId, bool isSpeaking ) : void | ||
ReceiveVoiceAsync ( |
||
Reconnect ( ) : Task | ||
SendVoiceAsync ( |
||
VoiceSocket ( DiscordConfig config, Discord.Audio.AudioServiceConfig audioConfig, |
||
WatcherAsync ( ) : Task |
public Connect ( string host, string token, ulong userId, string sessionId, |
||
host | string | |
token | string | |
userId | ulong | |
sessionId | string | |
parentCancelToken | ||
리턴 | Task |
public SendIdentify ( ulong id, string sessionId ) : void | ||
id | ulong | |
sessionId | string | |
리턴 | void |
public SendPCMFrames ( byte data, int offset, int count ) : void | ||
data | byte | |
offset | int | |
count | int | |
리턴 | void |
public SendSelectProtocol ( string externalAddress, int externalPort ) : void | ||
externalAddress | string | |
externalPort | int | |
리턴 | void |