Improve docs, allow for webm/opus demuxing and playing broadcasts without specifying a type

This commit is contained in:
Amish Shah
2018-01-20 13:01:48 +00:00
parent f14193b93a
commit 791740220e
2 changed files with 35 additions and 8 deletions

View File

@@ -56,6 +56,7 @@ const Messages = {
VOICE_JOIN_SOCKET_CLOSED: 'Tried to send join packet, but the WebSocket is not open.',
VOICE_PLAY_INTERFACE_NO_BROADCAST: 'A broadcast cannot be played in this context.',
VOICE_PLAY_INTERFACE_BAD_TYPE: 'Unknown stream type',
VOICE_PRISM_DEMUXERS_NEED_STREAM: 'To play a webm/ogg stream, you need to pass a ReadableStream.',
OPUS_ENGINE_MISSING: 'Couldn\'t find an Opus engine.',