Page 1 of 1

Slow loading of rtsp images on iOS 16.6+ using mobileVLCKit

Posted: 08 Mar 2024 02:48
by Ashinboy
Hi

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

Re: Slow loading of rtsp images on iOS 16.6+ using mobileVLCKit

Posted: 09 Mar 2024 18:07
by fkuehne
Do you have the multicast entitlement for your app?

Re: Slow loading of rtsp images on iOS 16.6+ using mobileVLCKit

Posted: 11 Mar 2024 05:04
by Ashinboy
Do you have the multicast entitlement for your app?
Is it at the following link?
-
https://developer.apple.com/contact/req ... -multicast

I have received a letter from apple notifying me that my application has been approved, and I have checked Multicast Networking from the developer's backend, but after re-uploading the app and downloading it from TestFlight, I found that there is still a slow loading situation.
Is it because I didn't modify something or the code?

-
Thank you very much for your reply.

Re: Slow loading of rtsp images on iOS 16.6+ using mobileVLCKit

Posted: 11 Mar 2024 10:02
by Ashinboy
Do you have the multicast entitlement for your app?
Is it at the following link?
-
https://developer.apple.com/contact/req ... -multicast

I have received a letter from apple notifying me that my application has been approved, and I have checked Multicast Networking from the developer's backend, but after re-uploading the app and downloading it from TestFlight, I found that there is still a slow loading situation.
Is it because I didn't modify something or the code?

-
Thank you very much for your reply.
Thanks to fkuehne's help, after authorization I managed to fix the problem so far!!!!

Re: Slow loading of rtsp images on iOS 16.6+ using mobileVLCKit

Posted: 12 Mar 2024 06:42
by fkuehne
Cool! Enjoy!

Re: Slow loading of rtsp images on iOS 16.6+ using mobileVLCKit

Posted: 05 Jul 2024 17:26
by malikoski
I have the same problem. The player slowdown issue was detected in versions 14.7 and 17.3. In versions 15.3, 15.4 and 15.6, the slowdown problem did not occur. Below you will find the logs collected from the different iOS versions.The problem only happens if the Local Network permission is enabled.

Note: I have already activated multicast on Apple and the problem still occurs when loading images.

Here are my logs:
https://github.com/solid-software/flutt ... oblems.log
https://github.com/solid-software/flutt ... oblems.log
https://github.com/solid-software/flutt ... oblems.log
https://github.com/solid-software/flutt ... oblems.log
https://github.com/solid-software/flutt ... oblems.log