瀏覽代碼

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…
取消
儲存