ios mobilevlckit ,can not determine when to set the position,because VLCMediaPlayerStatePlaying not receive.
when I use MobileVLCKit.framework for iOS, when I call [self.player play] to play a local video that in my xcode project, first state I received is VLCMediaPlayerStateBuffering, when the video is playing, but not receive VLCMediaPlayerStatePlaying state. so i can not determine when to set the position, because setPosition has no effect if playback is not enabled. mobilevlckit.framework version is "MobileVLCKit-unstable-3.0.0a38-4d3db120" The notice method is named
-(void)mediaPlayerStateChanged:(NSNotification *)aNotification{ switch (self.player.state) { case 0: NSLog(@"VLCMediaPlayerStateStopped"); break; case 1: NSLog(@"VLCMediaPlayerStateOpening"); break; case 2: NSLog(@"VLCMediaPlayerStateBuffering"); break; case 3: NSLog(@"VLCMediaPlayerStateEnded"); break; case 4: NSLog(@"VLCMediaPlayerStateError"); break; case 5: NSLog(@"VLCMediaPlayerStatePlaying"); ///// not received break; case 6: NSLog(@"VLCMediaPlayerStatePaused"); break; default: break; } }