VoiceGroupCryptoInterface
in
Interface for group-based AEAD encryption and decryption for Discord voice RTP packets.
Tags
Table of Contents
Methods
- decryptRTPPacket() : string|false
- encryptRTPPacket() : string
Methods
decryptRTPPacket()
public
decryptRTPPacket(VoicePacket $packet[, int $seq = 0 ]) : string|false
Parameters
- $packet : VoicePacket
- $seq : int = 0
Return values
string|falseencryptRTPPacket()
public
encryptRTPPacket(VoicePacket $packet[, int $seq = 0 ]) : string
Parameters
- $packet : VoicePacket
- $seq : int = 0