react-player
react-player copied to clipboard
Video stream isn't closed on Player component removal
Current Behavior
Video stream isn't closed when we stop player and remove component.
Expected Behavior
Component either closes the stream on removal phase or has the method for this.
Steps to Reproduce
- Open player with video stream and remove component.
- Check in network that stream still fetches the video.
Environment
Nothing special about environment. Current machine I have this one is: MacBook Pro M1, Chrome. But this can be found on demo page of this project as well. UPD. It occurs with FLV.
Have the same behaviour, this seem critical
faced this issue for flv format
Having the same issue with webm-format HTTP streams. The connection doesn't close even if I reset the url to empty state inside useEffect() return as an unmount cleanup.