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

[IOS] Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0 #255

Closed
aososam opened this issue Sep 9, 2021 · 2 comments

Comments

@aososam
Copy link

aososam commented Sep 9, 2021

When trying to get from network using this code:

VlcPlayerController _vlcViewController = new VlcPlayerController.network("rtsp://192.168.1.9/live/ch00_0");

VlcPlayer( controller: _vlcViewController, aspectRatio: 1.23, placeholder: Text("Loading"), )

On Android it loads fine, but on iOS I get the following error:

"Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0"

Flutter doctor output:

[✓] Flutter (Channel stable, 2.0.3, on macOS 11.4 20F71 darwin-x64, locale en-CZ)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.60.0)
[✓] Connected device (3 available)

Using:
flutter_vlc_player: ^5.0.5
iOS 14.6

@bachhuberdesign
Copy link

bachhuberdesign commented Sep 17, 2021

As far as I can tell, this is a MobileVLCKit issue, rather than a flutter_vlc_player issue (as of the time of this writing, flutter_vlc_player wraps MobileVLCKit version 3.3.15). We use React Native and are encountering the exact same issue with live555 throwing the invalid IP address error. VLC wraps live555 internally for RTSP streaming. Some discussion here https://code.videolan.org/videolan/VLCKit/-/issues/519 for those of us facing the same issues.

@aososam
Copy link
Author

aososam commented Sep 17, 2021

Yes, it seems like an issue with VLC, not with the Flutter plugin.
I will close this issue and continue in the conversation you mentioned @bachhuberdesign.

@aososam aososam closed this as completed Sep 17, 2021
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

2 participants