Skip to content

Commit

Permalink
Description : Fixing LGTM error. Instead of assignment, extra |=| was…
Browse files Browse the repository at this point in the history
… typed. (#24657)
  • Loading branch information
amolghode1981 authored Mar 4, 2022
1 parent 98b88c6 commit d913a58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/lib/voip/Stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ export default class Stream {
if (this.renderingMediaElement) {
// Someone already has setup the stream and initializing it once again
// Clear the existing stream object
this.renderingMediaElement.srcObject == null;
this.renderingMediaElement.pause();
this.renderingMediaElement.srcObject = null;
}
this.renderingMediaElement = rmElement;
}
Expand Down

0 comments on commit d913a58

Please sign in to comment.