1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-09 18:25:58 +01:00

Type global variables in sfu.js.

This commit is contained in:
Juliusz Chroboczek 2020-08-24 22:31:22 +02:00
parent e4aad04f28
commit fba0dded84
2 changed files with 4 additions and 1 deletions

View file

@ -349,7 +349,7 @@ ServerConnection.prototype.request = function(what) {
/**
* newUpStream requests the creation of a new up stream.
*
* @param {string} id - The id of the stream to create (optional).
* @param {string} [id] - The id of the stream to create.
* @returns {Stream}
*/
ServerConnection.prototype.newUpStream = function(id) {

View file

@ -5,7 +5,10 @@
'use strict';
/** @type {string} */
let group;
/** @type {ServerConnection} */
let serverConnection;
function setUserPass(username, password) {