【发布时间】:2016-02-05 18:36:17
【问题描述】:
我遇到了一些问题,我无法在 iOS 上使用 MobileVLCKit (MobileVLCKit-UniversalBinary-20160204-0547)。我在 iOS9 和 Swift 上。
- 我需要能够知道何时无法播放流,因为 URL 无效或其他原因。我尝试检查
VLCMediaPlayer.state,但它不会(永远)是VLCMediaPlayerStateError,所以我可以提出某种用户友好的错误。有什么解决方法吗? -
VLCMediaPlayerStateBuffering有点没用。当播放器正在缓冲远程媒体但没有切换到其他状态时,状态设置为VLCMediaPlayerStateBuffering,当播放流畅时最好设置为VLCMediaPlayerStatePlaying。实际上,当视频缓冲时,我无法显示加载微调器或其他东西。 - 当远程视频停止或流媒体在流媒体中途停止工作时,
VLCMediaPlayer的drawable视图始终显示最后一帧。有什么方法可以清除/清除可绘制视图?
有什么想法吗?谢谢!
【问题讨论】: