2
2
mirror of https://github.com/m1k1o/neko.git synced 2024-07-24 14:40:50 +12:00

clone webrtc stats report.

This commit is contained in:
Miroslav Šedivý 2021-03-18 14:09:12 +01:00
parent a73a38b736
commit a9e40d8b22

@ -334,7 +334,7 @@ export class NekoWebRTC extends EventEmitter<NekoWebRTCEvents> {
let report: any = null
stats.forEach(function (stat) {
if (stat.type === 'inbound-rtp' && stat.kind === 'video') {
report = stat
report = { ...stat }
}
})