1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-10 02:35:58 +01:00

Fix typos.

This commit is contained in:
Antonin Décimo 2020-12-01 18:18:55 +01:00 committed by Juliusz Chroboczek
parent 0265df6331
commit 22f9442cf4

View file

@ -80,7 +80,7 @@ function ServerConnection() {
*/ */
this.permissions = {}; this.permissions = {};
/** /**
* clientdata is a convenient place to attach data to a ServerConnection. * userdata is a convenient place to attach data to a ServerConnection.
* It is not used by the library. * It is not used by the library.
* *
* @type{Object<unknown,unknown>} * @type{Object<unknown,unknown>}
@ -209,7 +209,7 @@ ServerConnection.prototype.getIceServers = async function() {
} }
/** /**
* Connect connects to the server. * connect connects to the server.
* *
* @param {string} url - The URL to connect to. * @param {string} url - The URL to connect to.
* @returns {Promise<ServerConnection>} * @returns {Promise<ServerConnection>}
@ -372,7 +372,7 @@ ServerConnection.prototype.request = function(what) {
request = {audio: true, screenshare: true, video: true}; request = {audio: true, screenshare: true, video: true};
break; break;
default: default:
console.error(`Uknown value ${what} in sendRequest`); console.error(`Unknown value ${what} in request`);
break; break;
} }
@ -794,8 +794,9 @@ function Stream(sc, id, pc) {
*/ */
this.statsHandler = null; this.statsHandler = null;
/** /**
* clientdata is a convenient place to attach data to a Stream. * userdata is a convenient place to attach data to a Stream.
* It is not used by the library. * It is not used by the library.
*
* @type{Object<unknown,unknown>} * @type{Object<unknown,unknown>}
*/ */
this.userdata = {}; this.userdata = {};