flutter_vlc_player icon indicating copy to clipboard operation
flutter_vlc_player copied to clipboard

Rtsp url not working

Open devabacus opened this issue 6 years ago • 7 comments

Rtsp url not working

devabacus avatar Dec 28 '19 17:12 devabacus

It does work for me!

hoekbrwr avatar Mar 25 '20 10:03 hoekbrwr

strange. for me it works fine

denisrudov avatar Apr 13 '20 05:04 denisrudov

Did you try the RTSP-TCP option?

jbkempf avatar Apr 15 '20 15:04 jbkempf

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

KsAmJ avatar May 14 '20 15:05 KsAmJ

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 avatar Sep 26 '21 11:09 NaarGes

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 avatar Sep 26 '21 11:09 NaarGes

found the solution, set autoPlay: true, in VlcPlayerController

NaarGes avatar Sep 29 '21 08:09 NaarGes