mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
firefox framerate correct key.
This commit is contained in:
parent
df933c8e60
commit
0dbab610aa
@ -348,9 +348,9 @@ export class NekoWebRTC extends EventEmitter<NekoWebRTCEvents> {
|
||||
this.emit('stats', {
|
||||
bitrate: (bytesDiff / tsDiff) * 1000,
|
||||
packetLoss: (packetsLostDiff / (packetsLostDiff + packetsReceivedDiff)) * 100,
|
||||
fps: report.framesPerSecond,
|
||||
width: report.frameWidth,
|
||||
height: report.frameHeight,
|
||||
fps: Number(report.framesPerSecond || report.framerateMean),
|
||||
width: report.frameWidth || NaN,
|
||||
height: report.frameHeight || NaN,
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user