I encountered a situation when using mobileVLCKit, the test image appeared in iOS16.6 or above will have loading slow problem, but the interesting thing is that as long as the cable connected to the laptop has been connected to display the image normally and quickly, the time is about 3 seconds or less.
But as soon as I uploaded the app to TestFlight and downloaded it to test it again, I found that the image would be slow loading again, but this situation is normal under iOS 16.6.
Has anyone else encountered a similar problem or know how to fix it?
- - - - -
I've seen this article before where someone mentioned that it could be solved.
I've seen this post before where someone mentioned that they could go back to 3.3.10 but after trying it they get a module not found error, so I'm thinking it's because the version gap is too big for it to work properly.
https://code.videolan.org/videolan/VLCK ... ote_361532
I don't work in the US at the moment, so I'm wondering if the author of the tool mentioned that I need to apply for a license from Apple, in which case I still need to apply? Is it possible that this is the problem?
- - - - - - - - - - - - - - - - - -
Here's the code I'm using to display the image
Code: Select all
//Media
let media = VLCMedia(url: urls)
let options = [
":network-caching": "1000",
":rtsp-tcp": ""
]
media.addOptions(options)
vc.playerManager.mediaPlayer.media = media
vc.playerManager.mediaPlayer.delegate = vc