Skip to content

Commit

Permalink
remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasIO committed Sep 14, 2023
1 parent b946b55 commit 67013ee
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/room/RTCEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -447,10 +447,9 @@ export default class RTCEngine extends (EventEmitter as new () => TypedEventEmit
this.emit(EngineEvent.Connected, joinResponse);
}
}
log.warn(`secondary PC state changed ${secondaryPC.connectionState}`);
log.debug(`secondary PC state changed ${secondaryPC.connectionState}`);
// also reconnect if secondary peerconnection fails
if (secondaryPC.connectionState === 'failed') {
log.warn('issuing reconnect for secondary PC failed');
this.handleDisconnect(
'secondary peerconnection',
subscriberPrimary
Expand Down Expand Up @@ -1099,7 +1098,6 @@ export default class RTCEngine extends (EventEmitter as new () => TypedEventEmit
log.debug('waiting for peer connection to reconnect');
while (now - startTime < this.peerConnectionTimeout) {
if (this.primaryPC === undefined) {
console.warn('primary missing, connection hosed');
// we can abort early, connection is hosed
break;
} else if (
Expand Down

0 comments on commit 67013ee

Please sign in to comment.