mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
lint fix.
This commit is contained in:
parent
a9e40d8b22
commit
c4486152e7
@ -350,7 +350,7 @@ export class NekoWebRTC extends EventEmitter<NekoWebRTCEvents> {
|
||||
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,
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user