[VLCKit] tvOS issues
Posted: 25 Jun 2016 11:57
Hi,
I got a couple of issues inside my free tvOS App (vuplusTV) using VLCKit, which currently is in beta for Version 1.1.
I have posted one issue about AC-3/Dolby Audio streams already in the "Development around libVLC" area - but it did not get any attention yet:https://forum.videolan.org/viewtopic.ph ... 93dc30345a
Maybe I get support now
Second issue is about playback of streams from encrypted TV Channel like SKY or HD+:
Several testers reported to me, that they get freezes every about 100 seconds, when playing back the streams. Other Apps and VLC on a PC do not have this issue. To make sure, the issue is not caused by the CI+ module (SKY V14, paired), I asked my testers to record a stream and check if playback of the recording shows the same issue. And it does on my App, other tvOS apps, that likely also use VLCKit or libVLC for playback. The recorded stream is not encrypted anymore, as it plays fine with VLC for PC after ftp'ing it to the PC - so the CI+ module is not required anymore.
Well, why always 100 seconds?
I asked if someone can share such a recording (TS file) for further analysis. Waiting for response now.
Third issue is about playback of recorded TS-Streams:
When trying to playback recorded streams via http from the STB, very often the playback starts without video, only Audio. Pausing playback and then continuing it works then, Video and Audio are fine then. This happens even with SD streams.
I use VLCKit for playback. I create an instance of VLCKit and set the media, which is a http URL. Then is (now) use parseWithOptions:6 and wait for the delegate callback didFinishParsing: before I send the play command in a background Thread with a brief delay. The delay helped a bit, but even a delay of up to 2 seconds does not solve it. The parsing state is 1 == completed, skipped.
I even tried to send play, pause and play with a brief delay, which does not solve this as well.
Any suggestion welcome.
I can share code snippets if this helps...
I got a couple of issues inside my free tvOS App (vuplusTV) using VLCKit, which currently is in beta for Version 1.1.
I have posted one issue about AC-3/Dolby Audio streams already in the "Development around libVLC" area - but it did not get any attention yet:https://forum.videolan.org/viewtopic.ph ... 93dc30345a
Maybe I get support now
Second issue is about playback of streams from encrypted TV Channel like SKY or HD+:
Several testers reported to me, that they get freezes every about 100 seconds, when playing back the streams. Other Apps and VLC on a PC do not have this issue. To make sure, the issue is not caused by the CI+ module (SKY V14, paired), I asked my testers to record a stream and check if playback of the recording shows the same issue. And it does on my App, other tvOS apps, that likely also use VLCKit or libVLC for playback. The recorded stream is not encrypted anymore, as it plays fine with VLC for PC after ftp'ing it to the PC - so the CI+ module is not required anymore.
Well, why always 100 seconds?
I asked if someone can share such a recording (TS file) for further analysis. Waiting for response now.
Third issue is about playback of recorded TS-Streams:
When trying to playback recorded streams via http from the STB, very often the playback starts without video, only Audio. Pausing playback and then continuing it works then, Video and Audio are fine then. This happens even with SD streams.
I use VLCKit for playback. I create an instance of VLCKit and set the media, which is a http URL. Then is (now) use parseWithOptions:6 and wait for the delegate callback didFinishParsing: before I send the play command in a background Thread with a brief delay. The delay helped a bit, but even a delay of up to 2 seconds does not solve it. The parsing state is 1 == completed, skipped.
I even tried to send play, pause and play with a brief delay, which does not solve this as well.
Any suggestion welcome.
I can share code snippets if this helps...