Commit 22f9442c authored by Antonin Décimo's avatar Antonin Décimo Committed by Juliusz Chroboczek

Fix typos.

parent 0265df63
...@@ -80,7 +80,7 @@ function ServerConnection() { ...@@ -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() { ...@@ -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) { ...@@ -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) { ...@@ -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 = {};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment