Not loading RTSP stream when Local Network permission granted (iOS)
When i'm trying to load the rtsp stream (remote camera), iPhone asks to grant access for local network (in both cases: When in app Info.plist there is the line with 'local network usage description' and when it there isn't). If grant access, then the download will be eternal and the frame won't appear. Or if i restrict access, all works fine. I tried to initialize controller with all available parameters, but it didn't help. Are there another solutions? P.S. For Android simillar scenario works fine
I am having the same issue. Everything was working fine until I did a cocopods update and that is when it stopped working. Rtsp streaming works perfectly when it is not on a local network. This issue is also only an issue on a release build and appears to be working perfectly when the app runs in debug mode on the device.
I found a solution for this issue. It is more related to basis of flutter plugin - MobileVLCKit. Actual 6.0.4 version of the plugin relies to MobileVLCKit 3.3.15. This version has problems with iOS 14+ (Local networks, also ip address 0.0.0.0 issue). As a temporary solution, you can manually delete stock MobileVLCKit 3.3.15 framework from Pods directory and force update MobileVLCKit to last version by add 'pod MobileVLCKit' in Podfile. Plus you can add these lines to your Info.plist:
- Privacy - Local Network Usage Description
- NSBonjourServices [_googlecast._tcp]
Issue still exists in MobileVLCKit 3.5.1 and plugin 7.2.0 version.
The above issue still exists. I am using flutter_vlc_player 7.3.1 (latest). We are suffering from this for last 20 days. Is there any solution available? Please help us to get rid of this, Thanks.