react-native-vlc-media-player icon indicating copy to clipboard operation
react-native-vlc-media-player copied to clipboard

Cannot Release the vlc player component using vlcplayerref.current value

Open vivekremiji1993 opened this issue 1 year ago • 0 comments

I am using a horizontal FlatList in React Native with 8 list items, each containing a VLCPlayer component to stream HLS URLs. Each item takes up 93% of the screen width. I want to release the previous player when swiping to the next VLCPlayer item. I've tried using vlcplayerref.current.release(), but it gives an error saying that release() is not a method. I also tried current.releasePlayer() and current.stop(), but these result in a "method not found" issue as well.

Right now, I'm experiencing serious performance issues in my application, along with a 25-second latency in the live video stream. Could anyone help me resolve these problems?

vivekremiji1993 avatar Sep 20 '24 04:09 vivekremiji1993