Slow loading of rtsp images on iOS 16.6+ using mobileVLCKit

iOS, iPad, iPhone, tvOS specific usage questions
Ashinboy
New Cone
New Cone
Posts: 3
Joined: 08 Mar 2024 02:27

Slow loading of rtsp images on iOS 16.6+ using mobileVLCKit

Postby Ashinboy » 08 Mar 2024 02:48

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

fkuehne
Developer
Developer
Posts: 7266
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

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

Postby fkuehne » 09 Mar 2024 18:07

Do you have the multicast entitlement for your app?
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

Ashinboy
New Cone
New Cone
Posts: 3
Joined: 08 Mar 2024 02:27

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

Postby Ashinboy » 11 Mar 2024 05:04

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.

Ashinboy
New Cone
New Cone
Posts: 3
Joined: 08 Mar 2024 02:27

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

Postby Ashinboy » 11 Mar 2024 10:02

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!!!!

fkuehne
Developer
Developer
Posts: 7266
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

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

Postby fkuehne » 12 Mar 2024 06:42

Cool! Enjoy!
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

malikoski
New Cone
New Cone
Posts: 1
Joined: 28 Jun 2024 22:48

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

Postby malikoski » 05 Jul 2024 17:26

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


Return to “VLC for iOS, iPadOS and Apple TV”

Who is online

Users browsing this forum: No registered users and 24 guests