[MobileKit: 3.4.1b11] Don't play video while downloading
Hello,
I want to play the MP4 video while downloading, which is Smooth Streaming format. App will call "- (instancetype)initWithStream:(NSInputStream *)stream" to create media, then add it to VLCMedia Player. During the process, app will store the video data returned via Socket into NSInputStream, then VLCPlayer read and play those data, however, it is different from my expected, video does not play until the length of buffer from NSInputStream is 0.
I also researched the VLC-iOS sample, but cannot find out the solution, could anyone help me point out how to solve this?
Appreciate for any suggestion very much.
Thanks