GUACAMOLE-237: Make standard comments instead of JSDoc comments.

This commit is contained in:
Nick Couchman
2018-01-03 13:07:24 -05:00
parent f0a658bb97
commit e1443d87b9

View File

@@ -181,19 +181,15 @@ Guacamole.RawAudioRecorder = function RawAudioRecorder(stream, mimetype) {
*/ */
var context = Guacamole.AudioContextFactory.getAudioContext(); var context = Guacamole.AudioContextFactory.getAudioContext();
/** // Some browsers do not implement navigator.mediaDevices - this
* Some browsers do not implement navigator.mediaDevices - this // shims in this functionality to ensure code compatibility.
* shims in this functionality to ensure code compatibility.
*/
if (!navigator.mediaDevices) if (!navigator.mediaDevices)
navigator.mediaDevices = {}; navigator.mediaDevices = {};
/** // Browsers that either do not implement navigator.mediaDevices
* Browsers that either do not implement navigator.mediaDevices // at all or do not implement it completely need the getUserMedia
* at all or do not implement it completely need the getUserMedia // method defined. This shims in this function by detecting
* method defined. This shims in this function by detecting // one of the supported legacy methods.
* one of the supported legacy methods.
*/
if (!navigator.mediaDevices.getUserMedia) if (!navigator.mediaDevices.getUserMedia)
navigator.mediaDevices.getUserMedia = (navigator.getUserMedia navigator.mediaDevices.getUserMedia = (navigator.getUserMedia
|| navigator.webkitGetUserMedia || navigator.webkitGetUserMedia