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
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
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
SpaceEEC
ecb8655dac
Document readonly and private properties ( #1338 )
2017-04-03 20:05:36 +02: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
7fd94c29d8
VoiceConnection rework ( #1183 )
...
* VoiceConnection rework
- improves codebase
- removes concept of pending connections
- attempts to fix memory leaks by removing EventEmitter listeners
- makes voice connections keep track of its own channel when it is moved by another user
- allows voice connections to reconnect when Discord falls back to another voice server or a region change occurs
- adds events for some of the aforementioned events
* Removed unused code
* More clean up / bugfixes
* Added typedefs to Status and VoiceStatus constants
2017-02-22 20:13:52 +00:00
Programmix
7ed58f5f7f
Added Opus stream support, added volume interface ( #1102 )
...
* Added opus stream support, added volume interface
* Remove setImmediate
* Fix weird syntax error
* Most useless commit ever
You're welcome, @PgBiel
* Fix potential memory leak with OpusScript
Emscripten has the tendency to not free resources even when the Opus engine instance has been garbage collected. Thanks to @abalabahaha for pointing this out.
* Typo
* VoiceReceiver.destroy: destroy opus encoder
2017-01-29 19:07:33 +00:00
Amish Shah
69ccc75590
more voice docs
2016-12-30 17:56:58 +00:00
Amish Shah
fb1d0a3e74
fix eslint
2016-12-30 15:00:56 +00:00
Amish Shah
bf4010e89c
Simplify broadcast creation
2016-12-30 12:46:34 +00:00
Amish Shah
2f630a0dbb
AudioPlayer now destroys all dispatchers on closing, Broadcasts are also destroyed properly
2016-12-30 12:43:56 +00:00
Amish Shah
72a99f9582
start work with broadcast streams
2016-12-29 21:22:13 +00:00
Amish Shah
627a8870f5
change error emission logic
2016-12-29 14:14:27 +00:00
Amish Shah
18e04d69f1
Delete stream setups after they have ended or errored
2016-12-29 00:16:13 +00:00
Amish Shah
e64d9c6057
fix odd bug
2016-12-28 23:58:01 +00:00
Amish Shah
00254f35b0
Make voice return streamdispatcher
2016-12-28 21:40:11 +00:00
Amish Shah
0a47d0e1d6
Remove old stuff
2016-12-28 18:16:26 +00:00
Amish Shah
8e75b47a7b
add back seek option
2016-12-28 17:37:56 +00:00
Amish Shah
8cf520d5af
update streamDispatcher
2016-12-28 17:28:14 +00:00
Amish Shah
be32bbc3a4
really really really messy implementation of prism
2016-12-28 17:04:18 +00:00
Amish Shah
26de908cfd
some voice docs
2016-10-26 14:44:19 +01:00
Schuyler Cebulskie
d1e9d15a1c
Clean up a bunch of new voice stuff
2016-10-25 20:26:57 -04:00
Amish Shah
ff16c9f01f
change currentDispatcher to just dispatcher
2016-10-25 21:55:38 +01:00
Amish Shah
5844bbb54c
Fix travis builds
2016-10-25 14:38:56 +01:00
Amish Shah
91ba59c43d
Added voice disconnect
2016-10-25 14:18:20 +01:00
Amish Shah
b0921ae0ef
fix econnreset! \o/ #694
2016-10-25 12:52:07 +01:00
Amish Shah
d73d6a7340
make some stuffs
2016-10-24 22:26:34 +01:00
Amish Shah
1a5ce878a1
fix some stuff
2016-10-24 20:13:44 +01:00
Amish Shah
5749eb6bb0
actually log the damn reason
2016-10-24 18:56:02 +01:00
Amish Shah
7818d37042
catch cleanup reasons
2016-10-24 18:36:52 +01:00
Amish Shah
17586f0e20
maybe fix again
2016-10-24 17:41:37 +01:00
Amish Shah
c6d0c31c84
hydra have you actually fixed voice whatttt
2016-10-24 17:10:17 +01:00
Amish Shah
e13e2447d4
get voice sort of working
2016-10-24 14:26:24 +01:00
Schuyler Cebulskie
ab7682f921
Tiny text changes
2016-09-17 23:22:15 -04:00
Gus Caplan
7cb2e8eef7
add disconnect event, document warn and debug events ( #702 )
...
* add documentation for events, and add a disconnect event, because i know people use that
* generate docs, and fix a hastily copied docstring
* fix permissions freak out
2016-09-14 00:12:10 -04:00
Amish Shah
b0adc881f3
Maybe fix #694 ?
2016-09-13 20:30:44 +01:00
Schuyler Cebulskie
961346dcaa
Inline a line
2016-09-12 13:04:09 -04:00
Schuyler Cebulskie
8984bf332c
Capitalised some letters
2016-09-12 13:02:56 -04:00
Amish Shah
b39d959cdf
Maybe fix voice and #650 ?
2016-09-12 16:39:18 +01:00
Amish Shah
9059eb13a2
Add passes to streaming voice
2016-09-11 18:49:18 +01:00
Amish Shah
77e83fb85a
Fix voice 😄
2016-09-11 16:41:05 +01:00
Schuyler Cebulskie
47d71d32f3
Make grammer gooder
2016-09-11 01:40:37 -04:00
Amish Shah
4278a37e3c
maybe fix voice idk
2016-09-09 18:45:33 +01:00
Amish Shah
b7204f33b9
some voice fixes
2016-09-09 18:35:27 +01:00
Amish Shah
f192d16b5b
Fix delays inbetween audio streams ( #632 )
2016-09-09 18:28:21 +01:00