mingxinstar / react-hls

simple react component for playing hls/rtmp live stream
44 stars 75 forks source link

when i setState the player will Reload why? #7

Open xiaomengheiheihei opened 5 years ago

xiaomengheiheihei commented 5 years ago

when i setState the hls player will reload cause flicker

devcshort commented 5 years ago

The component is set to "destroy" itself and then add itself back to the screen every time a state update happens. It seems like this project is no longer maintained. If you'd like I've forked this project and fixed some issues. It's available on npm as react-hls-player, and can also be found on my git profile