Can't play RTSP on mobile network (3g, 4g)
RTSP links only play on Wifi. Could someone help me, please? I'm testing on an iPhone X iOS 15.5
player = VLCMediaPlayer()
player.drawable = self
player.delegate = self
backgroundColor = .black
let streamURL = URL(string: String(uri))
let media = VLCMedia(url: streamURL!)
media.addOptions([
"rtsp-tcp": true
])
player.libraryInstance.debugLogging = true
player.libraryInstance.debugLoggingLevel = 3
player.media = media
player.audio?.volume = 0
player.scaleFactor = 0
player.play()