Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
raviteja83 committed Oct 10, 2024
1 parent f6ed495 commit fe92c47
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -516,12 +516,12 @@ export class HMSLocalVideoTrack extends HMSVideoTrack {

private addTrackEventListeners(track: MediaStreamTrack) {
track.addEventListener('mute', this.handleTrackMute);
track.addEventListener('unmute', this.handleTrackUnmute);
track.addEventListener('unmute', this.handleTrackUnmuteNatively);
}

private removeTrackEventListeners(track: MediaStreamTrack) {
track.removeEventListener('mute', this.handleTrackMute);
track.removeEventListener('unmute', this.handleTrackUnmute);
track.removeEventListener('unmute', this.handleTrackUnmuteNatively);
}

private handleTrackMute = () => {
Expand All @@ -536,7 +536,7 @@ export class HMSLocalVideoTrack extends HMSVideoTrack {
};

/** @internal */
handleTrackUnmute = async () => {
handleTrackUnmuteNatively = async () => {
HMSLogger.d(this.TAG, 'unmuted natively');
this.eventBus.analytics.publish(
this.sendInterruptionEvent({
Expand Down

0 comments on commit fe92c47

Please sign in to comment.