libvlc clear cache

VLC for Android and Chrome OS specific usage questions
yairko
Blank Cone
Blank Cone
Posts: 16
Joined: 06 Dec 2016 12:25

libvlc clear cache

Postby yairko » 21 Mar 2017 14:24

Hello,

I stream video on vlc with the following code:

Media m = new Media( libvlc, media ); // media is sdp file
m.setHWDecoderEnabled( true, true );
m.addOption( ":network-caching=10" );
m.addOption( ":clock-jitter=0" );
m.addOption( ":clock-synchro=0" );

Notice that ":network-caching=10" for low latency.
Things work well but the big problem is when running out of Media cache, and the stream loses quality.

So if I could clean the Media cache at run-time I might solve the problem.
Does anyone knows if this is possible ?

Thank you

Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 3 guests