Issues with MobileVLCKit (Nightly)

iOS, iPad, iPhone, tvOS specific usage questions
thanosth
New Cone
New Cone
Posts: 1
Joined: 05 Feb 2016 19:25

Issues with MobileVLCKit (Nightly)

Postby thanosth » 05 Feb 2016 19:34

Hello everyone,

I have some issues I can't get around with MobileVLCKit on iOS (MobileVLCKit-UniversalBinary-20160204-0547). I am on iOS9 and Swift.

- I need to be able to know when a stream cannot be played, either because the url is not valid or for any other reason. I tried checking `VLCMediaPlayer.state` but it won't (ever) be `VLCMediaPlayerStateError` so I can present some sort of user friendly error. Any workarounds?
- `VLCMediaPlayerStateBuffering` is kind of useless. The state is getting set to `VLCMediaPlayerStateBuffering` when the player is buffering the remote media but doesn't switch to some other state, preferably `VLCMediaPlayerStatePlaying` when it plays smoothly. Effectively, I cannot show a loading spinner or something when the video is buffering.
- When the remote video stops or the streaming stops working mid-streaming, the `drawable` view of `VLCMediaPlayer` always displays the last frame. Is there any way to sort of purge/clear the drawable view?

Any ideas? thanks!

shawon_rejaul
New Cone
New Cone
Posts: 6
Joined: 08 Sep 2016 09:04

Re: Issues with MobileVLCKit (Nightly)

Postby shawon_rejaul » 18 Sep 2016 12:02

Following the issue, same here in objective C. Also sometimes grey screen appears. By drawable did you mean that ? The video freezes a long time and then play although the official vlc player can easily play stream without freezing. Actually there is a little chance of you getting reply here...... :(

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

Re: Issues with MobileVLCKit (Nightly)

Postby ssbmaccom » 19 Sep 2016 14:18

Maybe an issue with encrypted or previously encrypted streams (like Pay-TV after being decrypted by the CAM)?
Try later VLCKit build, this has been fixed recently. Was caused by VLC now interpreting the scramble flag, but some CAM cards to not clear the flags correctly. Felix has added a workaround for that. I had this with recordings from SkyHD on Satellite Receivers.


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

Who is online

Users browsing this forum: No registered users and 11 guests