Преглед изворни кода

feat(JitsiConference): add getLastN

dev1
paweldomas пре 8 година
родитељ
комит
187baa5350
1 измењених фајлова са 8 додато и 0 уклоњено
  1. 8
    0
      JitsiConference.js

+ 8
- 0
JitsiConference.js Прегледај датотеку

@@ -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

Loading…
Откажи
Сачувај