Skip to content

Commit

Permalink
Log syncState failure
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasIO committed Nov 13, 2023
1 parent 86db583 commit a83e3d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/room/Room.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1552,6 +1552,7 @@ class Room extends (EventEmitter as new () => TypedEmitter<RoomEventCallbacks>)

private sendSyncState() {
if (!this.engine.pcManager) {
log.warn('sync state cannot be sent without peer connection setup');
return;
}
const previousAnswer = this.engine.pcManager.subscriber.getLocalDescription();
Expand Down

0 comments on commit a83e3d7

Please sign in to comment.