diff --git a/src/component/internal/webrtc.ts b/src/component/internal/webrtc.ts index 7de6fef0..9aa948b7 100644 --- a/src/component/internal/webrtc.ts +++ b/src/component/internal/webrtc.ts @@ -350,7 +350,7 @@ export class NekoWebRTC extends EventEmitter { this.emit('stats', { bitrate: (bytesDiff / tsDiff) * 1000, packetLoss: (packetsLostDiff / (packetsLostDiff + packetsReceivedDiff)) * 100, - fps: Number(report.framesPerSecond || (framesDecodedDiff / (tsDiff / 1000))), + fps: Number(report.framesPerSecond || framesDecodedDiff / (tsDiff / 1000)), width: report.frameWidth || NaN, height: report.frameHeight || NaN, })