Commit Graph

106 Commits

Author SHA1 Message Date
Amish Shah 835bff74cd lint: remove unused import 2018-03-05 20:17:38 +00:00
Amish Shah ff825cd8b8 voice: fix #2331 (speaking not set back to false on stream ending) 2018-03-05 19:41:35 +00:00
nekobako c25ea45866 fix(StreamDispatcher): emit volumeChange event when the volume changes (#2349) 2018-02-21 22:21:13 +01:00
Pascal 05c5bdc476 fix(StreamDispatcher): do nothing when resume is called when not paused
Fixes #2324
2018-02-19 18:17:51 +01:00
Michel Nguyen edc4e2b751 docs: fix streamdispatcher documentation (#2275)
* docs change

* fix streamdispatcher documentation

Signed-off-by: Michel Nguyen <modzongaming@gmail.com>

* fucks sake

Signed-off-by: Michel Nguyen <modzongaming@gmail.com>

* typings

Signed-off-by: Michel Nguyen <modzongaming@gmail.com>

* typings again 👀

Signed-off-by: Michel Nguyen <modzongaming@gmail.com>
2018-01-21 18:23:00 +01:00
Amish Shah 76891a1e00 try fix 2018-01-21 10:34:14 +00:00
Amish Shah aa09490724 whoops 2018-01-21 10:31:12 +00:00
Amish Shah 0e262ea8d7 More informative stream errors 2018-01-21 10:29:03 +00:00
Amish Shah 83640a2640 refactor: tidier overflow checking in StreamDispatcher 2018-01-13 20:50:24 +00:00
Amish Shah 8cab673fea fix: stream dispatcher throwing key error due to missing secretKey 2018-01-13 12:47:19 +00:00
Amish Shah eb40a663dd god damn it i forgot to save the file the first time 2018-01-05 21:23:21 +00:00
Amish Shah eeded90782 Fix: "value" argument is out of bounds when writing timestamp header to packet 2018-01-05 21:22:11 +00:00
Amish Shah 2531065bbd Fix loop and only emit error, not warn 2017-11-04 15:02:58 +00:00
Amish Shah 6a523ba96a Reimplement StreamDispatcher error and start event in docs, emit error instead of debug if there are listeners for errors 2017-11-03 20:01:51 +00:00
Amish Shah 8efafb6a43 StreamDispatcher documented as extending WritableStream, not stream.Writable 2017-10-31 19:50:02 +00:00
Amish Shah 995cd181c9 Fix setFEC bug and use bitrateEditable in setBitrate 2017-10-31 19:47:58 +00:00
Amish Shah 121a40bb4a Use passes and increase highWaterMark to 12 2017-10-31 19:43:58 +00:00
Amish Shah fa7f391b3a Fix ECONNRESET (again) 2017-10-31 18:12:49 +00:00
Amish Shah 2e1a28a6ee Use destroy and end in apt places 2017-10-29 18:04:36 +00:00
Amish Shah cf30b1ef08 Add @extends to some classes 2017-10-29 17:43:22 +00:00
Amish Shah 5cb757add6 Add highWaterMark 2017-10-29 13:48:07 +00:00
Amish Shah 5879cd7c8e Merge branch 'voice-rewrite' of https://github.com/hydrabolt/discord.js into voice-rewrite 2017-10-29 13:19:41 +00:00
Amish Shah d4a9e5ec9c Fix ESLint and handle stream errors 2017-10-29 13:19:38 +00:00
Will Nelson dbf4ef9a7c handle string ffmpeg input (#2064)
* handle string ffmpeg input

* rename stuff for new purpose

* file prefix isn't needed

* pass tests

* remove dumb spaces in dispatcher docs
2017-10-27 22:42:21 +01:00
Amish Shah 8a87cbf404 Better broadcast stuff 2017-10-27 14:32:02 +01:00
Amish Shah bdf8955098 "yeah we need voice broadcasts cause we make big big music bots" no stop 2017-10-26 21:00:53 +01:00
Amish Shah 6490d1b911 FEC and PLP exposed 2017-10-26 18:36:04 +01:00
Amish Shah 387d96bd6b Add setPLP and setFEC 2017-10-26 18:22:18 +01:00
Amish Shah 45ef80b92f Fix docs 2017-10-26 18:05:45 +01:00
Amish Shah eeed5f23e3 Move streams to StreamDispatcher
breaking: removed AudioPlayer#setBitrate
2017-10-26 17:53:10 +01:00
Amish Shah a79c9ac11a add: StreamDispatcher#pausedTime 2017-10-26 17:11:03 +01:00
Amish Shah 116b4c3788 Rename unpause to resume 2017-10-26 16:47:59 +01:00
Amish Shah c8a75e4c29 More volume docs 2017-10-26 16:44:21 +01:00
Amish Shah b83e12634c Docs 2017-10-26 16:35:20 +01:00
Amish Shah 780e67d19f Volume!! 2017-10-26 16:30:55 +01:00
Amish Shah 863e38676f Add back setBitrate 2017-10-26 14:39:58 +01:00
Amish Shah f6959a848f Start some docs crap 2017-10-26 14:17:56 +01:00
Amish Shah ac0cc9a009 Remove useless SecretKey class 2017-10-26 14:02:44 +01:00
Amish Shah 8913096f73 Fix Travis by removing stuff for fun 👌👌 2017-10-26 13:42:21 +01:00
Amish Shah f5d10a5f76 Pause/Unpause 2017-10-26 13:32:38 +01:00
Amish Shah 79c10f7084 Fix resetting timestamps 2017-10-26 12:01:04 +01:00
Amish Shah a76e4c064d Fix sequence and timestamp growing too large 2017-10-26 00:32:14 +01:00
Amish Shah 7f90d4ebc5 Better ending 2017-10-25 23:46:05 +01:00
Amish Shah 48452173ca probably would cause an error somewhere 2017-10-25 23:21:02 +01:00
Amish Shah 65673197d4 Start rewrite with new prism 2017-10-25 23:14:41 +01:00
Amish Shah 96ce1b0945 Update libsodium-wrappers peer dep and fix support for the newest version 2017-10-22 21:59:30 +01:00
Robin B 97823bc376 Various documentation adjustments (#2001)
* docs(various): Add "at" to createdAt description

* docs(Client): Adjust to fit with guilds property

* docs(various): Adjust phrasing & fix typos

* docs(various): Clarifications

* docs(Permissions): fix numerus

* docs(DataStore): capitalize DataStore

* docs(various): Formatting changes

* docs(Presence): Expand RichPresenceAssets docs

* Add space
2017-10-07 01:56:17 +02:00
SpaceEEC ec4c98704f refactor: make use of destructuring for Constants (#1942) 2017-09-16 20:31:36 +02:00
iCrawl 2aa2f73c74 Docs cleanup 2017-08-17 20:04:01 +02:00
aemino 4342ed29a8 Audio bitrate support (#1439)
* Audio bitrate support

Note: not implemented for VoiceBroadcasts

* Fix default args, auto bitrate

* Late night typos are the best

* Changes bitrate to kbps for VoiceChannel stuff

* Add methods to manipulate bitrate while encoding
2017-07-26 10:06:40 +02:00