video frame freeze
After Play RTSP Link in VLC Video Player In console log I am getting this and video stream stopped after 10 sec of play is there any way to solve this issue
I am using this pod in iOS : pod 'MobileVLCKit', '~> 3.4.0'
for play video in iOS I am using this code
videoPlayer.drawable = vwPlayer
videoPlayer.media = VLCMedia(url: url)
videoPlayer.delegate = self
videoPlayer.media?.addOption("-vv")
videoPlayer.libraryInstance.debugLogging = true
videoPlayer.media?.addOptions([
"live-caching": 0,
"rtp-caching": 0,
"rtsp-caching": 0,
"realrtsp-caching": 0,
"hardware-decoding":false,
"avcodec":false,
"rtsp-tcp": true,
"--h264-fps": 20.0,
"--vout": "iOS",
"--rtsp-frame-buffer-size":100,
"--tcp-caching=": 150,
"--realrtsp-caching=": 150
])
videoPlayer.media?.addOption("--file-caching=2000")
videoPlayer.media?.addOption("network-caching=600")
videoPlayer.media?.addOption("clock-jitter=0")
videoPlayer.media?.addOption("--rtsp-tcp")
videoPlayer.play()
LOGS of steam
Waiting for VPS/SPS/PPS
[hevc @ 0x7f8ff402e600] Could not find ref with POC 20
[hevc @ 0x7f8ff405ae00] Could not find ref with POC 22
[hevc @ 0x7f8ff4065e00] Could not find ref with POC 24
[hevc @ 0x7f8ff4070e00] Could not find ref with POC 26
[hevc @ 0x7f8ff407be00] Could not find ref with POC 28
[hevc @ 0x7f8ff4086e00] Could not find ref with POC 41
[hevc @ 0x7f8ff407be00] Could not find ref with POC 7
[hevc @ 0x7f8ff4014c00] Could not find ref with POC 20
[hevc @ 0x7f8ff4034c00] Could not find ref with POC 33
[hevc @ 0x7f8ff4065e00] Could not find ref with POC 46
[hevc @ 0x7f8ff4070e00] Could not find ref with POC 48
[hevc @ 0x7f8ff407be00] Could not find ref with POC 21
[hevc @ 0x7f8ff4014c00] Could not find ref with POC 34
[hevc @ 0x7f8ff4034c00] Could not find ref with POC 36
[hevc @ 0x7f8ff402e600] Could not find ref with POC 38
[hevc @ 0x7f8ff405ae00] Could not find ref with POC 1
[hevc @ 0x7f8ff4070e00] Could not find ref with POC 23
[hevc @ 0x7f8ff4091e00] Could not find ref with POC 3
[hevc @ 0x7f8ff4070e00] Could not find ref with POC 19
[hevc @ 0x7f8ff4065e00] Could not find ref with POC 35
[hevc @ 0x7f8ff4086e00] Could not find ref with POC 48
VLCMediaPlayerDelegate: ENDED
VLCMediaPlayerDelegate: STOPPED