Long delay before showing the video/x-flv translation via RTSP

iOS, iPad, iPhone, tvOS specific usage questions
muratoffalex
New Cone
New Cone
Posts: 3
Joined: 24 Sep 2019 13:01

Long delay before showing the video/x-flv translation via RTSP

Postby muratoffalex » 24 Sep 2019 14:03

Hi, buddies!
I get an RTSP broadcast via http that contains video/x-flv and decodes via h264 for live broadcast. The problem is that the video is displayed with a long delay of ~7 seconds.
Why and how can I reduce the delay to at least 2-3 seconds? Help please

Code

Code: Select all

self.mediaPlayer!.drawable = self.view let media = VLCMedia(url: URL(string: url)!) media.delegate = self let options = [ "network-caching": 300, "clock-synchro": 1, ] as [String : Any] media.addOptions(options) self.mediaPlayer!.media = media self.mediaPlayer?.libraryInstance.debugLogging = true self.mediaPlayer!.play()
Log (link on translation one-off)
[url]https://pastebin.com/tN994Xkp[/url]

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

Who is online

Users browsing this forum: No registered users and 6 guests