Commit Graph

23 Commits

Author SHA1 Message Date
Jakub Vrána
f722072807 GUACAMOLE-986: Add non-nullable modifier to return type of functions never returning null
Alternatively use a primitive type instead of nullable boxed type.
2020-03-11 13:27:56 +01:00
Michael Jumper
e27fe504a9 GUACAMOLE-905: Automatically resume AudioContext when recording starts.
The AudioContext is paused by default in Google Chrome as a defense
against autoplay. It can be explicitly resumed with resume() as long as
there has been enough interaction with the page.
2020-01-12 17:19:18 -08:00
Michael Jumper
e93d3e00f2 GUACAMOLE-732: Retrieve audio stream via Promise for newer versions of getUserMedia(). 2019-12-23 20:40:34 -08:00
Nick Couchman
e1443d87b9 GUACAMOLE-237: Make standard comments instead of JSDoc comments. 2018-01-03 13:07:24 -05:00
Nick Couchman
f0a658bb97 GUACAMOLE-237: Update JSDoc comments for new code. 2018-01-03 12:19:48 -05:00
Nick Couchman
4c53f28aa2 GUACAMOLE-237: Simplify checks for mediaDevices and getUserMedia. 2018-01-02 12:26:22 -05:00
Nick Couchman
f6291c034c GUACAMOLE-237: Define navigator.mediaDevices and getUserMedia when undefined. 2018-01-02 11:43:24 -05:00
Nick Couchman
1c27c66cb3 GUACAMOLE-237: Move to new getUserMedia method. 2018-01-01 22:11:45 -05:00
Michael Jumper
4b552ce419 GUACAMOLE-25: It's a browser, not a browse. 2016-05-23 21:15:55 -07:00
Michael Jumper
c32a779825 GUACAMOLE-25: Add onclose/onerror handlers to Guacamole.AudioRecorder. 2016-05-23 21:08:54 -07:00
Michael Jumper
4b88066f26 GUACAMOLE-25: Only capture as long as stream is open. 2016-05-23 21:08:54 -07:00
Michael Jumper
efa6bf3c72 GUACAMOLE-25: Increase audio recording buffer to 2048 bytes. 2016-05-23 15:06:46 -07:00
Michael Jumper
c137312963 GUACAMOLE-25: Migrate to Lanczos interpolation (a = 3). 2016-05-23 15:00:00 -07:00
Michael Jumper
0c0ee96aaa GUACAMOLE-25: Clean up media source and processor node on end. Keep reference while streaming (prevent faulty garbage collection of the nodes). 2016-05-23 15:00:00 -07:00
Michael Jumper
8442f7c33f GUACAMOLE-25: Compensate for underflow/overflow induced by rounding error. 2016-05-23 15:00:00 -07:00
Michael Jumper
b36a955d20 GUACAMOLE-25: Use linear interpolation for resampling input audio. 2016-05-23 15:00:00 -07:00
Michael Jumper
1047afbb43 GUAC-1511: Apply basic resampling when copying audio from source to destination. 2016-04-03 16:16:35 -07:00
Michael Jumper
77cc8ef720 GUAC-1511: Use constant buffer size. 2016-04-03 15:04:01 -07:00
Michael Jumper
6a4fab67aa GUAC-1511: Take number of channels into account when creating SampleArray. 2016-04-03 15:03:15 -07:00
Michael Jumper
b6e13465a7 GUAC-1511: Reduce size of buffer. 2016-04-03 14:47:54 -07:00
Michael Jumper
65e610275b GUAC-1511: Provide ArrayBufferWriter with ArrayBuffer. Providing 16-bit TypedArray results in truncation of each sample to the low 8 bits. 2016-04-03 14:47:33 -07:00
Michael Jumper
93783cf5d5 GUAC-1517: Maintain singleton instance of AudioContext. 2016-03-31 15:22:49 -07:00
Michael Jumper
076995d994 GUAC-1511: Implement Guacamole.AudioRecorder and Guacamole.RawAudioRecorder. 2016-03-30 09:55:30 -07:00