Code: Select all
NSMutableArray *vlcoptions = [NSMutableArray arrayWithObjects:
@"--no-color",
@"--no-osd",
@"--no-video-title-show",
@"--no-stats",
@"--no-snapshot-preview",
#ifndef __LP64__
@"--avcodec-fast",
#endif
@"--avcodec-hw",
@"--text-renderer=freetype",
@"--avi-index=3",
@":dash-buffersize", @"100",
nil];
Code: Select all
[vlcoptions addObject:@"--spdif"];
Code: Select all
[vlcoptions addObject:@"--no-spdif"];
Code: Select all
self.mediaplayer = [[VLCMediaPlayer alloc] initWithOptions:[NSArray arrayWithArray:vlcoptions]];
Return to “VLC for iOS, iPadOS and Apple TV”
Users browsing this forum: No registered users and 17 guests