flutter_vlc_player icon indicating copy to clipboard operation
flutter_vlc_player copied to clipboard

Slow loading external stream on iOS

Open tuanha2000vn opened this issue 4 years ago • 7 comments

Hi. Thank for the amazing package.

I have small issue with iOS, it take about 5-10 second for the stream appear, is there anything I can do to fix that issue?

Android: rtsp://username:[email protected]:554/Streaming/Channels/101 => Appear Instantly rtsp://username:[email protected]:554/Streaming/Channels/101 => Appear Instantly

Android: rtsp://username:[email protected]:554/Streaming/Channels/101 => Appear Instantly rtsp://username:[email protected]:554/Streaming/Channels/101 => Take 5-10 second for the stream to appear.

This is my VlcPlayer options

VlcPlayer(
          aspectRatio: 16 / 9,
          url: widget.url,
          isLocalMedia: false,
          controller: _videoViewController,
          // Play with vlc options
          options: [
            '--quiet',
//                '-vvv',
            '--no-drop-late-frames',
            '--no-skip-frames',
            '--rtsp-tcp',
          ],
          hwAcc: HwAcc.DISABLED,
          // or {HwAcc.AUTO, HwAcc.DECODING, HwAcc.FULL}
          placeholder: Container(),
        ),

tuanha2000vn avatar Oct 14 '20 15:10 tuanha2000vn

live stream is not workin on ios for me. I think I missed some configurations in info.plist file. Can you please help me?

codydev-git avatar Nov 18 '20 00:11 codydev-git

rtmp://my.domain.com:5935/live/test can it work? I am using rtmp, not rtsp.

codydev-git avatar Nov 18 '20 06:11 codydev-git

Hi!, I have 5 to 10 seconds of delay to see the first frames in iOS, any update with this? Thanks!

neumartin avatar Apr 13 '21 15:04 neumartin

I have almost a minute of delay and I get many times this message in the debug console:

"Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0"

After it loads the message stops showing.

aososam avatar Sep 09 '21 12:09 aososam

I have tried to connect to local proxy, and read the logs, IOS trying to connect as UDP with flag '--rtsp-tcp'

zatovagul avatar Dec 24 '21 21:12 zatovagul

Hi!, I also have 5 to 10 seconds of delay to see the first frames in iOS, any update with this? Thanks!

NguyenMinhTri avatar May 25 '22 03:05 NguyenMinhTri

any updates?

DongsubShin avatar Jan 26 '23 04:01 DongsubShin