Hello! I'm using LibVLCSharp.Forms 3.6.1 and VideoLAN.LibVLC.iOS 3.3.17
I get an error while playing the rtsp stream.
"Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0"
On the old version (3.3.10) it works without error.
Edited
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items
0
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Hello, I'm using MobileVLCKit 3.3.17. It is working on iOS but not on iOS14.7.1 and iOS14.8.1. the log print "Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0".
Don't play RTSP live stream on iOS14.7.1 and iOS14.8.1.
I'm using the MobileVLCKit 3.3.18b7 but it is not working ! the log print "Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0"!
Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0
Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0
Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0
Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0
So, this is an often reported bug from many different users. Can anyone of you provide a RTSP stream for testing so we can see how to fix this? If you cannot, we cannot fix.
yes.i know! it is working on the VLC app!
Our phones need to be connected to WiFi signals emitted by hardware to play video streams.
I wonder if there is a way to put it in an accessible address, or to create a video stream in H264 format by referring to its Settings.
Jean-Baptiste Kempfchanged title from Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0 to RTSP on iOS14. Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0
changed title from Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0 to RTSP on iOS14. Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0
We came across this in a project as well. For us, we found that the call to gethostname was unreliable on some phones. I don't know if this is something related to any specific iOS versions, but we ended up with a patch to Live555 GroupSockHelper to call getifaddrs and fetch the first IP4 address on the wireless "en0" interface found. This fixed the "invalid IP address: 0.0.0.0" error for us. This patch is linked here and was added on to a previous patch on the GroupSockHelper in the Live555 source. This patch implementation assumes the wireless interface, and as such may not be suitable everywhere.
We did however find more issues later on which are not directly related to this issue but certainly to RTSP use cases. These were related to users running a VPN, and routing issues for some carriers that happened to overlap with an IP we are connecting to. For these we ended up commenting out the proxy query in the HTTP access module for VLC to get around the proxy, then added calls to bind the sockets used for the initial HTTP and TCP connection to the "en0" named interface. I've included the patches below, but I expect they are a bit rudimentary in their current state. You'd probably want to enable configuration options to disable the HTTP proxy and to set a preferred connection interface (cellular or wifi).
Sadly, I will not have the time to look at it soon as the VLC-iOS and other subtasks in VLCKit are keeping me quite busy. I can offer a contact to a consulting company in case you need this to be fixed urgently.
Hi, @thombrink , unfortunately no, I’m still having troubles with this issue. Try to play with different vlc versions and different iOS devices (some of our customers are reporting that they are having different behaviors on devices lower than iPhone 14). Please let me know if you will figure out what’s wrong :)
Hi again, @thombrink, can you tell me what this problem looks like for the end user? For our customers who have reported this issue, there has been an increase in the streaming loading time
@Z1napp if I remember correctly we had to simulate a macos mdns server. The steam loading took very long because it couldn't resolve it's own ip-address. After that request timed out, the stream started. After I implemented a simple mdns service that just retuned the caller ip-address, the streams started to load quickly again.