[Android] android player ,for fast swtich live streams

Maria Gheorghe reclamamulta at gmail.com
Wed Nov 12 11:06:32 CET 2014


Does anybody know a good tactic to start playing Live streams?

In my videoactivity i need to shwitch streams and i'm using this method.



              libvlc.stop();
               LibVLC.restart(VideoActivity.this);
               libvlc.playMRL(LibVLC.PathToURI(link));

but sometimes if i fast switch a stream it never respond.
and i 'm doing this in a thread casue otejhr the app is killed because it
is soemtiems unresponding.
is thsi a good emthod to do sfattram sswtich?
is LibVLC.restart good or not to do it before playing the old stream
ido not leave anctivity i siwtich streams witout to distroy current activity
please help with any info you have .thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/android/attachments/20141112/9161ca23/attachment.html>


More information about the Android mailing list