Page 1 of 1

Build MobileVLCKit Error and Alert Play Failed

Posted: 12 Mar 2015 04:25
by haile_008
1. I building MobileVLCKit and get errors as:
/MobileVLCKit/ImportedSources/vlc/install-ios-OS/arm64/contribs/lib/libass.a (No such file or directory)
I see config file MobileVLCKit.xcconfig:
VLC_SRC_DIR=$(PROJECT_DIR)/MobileVLCKit/ImportedSources/vlc
VLC_PLATFORM[sdk=iphonesimulator*]=Simulator
VLC_PLATFORM[sdk=iphoneos*]=OS
VLC_INSTALL_DIR=$(VLC_SRC_DIR)/install-ios-$(VLC_PLATFORM)/$(CURRENT_ARCH)

//OTHER_CFLAGS= -ObjC -all_load
#include "vlc-plugins.xcconfig"

VLC_CONTRIB_DIR=$VLC_INSTALL_DIR/contribs

But I don't see path: /MobileVLCKit/ImportedSources/vlc/install-ios-OS/arm64/contribs/lib
-> How to checkout the path /MobileVLCKit/ImportedSources/vlc/install-ios-OS/arm64/contribs/lib/ or building VLC not error?

2. I get framework VLC from http://nightlies.videolan.org/build/ and build for iOS app
I init VLC media player play with url sucesss but sometime I get alert error:
VLC is unable to open the MRL 'Path URL'. Check the log for details.
I don't want show url and control alert -> how to init play with option or config to don't show alert?
Example init player: [[VLCMediaListPlayer alloc] initWithOptions:@[[NSString stringWithFormat:@"--rtsp-tcp"], [NSString stringWithFormat:@"--%@=%@", kVLCSettingNetworkCaching, [defaults objectForKey:kVLCSettingNetworkCaching]]]]