Просмотр исходного кода

feat(JitsiConference): add getLastN

dev1
paweldomas 8 лет назад
Родитель
Сommit
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

Загрузка…
Отмена
Сохранить