RTSP live video stream by cable doesn't work after update to iPad OS 17.

Hard/Software: iPad 7, Ipad OS 17.0.3, MobileVLCKit, SDP/RTSP stream, USB/Ethernet cable.

Description: I have an iPad application for live video streaming. From a security point of view, it should work via cable (USB/Ethernet). This application uses MobileVLCKit player to play videos. Videos are available via a URLs with an IP address and use the SDP/RTSP format (url example: http://172.20.129.69/stream/sdp).

Code example:

let camUri="http://172.20.129.69/stream/sdp"
let options = ["--network-caching=100"]
var players: [VLCMediaPlayer] = []
players.append(VLCMediaPlayer(options: options))
let media = VLCMedia(url: camUri)
players[0].media = media
players[0].drawable = centerView
players[0].play()

Problem: The application worked on various iPads with iPad OS 16 and lower (using cable or Wi-Fi). After updating to iPad OS 17, the application no longer works via cable.

What could be the problem and how to fix it?

Replies

Just for the sake of testing, what happens if, within your app, you run a simple HTTP request with URLSession to the same IP address?

I suspect it’ll work on both iOS 16 and 17, which suggests that this issue is specific to the third-party library you’re using.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

  • Thank you, the problem was solved by editing Ethernet settings. It seems, I lost some settings after updating OS or somehow.... There was manually setted Ethernet on my iPad before. But anyway, is it possible to access the video stream in APP from the Ethernet cable when other apps use Wi-Fi (I mean using cable and Wi-Fi together one time)?

Add a Comment