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:
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 }
|
||||
}
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user