solid-software / flutter_vlc_player

📺 Flutter VLC powered video player.
506 stars 247 forks source link

libvlc stream: HTTP connection failure error on loading video #202

Open riyasyash opened 3 years ago

riyasyash commented 3 years ago

Hi, I'm trying to load a video from the network on to my flutter app, but I am getting the following error:

V/ViewRootImpl( 7806): The specified message queue synchronization  barrier token has not been posted or has already been removed
W/Gralloc3( 7806): allocator 3.x is not supported
E/VLC     ( 7806): [00000073446e0b90/1f56] libvlc stream: HTTP connection failure
E/VLC     ( 7806): [00000073446e0b90/1f56] libvlc stream: connection failed: Network is unreachable
E/VLC     ( 7806): [00000073446e0b90/1f56] libvlc stream: cannot connect to commondatastorage.googleapis.com:80

The code block in question:

_videoPlayerController = VlcPlayerController.network(
      'http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4',
      hwAcc: HwAcc.FULL,
      autoPlay: false,
      options: VlcPlayerOptions(),
    );

I am an absolute noobie to flutter and any help is appreciated

mfkl commented 3 years ago

Have you checked your internet connection status?

TKsHb commented 3 years ago

Have you resolved?I also met

ZhangWei12138 commented 3 years ago

same issue

MauricioV9 commented 3 years ago

I've the same issue, send help pls.

zjyhll commented 3 years ago

I solved it ,let "autoPlay: true"