Bladeren bron

feat(JitsiConference): add getLastN

dev1
paweldomas 8 jaren geleden
bovenliggende
commit
187baa5350
1 gewijzigde bestanden met toevoegingen van 8 en 0 verwijderingen
  1. 8
    0
      JitsiConference.js

+ 8
- 0
JitsiConference.js Bestand weergeven

@@ -972,6 +972,14 @@ JitsiConference.prototype.pinParticipant = function(participantId) {
972 972
     this.rtc.pinEndpoint(participantId);
973 973
 };
974 974
 
975
+/**
976
+ * Obtains the current value for "lastN". See {@link setLastN} for more info.
977
+ * @returns {number}
978
+ */
979
+JitsiConference.prototype.getLastN = function() {
980
+    return this.rtc.getLastN();
981
+};
982
+
975 983
 /**
976 984
  * Selects a new value for "lastN". The requested amount of videos are going
977 985
  * to be delivered after the value is in effect. Set to -1 for unlimited or

Laden…
Annuleren
Opslaan