Commit Graph

107 Commits

Author SHA1 Message Date
Jesse Bryan
7ae7a9aa34 Added a voiceSpeaking event, fired when a user in a voiceChannel starts or stops speaking. (#452)
* Added an event for the voice speaking packet.

* Updated the docs to reflect the voiceSpeaking event addition.

* Fixed some spacing issues in the VoiceConnection.js file.

* Moved the speaking boolean to the User object.
2016-07-12 03:12:27 +08:00
Brian Tanner
4e8ac47f27 fix econnreset in playRawStream (#427) 2016-06-14 13:20:26 +09:00
abalabahaha
644061e881 Unminify lib files 2016-06-13 16:00:43 -07:00
abalabahaha
2cd1104d3d 8.0.0 2016-06-09 11:41:04 +09:00
Brian Tanner
a073010197 fix bug in hookEncodingProcess causing playRawStream to not work (#392)
* fix typo in hookEncodingProcess

* proper fix for _this4 bug in src, use arrow functions

* Get abalabahaha to build the noobs' changes
2016-05-30 19:10:23 -07:00
Brian Tanner
750f2a2b1b fix typo in hookEncodingProcess (#391)
Programmix sucks at this
2016-05-30 15:02:18 -07:00
Programmix
6b5f4fa773 FFMPEG fix (finally) (#390)
Programmix sucks at this
2016-05-30 11:13:01 -07:00
Programmix
7cf7c0e794 Another attempted fix (w/ help from izy521) (#386)
* Fix my very silly mistake

* Another FFMPEG issue fix attempt

* Add a missing semicolon

Yes, I really did make a commit just for this. :)

* Another attempted fix (w/ help from izy521)
2016-05-28 20:46:23 -07:00
Programmix
95e3e3e3dc Another FFMPEG fix attempt (#384)
* Fix my very silly mistake

* Another FFMPEG issue fix attempt

* Add a missing semicolon

Yes, I really did make a commit just for this. :)
2016-05-28 18:55:56 -07:00
Programmix
b9506d01ab Fix my very silly mistake (#382) 2016-05-28 09:47:14 -07:00
Programmix
2194632b7d Potential FFMPEG process fix (#381)
I am by no means sure that this will work. This is an experimental fix.
Please review it carefully; I’m not the best at working with
audio/streams.
2016-05-27 23:09:16 -07:00
abalabahaha
3fa3b0238e Catch udp close errors 2016-05-20 20:42:53 -07:00
abalabahaha
00ff2f71a4 Build the playArbitraryFFmpeg fix 2016-05-19 08:49:19 -07:00
abalabahaha
3221bde4db Pass voice ws errors 2016-05-10 22:03:05 -07:00
abalabahaha
533d49d7d4 Fix potential permissionsOf crash 2016-04-16 23:51:49 -07:00
abalabahaha
9083893d79 7.0.1 2016-04-16 10:49:48 -07:00
abalabahaha
ecc35eecda Ratelimiter inconsistency fix 2016-04-13 02:06:18 -07:00
abalabahaha
6b189cf3af 7.0.0 2016-04-13 00:47:48 -07:00
abalabahaha
2842b97776 Throw errors on missing voice dependencies 2016-04-13 00:46:13 -07:00
abalabahaha
afa5fa1758 Fixes 2016-04-13 00:05:08 -07:00
Programmix
afde031267 Update voiceConnections on destroy
Instead of manually removing VoiceConnections from
InternalClient.voiceConnections, just integrate the functionality into
VoiceConnection.destroy()
2016-04-10 13:49:13 -07:00
meew0
d53aabefb0 Fix an off by one error in volume transformation range checking 2016-04-05 18:01:49 +02:00
meew0
d48458b80f Add an extra range check to the volume transformer, should hopefully fix #193 2016-04-05 17:33:14 +02:00
meew0
8fa3c24b12 Rebuild for volume changes 2016-04-02 11:15:33 +02:00
Nicholas Tay
77346e3415 Send guild_id on voice destroy for bot accounts to work
(thanks qeled for supplying this fix, as per in the node_discord-js discord chat channel :D)
2016-03-28 19:06:10 +11:00
abalabahaha
3bbd4f46d2 Merge pull request #226 from petoem/indev
Add ability to pause and resume audio thats being played
2016-03-19 22:43:48 -07:00
abalabahaha
703ac05400 User bot property 2016-03-19 22:11:11 -07:00
Michael Petö
462adfbad3 Add ability to pause and resume audio thats being played 2016-03-19 21:54:25 +01:00
qeled
4d6cca72f4 Implement voice encryption support 2016-03-18 06:32:35 +03:00
abalabahaha
27a0361afc Not everyone needs to set the volume 2016-03-15 22:09:16 -07:00
abalabahaha
8614d4b2a5 Less CPU on cache update 2016-03-15 22:04:52 -07:00
abalabahaha
f0dd0cabdf 6.1.0 2016-03-15 22:04:52 -07:00
abalabahaha
930f276828 Aaron copied horrible code from elsewhere 2016-03-12 22:06:30 -08:00
abalabahaha
13055f67d2 Attempted to understand volume code and retry fixes 2016-03-12 21:53:34 -08:00
abalabahaha
5e64d96272 Attempted assorted fixes 2016-03-12 21:44:07 -08:00
abalabahaha
25f25f5506 Attempt to process volume option 2016-03-12 21:27:48 -08:00
abalabahaha
13e8a39f9f Minor inconsistencies 2016-03-12 21:21:59 -08:00
abalabahaha
ef679e87c4 Attempted better ffmpeg handling 2016-03-10 21:40:19 -08:00
abalabahaha
4e58de8cd6 Make FFMPEG error reject encoding 2016-03-06 13:04:23 -08:00
abalabahaha
f49600af17 Use USER_UPDATE 2016-02-14 13:19:07 -08:00
Aaron Scherer
0571958033 Fixing conflicts 2016-02-12 13:08:03 -08:00
hydrabolt
5132c9ade4 added large_threshold 2016-02-12 21:03:27 +00:00
Aaron Scherer
3c64cfce4a Adding volume wrapper 2016-02-10 09:53:05 -08:00
Aaron Scherer
c7103f8930 Update AudioEncoder.js 2016-02-09 09:39:44 -08:00
meew0
358c40c355 Set the volume default to 1 as @hydrabolt intended, fixes #154 2016-01-30 10:42:13 +01:00
abalabahaha
b49870f12f Build stuff 2016-01-20 22:27:16 -08:00
abalabahaha
718f0b9543 Rebuilt lib for dev and getInvite 2016-01-02 18:24:55 -08:00
Amish Shah
9c8e6eed24 5.3.2 web dists 2016-01-01 18:40:57 +00:00
meew0
7860828a5d Rebuild 2015-12-31 22:57:33 +01:00
Amish Shah
b927b223bb 5.3.1 2015-12-26 18:35:08 +00:00