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

Long video load time

Open lightninglu10 opened this issue 1 year ago • 3 comments

Trying to load local videos, it takes a long time for the video to instantiate on debug mode. An 11s video takes over 20-30s to load up initially. Is there something we're doing wrong here?

lightninglu10 avatar Aug 18 '23 01:08 lightninglu10

On some iOS devices, I have been reported that this issue occurs randomly. It works perfectly on my iPhone 12; however, another user with the same model reported the same issue mentioned above.

reubber avatar Aug 24 '23 14:08 reubber

Trying to load local videos, it takes a long time for the video to instantiate on debug mode. An 11s video takes over 20-30s to load up initially. Is there something we're doing wrong here?

I don't know the reason, but it seems to have worked here after disabling the app's local network, while on other devices, enabling this option makes the video load quickly.

reubber avatar Sep 01 '23 16:09 reubber

Hi I had the same issue. It was fixed by enabling "com.apple.developer.networking.multicast" capability. It is not an ordinary capability, you must get approved by Apple. You can do it here https://developer.apple.com/contact/request/networking-multicast. For me it took less than a week to get approved for both of my apps.

Initially I have found it on VLC forum https://code.videolan.org/videolan/VLCKit/-/issues/703

Hope it helps

AnZuev avatar Dec 10 '23 14:12 AnZuev