mirror of https://github.com/OpenVidu/openvidu.git
openvidu-browser: fix hark events reapplication after Publisher#replaceTrack
parent
b99f387b4e
commit
ce230f059a
|
@ -787,6 +787,9 @@ export class Publisher extends StreamManager {
|
||||||
this.openvidu.sendTrackChangedEvent(this,'trackReplaced', trackInfo.oldLabel, trackInfo.newLabel, 'audioActive');
|
this.openvidu.sendTrackChangedEvent(this,'trackReplaced', trackInfo.oldLabel, trackInfo.newLabel, 'audioActive');
|
||||||
}
|
}
|
||||||
if (track.kind === 'audio') {
|
if (track.kind === 'audio') {
|
||||||
|
this.stream.disableHarkSpeakingEvent(false);
|
||||||
|
this.stream.disableHarkStoppedSpeakingEvent(false);
|
||||||
|
this.stream.disableHarkVolumeChangeEvent(false);
|
||||||
this.stream.initHarkEvents();
|
this.stream.initHarkEvents();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue