What is the options of MobileVLCKit used by the vlc app on iOS App store?

iOS, iPad, iPhone, tvOS specific usage questions
hiroto
New Cone
New Cone
Posts: 6
Joined: 27 Nov 2017 04:47

What is the options of MobileVLCKit used by the vlc app on iOS App store?

Postby hiroto » 19 Dec 2017 10:44

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?

hiroto
New Cone
New Cone
Posts: 6
Joined: 27 Nov 2017 04:47

Re: What is the options of MobileVLCKit used by the vlc app on iOS App store?

Postby hiroto » 20 Dec 2017 03:45

Anyone knows how to set the options to adapt RTSP and RTMP stream?

hiroto
New Cone
New Cone
Posts: 6
Joined: 27 Nov 2017 04:47

Re: What is the options of MobileVLCKit used by the vlc app on iOS App store?

Postby hiroto » 22 Dec 2017 02:28

Anyone knows how to set the correct options?

hiroto
New Cone
New Cone
Posts: 6
Joined: 27 Nov 2017 04:47

Re: What is the options of MobileVLCKit used by the vlc app on iOS App store?

Postby hiroto » 22 Dec 2017 09:15

Does anyone have the document for options?

dfuhrmann
Developer
Developer
Posts: 1183
Joined: 02 Jul 2012 11:09

Re: What is the options of MobileVLCKit used by the vlc app on iOS App store?

Postby dfuhrmann » 28 Dec 2017 13:23

Those options are not a public interface so you cannot rely on them inside your application.


Return to “VLC for iOS, iPadOS and Apple TV”

Who is online

Users browsing this forum: No registered users and 33 guests