Recording icon stays on

Hi,

I use react-recorder-redux (that uses react-recorder)

to record and use that for mic activity… (in a react component).

Anyway when I go on other page or back on unmount I kill all the tracks and call the stop

command on recorder.

All good except the top tab browser still has the red recording icon on.

Cheers,
Adrian

componentWillUnmount() {
this.props.recorderStop();
if (this.state.stream) {
this.state.stream.getTracks().forEach((track) => {
track.stop();
});
}
this.setState({
streamUrl: ‘’,
stream: ‘’,
});
this.videoElement.src = ‘’;
}

I think you may have posted in the wrong site. This is for RunKit questions, but if I’m mistaken and this is something happening there, please let me know.

yes it seems is not at all the place :slight_smile:
thanks!