solid-software / flutter_vlc_player

📺 Flutter VLC powered video player.
518 stars 253 forks source link

Rtsp url not working #20

Open devabacus opened 4 years ago

devabacus commented 4 years ago

Rtsp url not working

hoekbrwr commented 4 years ago

It does work for me!

denisrudov commented 4 years ago

strange. for me it works fine

jbkempf commented 4 years ago

Did you try the RTSP-TCP option?

KsAmJ commented 4 years ago

i am facing the same issue, before version 2 of the package was working ok. i shifted back to version 1 again. :(

NaarGes commented 3 years ago

I'm facing same issue with flutter_vlc_player: ^6.0.4

flutter --version Flutter 2.5.1 • channel stable • https://github.com/flutter/flutter.git Framework • revision ffb2ecea52 (9 days ago) • 2021-09-17 15:26:33 -0400 Engine • revision b3af521a05 Tools • Dart 2.14.2

E/VLC     ( 4176): [f000de20/1084] libvlc demux: Failed to connect with rtsp://192.168.32.78:554
E/VLC     ( 4176): [efee6bb0/1084] libvlc stream: Failed to connect to RTSP server 192.168.32.78:554
E/VLC     ( 4176): [efee6bb0/1084] libvlc stream: cannot connect to 192.168.32.78:554
E/VLC     ( 4176): [efee6bb0/1084] libvlc stream: Connection failed
E/VLC     ( 4176): [efee6bb0/1084] libvlc stream: VLC could not connect to "192.168.32.78:554".

any workaround??

NaarGes commented 3 years ago

It's so strange because after failing to connect, when I change screen size by opening keyboard, vlcplayer plays the stream but with any state changes or resizing screen again it fails again

NaarGes commented 3 years ago

found the solution, set autoPlay: true, in VlcPlayerController