Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not loading RTSP stream when Local Network permission granted (iOS) #253

Open
mIwr opened this issue Aug 30, 2021 · 4 comments
Open

Not loading RTSP stream when Local Network permission granted (iOS) #253

mIwr opened this issue Aug 30, 2021 · 4 comments

Comments

@mIwr
Copy link

mIwr commented Aug 30, 2021

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

@dianventer
Copy link

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.

@mIwr
Copy link
Author

mIwr commented Sep 21, 2021

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]

@rkyrychuk
Copy link

Issue still exists in MobileVLCKit 3.5.1 and plugin 7.2.0 version.

@Nandhu-89
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants