fix(player): non-immutable exception list

This commit is contained in:
Alex Kaminskii 2022-11-25 16:09:54 +01:00
parent dd8f666ca5
commit cce7017905

View file

@ -32,11 +32,11 @@ export default class WebPlayer extends Player {
constructor(private wpState: Store<typeof WebPlayer.INITIAL_STATE>, session, config: RTCIceServer[], live: boolean) {
let initialLists = live ? {} :{
let initialLists = live ? {} : {
event: session.events.toJSON(),
stack: session.stackEvents.toJSON(),
resource: session.resources.toJSON(),
exceptions: session.errors,
exceptions: session.errors.toJSON(),
}
const screen = new Screen()