I'm facing a 2-3seconds latency on jpeg network stream and I try to solve it by lowering jitter buffer with the following parameters: -clock-jitter=0 --file-caching=150 SDP.sdp.
My problem is, that I can't figure out, how i can set the parameters for the media player object:
vlcView = [[UIView alloc] init];
[self.view addSubview:vlcView];
mediaplayer.delegate = self;
mediaplayer = [[VLCMediaPlayer alloc] init];
//mediaplayer.delegate = self;
mediaplayer.drawable = vlcView;
mediaplayer.media = [VLCMedia mediaWithURL:[NSURL URLWithString:@"http://192.168.3.211/mjpg/video.mjpg"]];
[mediaplayer play];
Has anyone an Idea how to change the parameters of a media player object or change the parameters globally?