Initial Delay - Black screen for few seconds
I am using vlcplayer to play live rtsp stream. Initially vlcplayer displays black screen for few seconds(5 to 10 seconds).How can I overcome or reduce this delay. Below is my code
_videoPlayerController = VlcPlayerController.network( videoStreamURL ?? '', hwAcc: HwAcc.auto, autoPlay: true, options: VlcPlayerOptions( rtp: VlcRtpOptions([VlcRtpOptions.rtpOverRtsp(true)],), advanced: VlcAdvancedOptions([ VlcAdvancedOptions.networkCaching(1000), VlcVideoOptions.dropLateFrames(false), VlcAdvancedOptions.liveCaching(1000), VlcAdvancedOptions.clockJitter(0), VlcAdvancedOptions.clockSynchronization(0), VlcAdvancedOptions.fileCaching(1000), VlcStreamOutputOptions.soutMuxCaching(1000),
]),
http: VlcHttpOptions([
VlcHttpOptions.httpReconnect(true),
]),
// extras: ['--vv',':codec=avcodec','vcodec=h264']
), //
`);
@Nandhu-89 Were you able to resolve this issue? I am facing the same issue. Even if controller has isPlaying=true, black screen is coming for 5-10 seconds.