Amish Shah
d81441f627
voice: null-check UDP socket
2018-07-03 14:15:27 +01:00
Kyra
bd9c9ce4e0
refactor(VolumeInterface): remove usage of deprecated new Buffer ( #2531 )
2018-05-08 18:55:52 +02:00
Amish Shah
5f50d9e627
voice: backport null key fix
2018-04-29 18:53:50 +01:00
SpaceEEC
33a4232652
fix(OpusEngineLinst): throw a descriptive error when not funding an opus engine
2018-04-28 14:30:14 +02:00
Amish Shah
b05622766b
voice: start using provided IP rather than manually resolving
2018-04-27 15:25:05 +01:00
Pascal
f2c5714751
fix(StreamDispatcher): remove gratuitous parentheses
2018-03-01 19:12:15 +01:00
Pascal
c6f92c1bc5
fix: if present, wait for libsodium-wrappers' ready to support v0.7.3
2018-02-26 11:35:51 +01:00
David Siaw
8ee2788baf
fix(StreamDispatcher): properly check that timestamp fits in 2^32-1 ( #2325 )
...
* fix a very strange bug caused by massive timestamps sent to discord
* remove 'gratituous' spaces
2018-02-11 08:35:46 +01:00
Pascal
96904b1826
fix(AudioPlayer): add opus to destructured key of stream options
...
This fixes #2079 (VoiceConnection#playOpusStream being broken)
2018-02-05 10:42:47 +01:00
Yukine
fc5d4438f8
backporting the fix for RTP header extensions ( #2185 )
2017-12-23 12:29:06 +01:00
Crawl
2478092d44
More docs cleanup
2017-08-20 22:15:51 +02:00
Crawl
c7d1507e19
Docs cleanup
2017-08-20 22:08:37 +02:00
iCrawl
5dc83a1b03
Git pls
2017-08-12 11:28:47 +02:00
Crawl
cba4cc2400
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-08-12 11:23:47 +02:00
aemino
7aa791eaaa
Ignore setSpeaking requests when VC isn't connected ( #1638 )
2017-08-12 11:16:11 +02:00
aemino
b5de89a973
Fix VoiceConnection#authenticateFailed race condition ( #1601 )
2017-06-29 19:52:22 +01:00
aemino
1ed6bbc4b4
Remove unused VoiceBroadcast#guaranteeOpusEngine ( fixes #1556 ) ( #1563 )
2017-06-05 06:54:56 +02:00
aemino
2116fba4c2
Opus engine fetching: don't ignore non-missing errors ( #1555 )
...
* Opus engine fetching: don't ignore non-missing errors
* typo fix
2017-06-01 10:32:12 +02:00
Amish Shah
b49266baa5
fml
2017-05-30 12:33:58 +01:00
Amish Shah
46b8a7d411
Correct documentation for VoiceConnection (see #1536 )
2017-05-30 12:33:50 +01:00
aemino
2bf8a36077
Allow await endpoint stage to not error ( #1444 )
2017-05-01 18:01:28 +01:00
Crawl
457b9600f2
Docs consistency plz
2017-04-30 13:16:19 +02:00
Amish Shah
dd110f4824
Add example for creating VoiceBroadcasts
2017-04-30 11:04:41 +01:00
Amish Shah
81b176cfea
BaseOpusEngine should be private
2017-04-30 11:01:26 +01:00
Crawl
ac92d2cecc
Improve docs a bit
2017-04-30 04:30:44 +02:00
Amish Shah
ee37d859a4
dumb ass bug fix
2017-04-29 22:47:06 +01:00
Amish Shah
2e33bf583e
Try to fix StreamDispatchers ( #1387 )
2017-04-29 15:12:34 +01:00
Crawl
53eda09f72
Improve docs
2017-04-24 16:29:29 +02:00
Skiptir Engu
8475a4abee
Use libsodium.js if available ( #1390 )
...
* Use libsodium.js if available
* Style consistency
* Added peer dep and update README
* Link should point to npmjs 🤔
2017-04-19 18:35:45 +02:00
Crawl
930519c494
Update AudioPlayer.js
2017-04-13 03:17:00 +02:00
SpaceEEC
d54ef0eea4
fix ( #1375 )
2017-04-12 22:06:05 +02:00
Amish Shah
dce8e83465
Add VoiceConnection#dispatcher
2017-04-12 20:36:03 +01:00
Amish Shah
36c03909dd
Clean up AudioPlayer internals, change currentDispatcher and currentTranscoder to just dispatcher and transcoder
2017-04-12 20:32:50 +01:00
Amish Shah
9eaf1456b2
Clean up AudioPlayer internals, remove the concept of multiple "temporary" streams
2017-04-12 20:12:51 +01:00
aemino
39f7dc018a
Make FEC and PLP non-default ( #1372 )
...
I considered it might be useful to have something exposed that allows the end-user to set these if they want, but our current code doesn't allow for that. It'll remain an internal feature for the time being.
2017-04-12 06:30:48 +02:00
xDdude
a49d4e6d43
getters for decibel and logarithmic volume ( #1355 )
...
* getters for decibel and logarithmic volume
I don't really understand where the conversion numbers come from but having this allows for an easy way to get the volume back based on what method you used to set it. I think the math is right, but yeah I've just used the conversion numbers from the other methods.
* fix trailing spaces
2017-04-11 18:21:00 +01:00
aemino
6d4fe89212
Volume stuff docs fixes ( #1354 )
...
* Volume stuff docs fixes
* 10/10 for spelling
2017-04-10 11:50:33 +01:00
aemino
ab589fa5f2
VoiceConnection speaking bugfix ( #1343 )
...
Looks like I made a typo...
2017-04-06 16:20:34 +02:00
SpaceEEC
ecb8655dac
Document readonly and private properties ( #1338 )
2017-04-03 20:05:36 +02:00
Crawl
6910585f69
Fix lowercase comments
2017-04-02 19:47:00 +02:00
aemino
8716702b59
Add FEC and PLP support for Opus encoding ( #1264 )
...
* Add FEC and PLP support for Opus encoding
* Silently fail if the Opus engine doesn't support CTL
* Fixed inversed max/min functions
2017-04-02 19:43:46 +02:00
Schuyler Cebulskie
136cab240d
Add new ESLint rules
2017-03-17 01:23:39 -04:00
Crawl
4ef0ec491c
Add arrow-parens eslint rule & fix inconsistencies
2017-03-13 15:56:00 +01:00
Programmix
055775de2f
Fix for #1219 (sodium methods) ( #1220 )
...
* Change node-opus methods
* Try using crypto_secretbox(_open)_easy
* Wrong open method name
2017-03-04 08:33:19 +00:00
Amish Shah
dfb1a16e9e
One-line an if statement
2017-02-25 23:26:40 +00:00
Programmix
275c9953a0
Fixes disconnecting VoiceConnections before connected ( #1227 )
2017-02-25 23:17:39 +00:00
Schuyler Cebulskie
f3a7f59824
Several improvements
...
- Rename Guild#updateChannelPositions -> setChannelPositions
- Allow Guild#setChannelPositions to take ChannelResolvables
- Prioritise ClientDataResolver#resolveChannel's string case
- Minor cleanup
2017-02-25 15:29:32 -05:00
Amish Shah
18bcd2f7e2
Add AudioPlayer.currentDispatcher
2017-02-25 11:12:17 +00:00
Programmix
76637ed10d
Fix VoiceDispatcher docs ( #1214 )
2017-02-23 21:42:41 -05:00
Programmix
bf25caf3d3
Updated VoiceConnection to use new Util class ( #1210 )
...
pls @Gawdl3y pls
2017-02-22 22:10:26 +00:00