Issues with MobileVLCKit (Nightly)
Posted: 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!
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!