Commit Graph

147 Commits

Author SHA1 Message Date
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
Schuyler Cebulskie
77548c194f Add missing type 2016-12-29 20:01:30 -05:00
Amish Shah
c6f17054fc Remove unused fs import 2016-12-29 22:59:43 +00:00
Amish Shah
12605575fb Add VoiceBroadcast.pause and VoiceBroadcast.resume 2016-12-29 21:59:36 +00:00
Amish Shah
ad18b05d66 Reset what is playing 2016-12-29 21:51:23 +00:00
Amish Shah
72a99f9582 start work with broadcast streams 2016-12-29 21:22:13 +00:00
Amish Shah
4541b3e264 Simplify check in StreamDispatcher and add test voice bot 2016-12-29 16:10:51 +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
e7824d6515 Fix weird audio playback bug between subsequent streams on an AudioPlayer 2016-12-28 23:21:34 +00:00
Amish Shah
00254f35b0 Make voice return streamdispatcher 2016-12-28 21:40:11 +00:00
Amish Shah
4294d267e7 Add playFile back to voice connection 2016-12-28 19:23: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
bdistin
f726db2152 Revert error emit on Slow Stream Gen (#1011) 2016-12-22 22:24:31 -05:00
Schuyler Cebulskie
361547a588 Fix a bunch of capitalisation issues 2016-12-15 20:10:38 -05:00
bdistin
fbe1929bde Pass Reason to the streamDispatcher end event (#985)
* Pass Reason to the streamDispatcher end event

* Update <dispatcher>.end() to bring inline with <collector>.stop()

Also changed "Stream is not generating quickly enough." from an end to an error, per Crawl...

* Fix docs Copy/Paste fail from collection end event
2016-12-15 16:32:37 +00:00
Hackzzila
52a83b9218 Add ffmpeg-binaries as a possible source of ffmpeg (#975)
* Add ffmpeg-binaries as a possible source of ffmpeg

* Add note in faq
2016-12-11 19:02:00 +00:00
Hackzzila
6afd80cf53 Make uws a peer dep, and readd ws (#928)
* Make uws a peer dep, and readd ws

* if -> else if
2016-11-27 19:59:50 +00:00
Schuyler Cebulskie
c683790de7 Remove old uws-specific code (0.11.1 has the good stuff) 2016-11-25 19:40:53 -05:00
Will Nelson
eedc097f3f fix playConvertedStream (#923) 2016-11-24 17:08:55 -05:00
Gus Caplan
945a2e370a fix voice ws (#922) 2016-11-24 02:39:01 -05:00
Gus Caplan
c91ee7a3e7 Replace ws with uws (#918)
* change to uws (waiting for the next release tho)

* clean up, fix reconnections (maybe)

* change voice to use uws

* so messy
2016-11-23 19:30:00 -05:00
Schuyler Cebulskie
32879419e2 Fix dispatcher doc 2016-11-23 02:51:10 -05:00
Schuyler Cebulskie
f6a60581c4 Remove even more stuff from web dists 2016-11-20 22:40:06 -05:00
Gus Caplan
2440a4a2c8 Add webpack building (#907)
* friggin webpack tho

* probably important

* add all the stuff to the package.json

* add minify builds and a nice package.json script to run it all

* clean up

* use uglify harmony branch so we can actually run minify builds that work

* update build system

* make test better

* clean up

* fix issues with compression

* ‮

* c++ requirements in a node lib? whaaaaat?

* fix travis yml?

* put railings on voice connections

* 🖕🏻

* aaaaaa

* handle arraybuffers in the unlikely event one is sent

* support arraybuffers in resolvebuffer

* this needs to be fixed at some point

* this was fixed

* disable filename versioning if env VERSIONED is set to false

* Update ClientDataResolver.js

* Update ClientVoiceManager.js

* Update WebSocketManager.js

* Update ConvertArrayBuffer.js

* Update webpack.html

* enable compression for browser and fix ws error handler

* Update WebSocketManager.js

* everything will be okay gawdl3y

* compression is slower in browser, so rip the last three hours of my life

* Update Constants.js

* Update .gitignore
2016-11-20 19:38:16 -05:00
Schuyler Cebulskie
90304aa7d6 Fix loads of JSDoc type issues 2016-11-12 20:52:37 -05:00
Schuyler Cebulskie
1e8392d90b Merge branch 'master' into indev 2016-11-12 00:30:25 -05:00
Marko Kajzer
c02eb2f171 Fixed unset field of VoiceConnection (#879)
* Fixed unset field of VoiceConnection

Fixed a typo

* Update VoiceConnection.js
2016-11-07 12:35:49 -05:00
Programmix
fe3914658a Grammar cleanup (#875)
This commit:
* fixes inconsistencies (primarily regarding capitalization)
* fixes non-proper nouns that were improperly capitalized
* fixes reminents from not-so-meticulous copy+paste jobs
2016-11-05 23:57:34 +00:00
Schuyler Cebulskie
73261646fc Fix ESLint warnings 2016-10-30 17:23:39 -04:00
Schuyler Cebulskie
8306d50bd8 Clean up a bunch of promise stuff 2016-10-30 12:47:17 -04:00
Schuyler Cebulskie
cf04b44454 Clean up some more 2016-10-27 21:38:48 -04:00
Schuyler Cebulskie
4e6b632d23 Fix VoiceConnection.speaking not emitting 2016-10-27 20:51:19 -04:00
Schuyler Cebulskie
83bef4ca77 Teensy weensy cleanup 2016-10-27 20:45:09 -04:00
Schuyler Cebulskie
1841122a8f Cherry pick commits from indev 2016-10-27 19:48:34 -04:00
Hackzzila
30105536a6 ESLint warnings (#852) 2016-10-27 22:19:20 +01:00
Amish Shah
5dd76069f8 Simplify voice channel joining 2016-10-27 19:04:24 +01:00
Amish Shah
cd9b391e2a Hide SecretKey in documentation 2016-10-27 17:25:17 +01:00
Schuyler Cebulskie
4e693e2e39 Fix a small VoiceReceiver doc issue 2016-10-26 21:43:28 -04:00
Schuyler Cebulskie
ab6750d06d Make docs catches use console.error 2016-10-26 21:37:19 -04:00
Amish Shah
e12c7bf2d4 Whoops remove something 2016-10-26 16:10:02 +01:00
Amish Shah
0f1e121b81 hide some voice stuff in docs 2016-10-26 16:06:56 +01:00
Amish Shah
45632b2eae fix joining voice channels without perms 2016-10-26 15:23:54 +01:00
Amish Shah
26de908cfd some voice docs 2016-10-26 14:44:19 +01:00
Schuyler Cebulskie
05f73c3edf Clean up voice channel join permissions check 2016-10-25 20:41:23 -04:00