Commit Graph

84 Commits

Author SHA1 Message Date
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
Denocle
43b1cc1d56 Fix for the playArbitraryFFmpeg issue (#351)
* This should probably fix #346

* Updated docs for playArbitraryFFmpeg
2016-05-17 06:30:47 -07:00
abalabahaha
3221bde4db Pass voice ws errors 2016-05-10 22:03:05 -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
3a2c449197 Add a function to set the volume to a decibel value 2016-04-02 11:09:51 +02:00
meew0
910b5a7ae6 Add a function to set the volume in a logarithmic way
so that 0.5 is -10 dB (half the perceived volume) and 2.0 is +10 dB (double the perceived volume).
2016-04-02 11:08:00 +02:00
meew0
e8cc571d6a Make the multiplier return the current volume
without doing any math to it, so we can have different ways to set the multiplier in logarithmic ways.
2016-04-02 11:03:28 +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
Michael Petö
462adfbad3 Add ability to pause and resume audio thats being played 2016-03-19 21:54:25 +01:00
abalabahaha
204bdca555 Merge pull request #223 from aequasi/patch-1
Adding credit
2016-03-18 11:55:19 -07:00
Aaron Scherer
81549e737e Adding credit 2016-03-18 11:48:46 -07: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
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
Aaron Scherer
0571958033 Fixing conflicts 2016-02-12 13:08:03 -08:00
Aaron Scherer
3c64cfce4a Adding volume wrapper 2016-02-10 09:53:05 -08:00
Aaron Scherer
8607a2449c Allow seeking for FFmpeg 2016-02-09 09:38:48 -08:00
meew0
358c40c355 Set the volume default to 1 as @hydrabolt intended, fixes #154 2016-01-30 10:42:13 +01:00
Jacob
dba7a1d06a fixed volume option and set default to 25% to avoid hearing loss 2016-01-20 22:26:26 -08:00
meew0
0921484ef6 Add opus sanity check 2015-12-27 17:25:04 +01:00
Amish Shah
0113202c2f Fixed voice_connection.stopPlaying
Now unpipes before destroying
2015-12-26 17:52:20 +00:00
meew0
d09c26c7c1 Add method to play back the output from an arbitrary ffmpeg cmd 2015-12-23 23:20:19 +01:00
Amish Shah
4d6adfd289 voice fixes 2015-12-23 21:10:49 +00:00
Amish Shah
90045db92d fixed mentions even though they will be changed in the future... why 2015-12-19 21:22:06 +00:00
Amish Shah
941fd2fe98 Minor changes 2015-12-17 18:31:52 +00:00
Amish Shah
c2cf1badfd Fixed multiple avconvs/ffmpeg processes still staying alive 2015-12-12 21:04:30 +00:00
Amish Shah
4d43867206 Fixed multiple ffmpeg/avconv processes being alive 2015-12-12 18:04:48 +00:00
Amish Shah
d66b765933 added volume control 2015-12-12 17:52:25 +00:00
abalabahaha
cd4a70cfb2 Fixed the fix and built 2015-12-11 21:37:59 -08:00
abalabahaha
e020287307 Applied change to second function 2015-12-11 20:00:32 -08:00
qeled
f280349f0c Fix sequence and timestamp in VoiceConnection 2015-12-11 19:48:32 +00:00
qeled
d8af1a49ae Disable ffmpeg logging and ignore stderr 2015-12-11 19:48:32 +00:00
Amish Shah
e072c58460 added interval fixes - bots die gracefully now 2015-12-06 19:02:10 +00:00