The version of my VLC is mobileVLCKit-unstable3.0.0a44. Here is my options:
NSMutableDictionary *optionDic = [NSMutableDictionary dictionary];
[optionDic setObject:@"0" forKey:@"rtsp-caching"];
[optionDic setObject:@1 forKey:@"--rtsp-tcp"];
VLCMediaPlayer *vlcPlayer = [[VLCMediaPlayer alloc] init];
vlcPlayer.drawable = _view;
NSString *stream = @"rtsp://192.168.0.254:6880";
VLCMedia *media = [VLCMedia mediaWithURL:[NSURL URLWithString:stream]];
[media addOptions:optionDic];
vlcPlayer.media = media;
I found something wrong with my options, such as automatic stop after palying about 1 minute with RTSP stream. So, what is the options used by the vlc app on iOS App store?