DiscordPHP-Voice Documentation

Deprecated

Table of Contents

src/Discord/Voice/Concerns/ManagesPlayback.php
src/Discord/Voice/Concerns/ManagesReceiving.php
src/Discord/Voice/Dave/BinaryFrame.php
src/Discord/Voice/Helpers/ByteBuffer/BufferArrayAccessTrait.php
src/Discord/Voice/RecieveStream.php
src/Discord/Voice/Rtp/Packet.php
src/Discord/Voice/VoiceClient.php

ManagesPlayback.php

Line Element Reason
341 ManagesPlayback::playDCAStream()

DCA is now deprecated in DiscordPHP, switch to using playOggStream with raw Ogg Opus.

ManagesReceiving.php

Line Element Reason
89 ManagesReceiving::getRecieveStream()

Use getReceiveStream instead.

BinaryFrame.php

Line Element Reason
64 BinaryFrame::fromPayload()

Use self::fromServerPayload() instead.

108 BinaryFrame::toPayload()

Use self::toServerPayload() instead.

BufferArrayAccessTrait.php

Line Element Reason
22 BufferArrayAccessTrait

Use BufferArrayAccessTrait. Kept for backward compatibility; forwards to the canonical trait.

RecieveStream.php

Line Element Reason
28 RecieveStream

The class was renamed, kept for backwards compatibility.

Packet.php

Line Element Reason
49 Packet::$buffer

VoiceClient.php

Line Element Reason
466 VoiceClient::checkForExecutable()

Use ProcessAbstract::checkForExecutable() instead.

228 VoiceClient::$recieveStreams

Use receiveStreams instead.

Search results