[VLCKit/tvOS] sometimes TS stream playback shows no video

This forum is about all development around libVLC.
ssbmaccom
Cone that earned his stripes
Cone that earned his stripes
Posts: 184
Joined: 26 Nov 2015 15:21
Operating System: Mac OS, iOS, tvOS

[VLCKit/tvOS] sometimes TS stream playback shows no video

Postby ssbmaccom » 13 Jun 2016 09:37

Hi,

during beta of my App using a locally build VLCKit from head of the repository (last commit May 10th) some testers saw, that from time to time playback of TS streams (recorded TS streams from a Set Top Box) start without video, audio is fine. I was able to reproduce this, but can't find a reason. It may take a few attempts (restarting playback) until video is fine.

I guess, that the new parser state handling is not working properly - but this is just a guess.
If so - can I handle the states better to make sure, playback starts fine?

So far my code, when starting playback, is (called from viewWillAppear):

Code: Select all

[self.mediaplayer setMedia:[VLCMedia mediaWithURL:url]]; self.mediaplayer.media.delegate = self; [self.mediaplayer.media synchronousParse]; self.mediaplayer.equalizerEnabled = NO; self.mediaplayer.adjustFilterEnabled = NO;
Playback is started using play method from a background thread started with a delay of 0.2 seconds from the viewDidAppear method.

Regards,

SSB

Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 38 guests