vlc-example-streamplayer
vlc-example-streamplayer copied to clipboard
Could be possible to set VlcOptions
On class VlcVideoLibrary
We could pass VlcOptions as a parameter like
public VlcVideoLibrary(Context context, VlcListener vlcListener, SurfaceView surfaceView, ArrayList<String> defaultOptions)
Here we have option of add some flags
This project is only a example to get stream. For now I have no plan to extend functionality. If I have time I will add this. It is easy to do so maybe this weekend I can implement this.
Thanks.
On Thu, 15 Mar 2018 08:08 Pedro Sánchez, [email protected] wrote:
This project is only a example to get stream. For now I have no plan to extend functionality. If I have time I will add this. It is easy to do so maybe this weekend I can implement this.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pedroSG94/vlc-example-streamplayer/issues/11#issuecomment-373340255, or mute the thread https://github.com/notifications/unsubscribe-auth/ALF59DREr0Q-cZ7-d0Vak1JUA5Y7CXUcks5tekulgaJpZM4Sl-Db .
You can set it now with setOptions method: https://github.com/pedroSG94/vlc-example-streamplayer/blob/master/app/src/main/java/com/pedro/vlctestapp/MainActivity.java#L36
Thanks
how do i reduce the lag in my rtsp? i am using ArrayList<String> options = new ArrayList<>(); options.add("--network-caching=20000"); options.add("--live-caching=20000"); options.add("--sout-mux-caching=20000"); options.add(":clock-jitter=0"); options.add(":clock-synchro=0"); below the vlcVideoLibrary.setOptions(Arrays.asList(options)); even tried to pass the options the vlcOptions.java file but not able to reduce the lag does anyone have an idea how to reduce lag to the minimum