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

Minor type tightenings in protocol.js.

This commit is contained in:
Juliusz Chroboczek 2020-08-14 14:36:29 +02:00
parent 668fae29ef
commit 7848822469

View file

@ -62,7 +62,7 @@ function ServerConnection() {
this.down = {}; this.down = {};
/** /**
* The ICE configuration used by all associated streams. * The ICE configuration used by all associated streams.
* @type {Array.<Object>} * @type {Array.<RTCIceServer>}
*/ */
this.iceServers = null; this.iceServers = null;
/** /**
@ -435,6 +435,7 @@ ServerConnection.prototype.groupAction = function(kind) {
* userAction sends a request to act on a user. * userAction sends a request to act on a user.
* *
* @param {string} kind - One of "op", "unop", "kick", "present", "unpresent". * @param {string} kind - One of "op", "unop", "kick", "present", "unpresent".
* @param {string} id
*/ */
ServerConnection.prototype.userAction = function(kind, id) { ServerConnection.prototype.userAction = function(kind, id) {
this.send({ this.send({
@ -448,7 +449,7 @@ ServerConnection.prototype.userAction = function(kind, id) {
* Called when we receive an offer from the server. Don't call this. * Called when we receive an offer from the server. Don't call this.
* *
* @param {string} id * @param {string} id
* @param labels * @param {Object.<string, string>} labels
* @param {RTCSessionDescriptionInit} offer * @param {RTCSessionDescriptionInit} offer
* @param {boolean} renegotiate * @param {boolean} renegotiate
*/ */