iOS 17 Made my MobileVLCKit 3.5.1 App stop working with RTSP

iOS, iPad, iPhone, tvOS specific usage questions
MaxRemote4
New Cone
New Cone
Posts: 3
Joined: 31 Oct 2020 14:16

iOS 17 Made my MobileVLCKit 3.5.1 App stop working with RTSP

Postby MaxRemote4 » 01 Oct 2023 02:34

Hi I have a popular iOS App called Remote4 to view RTSP Cameras.
With the release of iOS 17 it stopped working.
The main message seems to be: "Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0"
Please see the file attached logs...

To help you, we need messages, to completely understand what your problems is.

From windows command line or linux or macos terminal, launch vlc with options -vv and --logfile=file

  • Windows example: vlc.exe -vv --logfile=c:\vlclog.txt
  • Linux example: vlc -vv --logfile=vlclog.txt, or vlc -vv 2>&1 > logfile.txt
Then paste the full resulting log here between [​code]and[​/code] (or use Pastebin.com if it's too long)

Also don't forget to name your Operating System and provide the VLC media player version.
creating player instance with private library as options were given
New Player: [CAM ADDRESS HIDDEN]:7447/FvYurmcMJneW4FNE
Opening connection to 192.168.1.1, port 7447...
CHANGED!
opening or playing
CHANGED!
...remote connection opened
Sending request: OPTIONS [CAM ADDRESS HIDDEN]:7447/FvYurmcMJneW4FNE RTSP/1.0

CSeq: 2

User-Agent: LibVLC/3.0.19 (LIVE555 Streaming Media v2016.10.21)




Received 259 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK

CSeq: 2

Cache-Control: no-store

Date: Sun, 01 Oct 2023 00:32:08 UTC

Expires: Sun, 01 Oct 2023 00:32:08 UTC

Pragma: no-cache

Public: DESCRIBE, OPTIONS, PAUSE, PLAY, SETUP, TEARDOWN, ANNOUNCE, RECORD

Server: Unifi Protect ()




Sending request: DESCRIBE [CAM ADDRESS HIDDEN]:7447/FvYurmcMJneW4FNE RTSP/1.0

CSeq: 3

User-Agent: LibVLC/3.0.19 (LIVE555 Streaming Media v2016.10.21)

Accept: application/sdp




New Player: [CAM ADDRESS HIDDEN]:7447/FvYurmcMJneW4FNE
Opening connection to 192.168.1.1, port 7447...
New Player: [CAM ADDRESS HIDDEN]:7447/FvYurmcMJneW4FNE
Opening connection to 192.168.1.1, port 7447...
...remote connection opened
Sending request: OPTIONS [CAM ADDRESS HIDDEN]:7447/FvYurmcMJneW4FNE RTSP/1.0

CSeq: 2

User-Agent: LibVLC/3.0.19 (LIVE555 Streaming Media v2016.10.21)




...remote connection opened
Sending request: OPTIONS [CAM ADDRESS HIDDEN]:7447/FvYurmcMJneW4FNE RTSP/1.0

CSeq: 2

User-Agent: LibVLC/3.0.19 (LIVE555 Streaming Media v2016.10.21)




Received 963 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK

CSeq: 3

Cache-Control: no-store

Content-Base: [CAM ADDRESS HIDDEN]:7447/FvYurmcMJneW4FNE/

Content-Length: 670

Content-Type: application/sdp

Date: Sun, 01 Oct 2023 00:32:08 UTC

Expires: Sun, 01 Oct 2023 00:32:08 UTC

Pragma: no-cache

Server: Unifi Protect ()



v=0

o=- 119402 0 IN IP4 192.168.1.1

s=18E829CFF756_0

u=

e=info@ui.com

c=IN IP4 192.168.1.1

t=0 0

a=recvonly

a=control:*

a=range:npt=now-

m=audio 0 RTP/AVP 96

a=recvonly

a=rtpmap:96 mpeg4-generic/48000/1

a=control:trackID=0

a=fmtp:96 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1188; SizeLength=13; IndexLength=3; IndexDeltaLength=3;

m=audio 0 RTP/AVP 96

a=recvonly

a=rtpmap:96 opus/48000/2

a=control:trackID=1

a=fmtp:96

m=video 0 RTP/AVP 97

a=recvonly

a=control:trackID=2

a=rtpmap:97 H264/90000

a=fmtp:97 profile-level-id=4d0029; packetization-mode=1; sprop-parameter-sets=Z00AKZpkA8ARPy4C3AQEBQAAAwPoAADDUJ2giEag,aO48gA==


creating player instance with private library as options were given
CHANGED!
[CAM ADDRESS HIDDEN]:7447/FvYurmcMJneW4FNE
STOPPED
stopped
Retry time:0 [CAM ADDRESS HIDDEN]:7447/FvYurmcMJneW4FNE
creating player instance with private library as options were given
Received 259 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK

CSeq: 2

Cache-Control: no-store

Date: Sun, 01 Oct 2023 00:32:08 UTC

Expires: Sun, 01 Oct 2023 00:32:08 UTC

Pragma: no-cache

Public: DESCRIBE, OPTIONS, PAUSE, PLAY, SETUP, TEARDOWN, ANNOUNCE, RECORD

Server: Unifi Protect ()




Sending request: DESCRIBE [CAM ADDRESS HIDDEN]:7447/FvYurmcMJneW4FNE RTSP/1.0

CSeq: 3

User-Agent: LibVLC/3.0.19 (LIVE555 Streaming Media v2016.10.21)

Accept: application/sdp




Received 259 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK

CSeq: 2

Cache-Control: no-store

Date: Sun, 01 Oct 2023 00:32:08 UTC

Expires: Sun, 01 Oct 2023 00:32:08 UTC

Pragma: no-cache

Public: DESCRIBE, OPTIONS, PAUSE, PLAY, SETUP, TEARDOWN, ANNOUNCE, RECORD

Server: Unifi Protect ()




Sending request: DESCRIBE [CAM ADDRESS HIDDEN]:7447/FvYurmcMJneW4FNE RTSP/1.0

CSeq: 3

User-Agent: LibVLC/3.0.19 (LIVE555 Streaming Media v2016.10.21)

Accept: application/sdp




Received 963 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK

CSeq: 3

Cache-Control: no-store

Content-Base: [CAM ADDRESS HIDDEN]:7447/FvYurmcMJneW4FNE/

Content-Length: 670

Content-Type: application/sdp

Date: Sun, 01 Oct 2023 00:32:08 UTC

Expires: Sun, 01 Oct 2023 00:32:08 UTC

Pragma: no-cache

Server: Unifi Protect ()



v=0

o=- 119406 0 IN IP4 192.168.1.1

s=18E829CFF756_0

u=

e=info@ui.com

c=IN IP4 192.168.1.1

t=0 0

a=recvonly

a=control:*

a=range:npt=now-

m=audio 0 RTP/AVP 96

a=recvonly

a=rtpmap:96 mpeg4-generic/48000/1

a=control:trackID=0

a=fmtp:96 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1188; SizeLength=13; IndexLength=3; IndexDeltaLength=3;

m=audio 0 RTP/AVP 96

a=recvonly

a=rtpmap:96 opus/48000/2

a=control:trackID=1

a=fmtp:96

m=video 0 RTP/AVP 97

a=recvonly

a=control:trackID=2

a=rtpmap:97 H264/90000

a=fmtp:97 profile-level-id=4d0029; packetization-mode=1; sprop-parameter-sets=Z00AKZpkA8ARPy4C3AQEBQAAAwPoAADDUJ2giEag,aO48gA==


Received 963 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK

CSeq: 3

Cache-Control: no-store

Content-Base: [CAM ADDRESS HIDDEN]:7447/FvYurmcMJneW4FNE/

Content-Length: 670

Content-Type: application/sdp

Date: Sun, 01 Oct 2023 00:32:08 UTC

Expires: Sun, 01 Oct 2023 00:32:08 UTC

Pragma: no-cache

Server: Unifi Protect ()



v=0

o=- 119404 0 IN IP4 192.168.1.1

s=18E829CFF756_0

u=

e=info@ui.com

c=IN IP4 192.168.1.1

t=0 0

a=recvonly

a=control:*

a=range:npt=now-

m=audio 0 RTP/AVP 96

a=recvonly

a=rtpmap:96 mpeg4-generic/48000/1

a=control:trackID=0

a=fmtp:96 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1188; SizeLength=13; IndexLength=3; IndexDeltaLength=3;

m=audio 0 RTP/AVP 96

a=recvonly

a=rtpmap:96 opus/48000/2

a=control:trackID=1

a=fmtp:96

m=video 0 RTP/AVP 97

a=recvonly

a=control:trackID=2

a=rtpmap:97 H264/90000

a=fmtp:97 profile-level-id=4d0029; packetization-mode=1; sprop-parameter-sets=Z00AKZpkA8ARPy4C3AQEBQAAAwPoAADDUJ2giEag,aO48gA==


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
[/logfile]

Moa2023
New Cone
New Cone
Posts: 3
Joined: 02 Oct 2023 01:12

Re: iOS 17 Made my MobileVLCKit 3.5.1 App stop working with RTSP

Postby Moa2023 » 02 Oct 2023 01:14

Hi, i have same issue ang got stuck for 4 days trying everything, it seems only this problem with the rtsp, if you try http streaming, it will work. but i hope the problem get fixed for the rtsp.

Moa2023
New Cone
New Cone
Posts: 3
Joined: 02 Oct 2023 01:12

Re: iOS 17 Made my MobileVLCKit 3.5.1 App stop working with RTSP

Postby Moa2023 » 02 Oct 2023 01:35

Hi, i have a temporary solution for you, it worked for me by disabling the local network option in the ioS setting by doing following:
1- Open Setting.
2- Go to your App, and click on it.
3- Disable Local Network.
Hope this will work for you.

I am still searching for permanent solution!

Moa2023
New Cone
New Cone
Posts: 3
Joined: 02 Oct 2023 01:12

Re: iOS 17 Made my MobileVLCKit 3.5.1 App stop working with RTSP

Postby Moa2023 » 02 Oct 2023 02:06

Hi MaxRemote4,
I found the solution, you need to request Multicast Networking Entitlement from Apple using the following:

https://developer.apple.com/contact/req ... -multicast

After that, go to your App identifier in the apple developer and you will find a new tap with additional Capabilities then enable Multicast Networking!

Hope this will help you and fix your problem, let me know if this helped you!

unidan
Developer
Developer
Posts: 1493
Joined: 25 Mar 2018 01:00

Re: iOS 17 Made my MobileVLCKit 3.5.1 App stop working with RTSP

Postby unidan » 02 Oct 2023 09:38

Indeed, you'll need the multicast network entitlement for SDP.

MaxRemote4
New Cone
New Cone
Posts: 3
Joined: 31 Oct 2020 14:16

Re: iOS 17 Made my MobileVLCKit 3.5.1 App stop working with RTSP

Postby MaxRemote4 » 02 Oct 2023 17:18

Thanks!
Just sent the request, I hope this works!
Will keep you posted.


Return to “VLC for iOS, iPadOS and Apple TV”

Who is online

Users browsing this forum: No registered users and 9 guests