Skip to content

Commit

Permalink
Wrong check
Browse files Browse the repository at this point in the history
  • Loading branch information
havfo committed Mar 12, 2024
1 parent ec1b07e commit b620204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/mediaSender.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export class MediaSender extends EventEmitter {
this.producerOptions = {};
this.codec = undefined;

if (!local && !this.paused) this.emit('closed');
if (!local) this.emit('closed');
}

public addPeerId(peerId: string): void {
Expand Down

0 comments on commit b620204

Please sign in to comment.