Amish Shah
|
55863efa15
|
voice: don't clear reject timeout until connection fully resolved (#2421, #2578)
|
2018-08-09 13:00:46 +01:00 |
|
Amish Shah
|
46fa9603c2
|
voice: delete receive stream immediately to prevent it being written to after end (#2678)
|
2018-08-07 17:34:01 +01:00 |
|
FireController1847
|
ac0c15f7f1
|
Change ytdl example (#2619)
|
2018-06-24 15:47:54 +02:00 |
|
Mikhail
|
bf738b34de
|
fix(BasePlayer): incorrectly mutating FFMPEG_ARGUMENTS when using seek (#2622)
Because args was not a copy of FFMPEG_ARGIMENTS, but a reference to it, pushing 'ss' argument pushed it to FFMPEG_ARGUMENTS, making it persistent.
|
2018-06-23 15:20:59 +02:00 |
|
Amish Shah
|
18646b72f9
|
voice: use getters where possible
|
2018-06-22 18:46:51 +01:00 |
|
Amish Shah
|
08bbbe9301
|
voice: handle new client_connect and client_disconnect packets
|
2018-06-22 18:38:33 +01:00 |
|
Amish Shah
|
9296a30148
|
voice: account for speaking now being a bitmask
|
2018-06-22 17:47:00 +01:00 |
|
Amish Shah
|
1f7c1ddaa2
|
voice: start update to v4, fix heartbeats
|
2018-06-22 17:42:04 +01:00 |
|
Amish Shah
|
3d41748a38
|
voice: fix not passing volume to transform constructor
|
2018-06-21 21:50:54 +01:00 |
|
Amish Shah
|
1cdee7b48a
|
voice: reimplement seek option (#2572)
|
2018-06-13 21:16:14 +01:00 |
|
Amish Shah
|
04618f554f
|
voice: fix _writeCallback being called multiple times (#2567)
|
2018-06-13 21:06:50 +01:00 |
|
Amish Shah
|
3bfc1ff61c
|
voice: fix write after end (#2567)
|
2018-06-13 21:02:19 +01:00 |
|
Amish Shah
|
d69e906027
|
voice: fix voice receive after enabling suffix and lite encryption modes
|
2018-06-13 20:43:18 +01:00 |
|
Amish Shah
|
43c92c13e2
|
voice: support xsalsa20_poly1305_lite and xsalsa20_poly1305_suffix
|
2018-05-10 12:11:22 +01:00 |
|
Amish Shah
|
685814aa61
|
voice: make sure speaking is false when paused
|
2018-05-09 18:44:46 +01:00 |
|
Amish Shah
|
841b9de918
|
voice: mark speaking as false when paused, prevent repeated pausing
|
2018-05-09 14:33:23 +01:00 |
|
Kyra
|
42ce4f8bc0
|
Removed usage of (deprecated) new Buffer (#2531)
|
2018-05-03 19:07:16 +02:00 |
|
Amish Shah
|
299fc001d5
|
voice: start using provided IP rather than manually resolving
|
2018-04-27 15:11:37 +01:00 |
|
Amish Shah
|
cb69102e5e
|
voice: allow for changing volume with webm/ogg streams
|
2018-04-10 21:19:29 +01:00 |
|
Jérémie N'gadi
|
e845758037
|
fix(StreamDispatcher): only update speaking for non broadcasts (#2437)
If the player is a BroadcastAudioPlayer it has no VoiceConnection directly associated with it.
|
2018-04-09 21:17:16 +02:00 |
|
Amish Shah
|
fa886eaae9
|
voice: fix bug where no audio could be heard if voice region changed
|
2018-04-07 15:19:18 +01:00 |
|
Amish Shah
|
384fdf8f17
|
voice: properly cleanup after disconnect (#2443, #2435, #2421, #2406 #2359)
|
2018-04-07 14:40:05 +01:00 |
|
Amish Shah
|
41d0f25d0f
|
voice: fix heartbeat issue (#2443)
|
2018-04-05 16:38:35 +01:00 |
|
Amish Shah
|
a5e8f05d01
|
voice: add end param to describe how a voice receive stream should end
|
2018-03-31 11:52:48 +01:00 |
|
Amish Shah
|
ef8366d189
|
voice: properly null-check udp socket first (#2317)
|
2018-03-13 09:48:18 +00:00 |
|
Amish Shah
|
79b02dd35f
|
voice: resolve "cb is not a function" error (#2317)
|
2018-03-06 10:36:05 +00:00 |
|
Amish Shah
|
8289b70e2c
|
voice: resolve issue where dispatcher tried to send packets to null socket (#2317)
|
2018-03-06 10:21:44 +00:00 |
|
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 |
|
Amish Shah
|
e263063ba6
|
voice: update prism and fix framesize to work for opusscript
|
2018-03-05 19:30:18 +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 |
|
Pascal
|
07c48a6845
|
fix: require discordjserror to throw meaningful errors where necessary
|
2018-01-22 20:23:36 +01:00 |
|
Cat
|
8a2ace45d8
|
docs: fix VoiceBroadcast documentation (#2277)
|
2018-01-21 18:23:23 +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
|
83de7c0d4c
|
Fix error messages
|
2018-01-21 15:52:32 +00: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
|
b16e6f8262
|
Fix VoiceBroadcast#play documentation
|
2018-01-20 16:57:27 +00:00 |
|
Amish Shah
|
c63bdb5fb1
|
Remove redundant doc tag descriptions
|
2018-01-20 13:47:35 +00:00 |
|
Amish Shah
|
ca96e1478a
|
Make docs technically correct
|
2018-01-20 13:45:22 +00:00 |
|
Amish Shah
|
791740220e
|
Improve docs, allow for webm/opus demuxing and playing broadcasts without specifying a type
|
2018-01-20 13:01:48 +00:00 |
|
Amish Shah
|
f14193b93a
|
Document examples
|
2018-01-20 12:48:28 +00:00 |
|
Amish Shah
|
ef02bd2935
|
Add stubs for docs
|
2018-01-20 00:05:37 +00:00 |
|
Amish Shah
|
2b5fc77a67
|
Rudimentary support for unified audio playing! 🎉
|
2018-01-19 23:55:59 +00:00 |
|
Amish Shah
|
8e5e1ad8fe
|
Document Receiver
|
2018-01-19 23:03:01 +00:00 |
|
Amish Shah
|
c57c2889b7
|
Fix import errors for networking classes
|
2018-01-19 22:54:54 +00:00 |
|
Amish Shah
|
066fbfe330
|
Move voice UDP client and Websocket client to networking folder
|
2018-01-19 22:53:55 +00:00 |
|
Amish Shah
|
60c5c1486b
|
Remove dead files
|
2018-01-19 22:51:53 +00:00 |
|
Amish Shah
|
c6c9c0918a
|
Fix PacketHandler runtime error (EventEmitter not imported)
|
2018-01-19 22:51:26 +00:00 |
|
Amish Shah
|
cb161a8a40
|
Implement Receiver debug events
|
2018-01-19 22:47:01 +00:00 |
|
Amish Shah
|
83140f11b7
|
Fix ESLint and inline the voice readable stream
|
2018-01-19 22:41:31 +00:00 |
|
Amish Shah
|
dd618584d0
|
Simplify VolumeInterface constructor
|
2018-01-19 22:38:39 +00:00 |
|
Amish Shah
|
4a1b55d145
|
Receiver#createStream should take options
|
2018-01-19 22:38:10 +00:00 |
|
Amish Shah
|
2c1a302eea
|
Redesign voice receiving, still needs cleaning up
|
2018-01-19 21:14:03 +00:00 |
|
Amish Shah
|
6058ea4888
|
Start voice receive rewrite
|
2018-01-19 17:45:37 +00:00 |
|
Amish Shah
|
580bda46ea
|
Fix documentation for VoiceBroadcast (play methods return BroadcastDispatcher not StreamDispatcher)
|
2018-01-19 14:40:58 +00:00 |
|
Amish Shah
|
3b1c5d3494
|
Expose VoiceBroadcast#dispatcher so that the broadcast can be controlled
|
2018-01-19 14:39:51 +00:00 |
|
Amish Shah
|
e7375aa0fd
|
Reimplement broadcast (un)subscribe events
|
2018-01-19 14:32:51 +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 |
|
Schuyler Cebulskie
|
96971c432d
|
Merge master into voice-rewrite
|
2017-12-02 19:48:43 -05:00 |
|
Schuyler Cebulskie
|
637ea09532
|
Fix lint error
|
2017-11-19 01:56:51 -05: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 |
|
William Tran
|
88719f0f42
|
Typos in docs (#2055)
* Typo in Guild.createRole docs
Added missing semicolon in example code.
* consistent periods in docs
|
2017-10-28 19:01:17 +02: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
|
a8511ebfaf
|
Fix player
|
2017-10-26 21:50:52 +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
|
3696b4a810
|
Add ability to disable volume transform
|
2017-10-26 18:56:02 +01:00 |
|
Amish Shah
|
6490d1b911
|
FEC and PLP exposed
|
2017-10-26 18:36:04 +01:00 |
|
Amish Shah
|
cc4aa75a71
|
Fix closing bug
|
2017-10-26 18:22:43 +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
|
3e3e6f9af7
|
Actually fix ESlint this time
|
2017-10-26 13:45:36 +01:00 |
|
Amish Shah
|
8913096f73
|
Fix Travis by removing stuff for fun 👌👌
|
2017-10-26 13:42:21 +01:00 |
|
Amish Shah
|
53ca34cbde
|
Don't need to continue count and pausedTime amongst dispatchers
|
2017-10-26 13:33:14 +01:00 |
|
Amish Shah
|
f5d10a5f76
|
Pause/Unpause
|
2017-10-26 13:32:38 +01:00 |
|