ソースを参照

fix: Fix possible undefined error in bwe stats.

master
damencho 5ヶ月前
コミット
45a4861a29
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      modules/connectivity/ConnectionQuality.js

+ 1
- 1
modules/connectivity/ConnectionQuality.js ファイルの表示

@@ -149,7 +149,7 @@ export default class ConnectionQuality {
149 149
         conference.on(
150 150
             ConferenceEvents.BRIDGE_BWE_STATS_RECEIVED,
151 151
             bwe => {
152
-                if (bwe) {
152
+                if (bwe && this._localStats?.bandwidth) {
153 153
                     this._localStats.bandwidth.download = Math.floor(bwe / 1000);
154 154
                 }
155 155
             });

読み込み中…
キャンセル
保存