Amish Shah
c8225631c9
voice: move broadcasts to client.voice
2019-03-23 12:36:53 +00:00
Amish Shah
efbbfbcec6
fix #3102
2019-02-20 19:15:33 +00:00
Amish Shah
0bde9ca2c5
voice: set seek parameter before input ( #2993 )
2018-12-27 18:05:54 +00:00
Gus Caplan
42505b78c1
chore: add strict mode ( #2974 )
2018-12-03 15:19:10 -06: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
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
cb69102e5e
voice: allow for changing volume with webm/ogg streams
2018-04-10 21:19:29 +01:00
Amish Shah
e263063ba6
voice: update prism and fix framesize to work for opusscript
2018-03-05 19:30:18 +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
fa7f391b3a
Fix ECONNRESET (again)
2017-10-31 18:12:49 +00:00
Amish Shah
cf30b1ef08
Add @extends to some classes
2017-10-29 17:43:22 +00: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
eeed5f23e3
Move streams to StreamDispatcher
...
breaking: removed AudioPlayer#setBitrate
2017-10-26 17:53:10 +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
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
Amish Shah
65673197d4
Start rewrite with new prism
2017-10-25 23:14:41 +01:00
kitsuyui
6b249ba454
Fixes #2034 ( #2035 )
...
Cancelling: https://github.com/hydrabolt/discord.js/pull/1745/files#diff-31d1bb7c08f2176ba026497c2e8d9b3fR81
2017-10-19 07:06:12 +02:00
iCrawl
2aa2f73c74
Docs cleanup
2017-08-17 20:04:01 +02:00
Yoson Chiu
ba1c257bb2
Fixes #1693 ( #1745 )
...
* Update AudioPlayer.js
* Set timestamp to 0 as well.
2017-08-04 09:18:37 +02:00
aemino
4342ed29a8
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-07-26 10:06:40 +02: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
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