razorRun/react-native-vlc-media-player

Long video load time

lightninglu10 opened this issue · 5 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?

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.

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.

AnZuev commented

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