Connection timeout when restarting the app multiple times
I am playing rtsp.
Check rtsp playback -> Exit app -> Disconnect wifi -> Connect wifi -> Run app -> Check rtsp playback
The rtsp doesn't play before reaching 10 times in the sequence.
-- SOURCE CODE -- player = VLCMediaPlayer.init() player?.libraryInstance.debugLogging = true player?.libraryInstance.debugLoggingLevel = 3
let url:URL = URL.init(string: "rtsp://admin:admin@192.168.10.1:554/streamer0")! player?.media = VLCMedia.init(url: url) player?.drawable = uv_player player?.play()
-- LOG --
2023-01-19 14:09:25.592558+0900 A-One Smart[807:270772] [DBG] Creating an input for 'rtsp://192.168.10.1:554/streamer0'
2023-01-19 14:09:25.592800+0900 A-One Smart[807:270772] [DBG] reusing audio output
2023-01-19 14:09:25.592841+0900 A-One Smart[807:270772] [DBG] keeping audio output
2023-01-19 14:09:25.592942+0900 A-One Smart[807:270855] [DBG] using timeshift granularity of 50 MiB
2023-01-19 14:09:25.592989+0900 A-One Smart[807:270855] [DBG] using default timeshift path
2023-01-19 14:09:25.593040+0900 A-One Smart[807:270855] [DBG] rtsp://192.168.10.1:554/streamer0' gives access
rtsp' demux any' path
192.168.10.1:554/streamer0'
2023-01-19 14:09:25.593093+0900 A-One Smart[807:270855] [DBG] creating demux: access='rtsp' demux='any' location='192.168.10.1:554/streamer0' file='(null)'
2023-01-19 14:09:25.593122+0900 A-One Smart[807:270855] [DBG] looking for access_demux module matching "rtsp": 12 candidates
2023-01-19 14:09:25.593172+0900 A-One Smart[807:270855] [DBG] version 2016.10.21
2023-01-19 14:09:30.595678+0900 A-One Smart[807:270855] [DBG] connection timeout 2023-01-19 14:09:30.596130+0900 A-One Smart[807:270855] [ERR] Failed to connect with rtsp://192.168.10.1:554/streamer0 2023-01-19 14:09:30.596691+0900 A-One Smart[807:270855] [DBG] version 2016.10.21
A timeout occurs after 5 seconds.
When install two of the same apps and play them, if one app doesn't work, the other app won't play it.
But in the VLC app it works fine.
Then when I connect it to mac, the video comes out again.
Should I add some options? Or is the usage wrong..?
When the app is terminated several times, the symptoms appear, and when connected to USB, it operates normally, making it difficult to obtain logs.
please help...thank you
The grammar may not be smooth using Google Translate.
Test Devices - Error iPad Pro 3rd 12.9 - iPadOS 16.2 iPad Air 5th - iPadOS 16.2
Test Devices - no Error iPad Pro 5th 12.9 - iPadOS 16.2
When I call VLCLibrary.shared().version it comes out as 3.0.17.3 Vetinari . When I installed CocoaPods, 'Installing MobileVLCKit (3.4.0)' came up.