mirror of
https://github.com/m1k1o/neko.git
synced 2025-08-06 10:20:26 +02:00
clone webrtc stats report.
This commit is contained in:
parent
a73a38b736
commit
a9e40d8b22
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue