I have developed an IP camera app for iOS in which I am playing RTSP streams using MobileVLCKit (ver: 3.3.0 and the latest one) but after the iOS 16 update, the load time of RTSP streams is increased to 40-50 seconds on iPhone 12 onwards while the stream loads fine on iPhone 11 and earlier. Before the iOS update, the stream was loading perfectly fine on every device(within 4-5 seconds).
I have added the following options to my player instance:
I have also tried adding the "multicast entitlement" key "com.apple.developer.networking.multicast" in info.plist but nothing is working to reduce this load time.
The video is attached for reference: It's iPhone 13 and in this the stream loads after 23-24 seconds.
Thank you for your reply. Can you please guide me on how can I request the entitlement?
No, the stream is loading with more delay (60-65 seconds) in the official VLC App (project downloaded from Github)
The question was not whether you can compile our app, but whether the stream works with the app we provide on the App Store which includes the correct entitlement.
Regarding the entitlement, please google it. There is a form to request it from Apple for your app.
@aalokhyperlink yes we have added the entitlement which you can get from the Apple developer. But that didn't work out for us. We have performed the following steps to temporarily resolve our issue.
1: Go to Settings
2: Search for your application
3: Disable Local Network Settings.
i am using MobileVLCKit for play rtsp , but i am facing loading issue in that like it takes 10 - 15 seconds for play rtsp stream.if you are using same how much time it will take to load stram in your side if less then that my time then can you please tell me how you reduce the load for it
i am waiting for your reply..
Hello @febelectron this version is also was 3.4.0 see the terminal screen shot below how we can reduce the buffer time that's my question dear help me in this
Team, I am reopening this issue as we are still facing the same delay (of more than 50-55 seconds) issue while loading RTSP streams. We have requested and added Multicast Networking (screenshot is attached) to our app and also added media options as "rtsp-tcp": true, "network-caching":999, "codec": "" after getting help from the official VLC app. As mentioned above, we are not facing any delay issues in the VLC app which is in production on App Store. Do let us know if we are still missing anything or any other dependency/setting we have to add to our player.
Please help us out in fixing this issue as this is very annoying and affecting our IP cameras service. Would be grateful if you guys can look into this on priority.
We are getting the same effect on iOS, however not only on iOS 16 (but mostly on it). The strange thing - if phone connected to Mac via cable - the video starts after 3 seconds. Do you see the same?
Yes, we were facing the same issue but after a lot of debugging, we found a temporary solution to this issue. You may also try the following steps to rectify this.
1: Go to Settings
2: Search for your application
3: Disable Local Network Settings.
Thanks, Arslan. I didn't have a chance to try your advice but finally MobileVLCKit downgrade to 3.3.10 helped us (per this one).
we have added to Podfile:
pod 'MobileVLCKit', '3.3.10'
I've been doing some research on this topic, but I cannot seem to find anything conclusive.
My Swift app for iOS 16 seems to work properly (if slightly slowly) both on simulators and plugged devices. But once I unplugged the physical devices from the Mac that's running the debugger, the streaming does not start for good.
I would like to ask some questions:
1.- Is there any way to access the Media Player debug log outside Xcode (e.g. writing its content to a TXT file, or to a SQLite database)?
2.- In some cases, I've found that the mentioned behavior is due to the Multicast Networking entitlement not being enabled for the application (even stated in this very thread). Could someone kindly explain to me why is that so?
In case you need further details, please let me know.
We are still facing this problem, it occured in React-Native VLC library in IOS. It works fine when we debug with cable, but we face this problem in production