|
|
@@ -645,8 +645,8 @@ JitsiConference.prototype.pinParticipant = function(participantId) {
|
|
645
|
645
|
};
|
|
646
|
646
|
|
|
647
|
647
|
/**
|
|
648
|
|
- * Returns the list of participants for this conference.
|
|
649
|
|
- * @return Array<JitsiParticipant> a list of participant identifiers containing all conference participants.
|
|
|
648
|
+ * @return Array<JitsiParticipant> an array of all participants in this
|
|
|
649
|
+ * conference.
|
|
650
|
650
|
*/
|
|
651
|
651
|
JitsiConference.prototype.getParticipants = function() {
|
|
652
|
652
|
return Object.keys(this.participants).map(function (key) {
|
|
|
@@ -655,8 +655,8 @@ JitsiConference.prototype.getParticipants = function() {
|
|
655
|
655
|
};
|
|
656
|
656
|
|
|
657
|
657
|
/**
|
|
658
|
|
- * @returns {JitsiParticipant} the participant in this conference with the specified id (or
|
|
659
|
|
- * undefined if there isn't one).
|
|
|
658
|
+ * @returns {JitsiParticipant} the participant in this conference with the
|
|
|
659
|
+ * specified id (or undefined if there isn't one).
|
|
660
|
660
|
* @param id the id of the participant.
|
|
661
|
661
|
*/
|
|
662
|
662
|
JitsiConference.prototype.getParticipantById = function(id) {
|
|
|
@@ -676,8 +676,8 @@ JitsiConference.prototype.kickParticipant = function (id) {
|
|
676
|
676
|
};
|
|
677
|
677
|
|
|
678
|
678
|
/**
|
|
679
|
|
- * Kick participant from this conference.
|
|
680
|
|
- * @param {string} id id of the participant to kick
|
|
|
679
|
+ * Mutes a participant.
|
|
|
680
|
+ * @param {string} id The id of the participant to mute.
|
|
681
|
681
|
*/
|
|
682
|
682
|
JitsiConference.prototype.muteParticipant = function (id) {
|
|
683
|
683
|
var participant = this.getParticipantById(id);
|