diff --git a/src/component/internal/webrtc.ts b/src/component/internal/webrtc.ts index 9a56720a..7de6fef0 100644 --- a/src/component/internal/webrtc.ts +++ b/src/component/internal/webrtc.ts @@ -334,7 +334,7 @@ export class NekoWebRTC extends EventEmitter { let report: any = null stats.forEach(function (stat) { if (stat.type === 'inbound-rtp' && stat.kind === 'video') { - report = stat + report = { ...stat } } })