[VLCKit/tvOS] sometimes TS stream playback shows no video
Posted: 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):
Playback is started using play method from a background thread started with a delay of 0.2 seconds from the viewDidAppear method.
Regards,
SSB
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;
Regards,
SSB