Set Cache Size for VLCKIT in iOS

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
AlexKoren
New Cone
New Cone
Posts: 1
Joined: 02 May 2016 20:57

Set Cache Size for VLCKIT in iOS

Postby AlexKoren » 02 May 2016 21:02

Hey VideoLan,
I'm working on an iOS app that streams audio in realtime (must be synced with video that's playing on a separate screen, i.e. TV).

I'm currently using RTP to stream the audio content and I'm receiving it, but there's a noticeable lag time in addition to some general choppiness.

Does anyone have an idea of flags I can set on a VLCMediaPlayer object that will reduce the cache size (it seems to be around 2-3 seconds right now).

My code:

Code: Select all

_vlcPlayer = [[VLCMediaPlayer alloc]initWithOptions:@[]]; //This is probably where some flag or option goes that I need _vlcPlayer.delegate = self; _vlcPlayer.media = [VLCMedia mediaWithURL:someRTPAudioUrl]; [_vlcPlayer play];
Any and all help would be appreciated! Thanks!
Alex

Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 37 guests