solid-software / flutter_vlc_player

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

RTSP player is not working in flutter VLC from iOS 17.0 #482

Open ShubhuSR opened 4 months ago

ShubhuSR commented 4 months ago

creating player instance using shared library flutter: PlayingState.initialized

this is showing under console but after that it will stuck and it continuously loading state

Nandhu-89 commented 4 months ago

Try disabling Local network permission or add multicast entitlement to resolve this issue.

ShubhuSR commented 4 months ago

Try disabling Local network permission or add multicast entitlement to resolve this issue.

I have already tried this but not working

Nandhu-89 commented 4 months ago

@ShubhuSR Check your app and provisioning profile has the capable of multicast networking. To check this follow the below link https://forums.developer.apple.com/forums/thread/663271 If provisioning and app bundle configured correctly then please share your player initialization code, will check

thoranitnoy commented 4 months ago

same problem., work fine on Android but IOS not working

duykt3 commented 4 months ago

The same happened to me. Not working on iOS 17.

NguyenMinhTri commented 3 months ago

same problem., work fine on Android but IOS not working

xayenloc commented 3 months ago

Me too, affer load the fist frames it stop play, but time in status bar still counting...

thoranitnoy commented 3 months ago

I Fixed by link https://github.com/solid-software/flutter_vlc_player/issues/444#issuecomment-1980448380 My app need to ask for multicast networking permission to watch RTSP on iOS

LeeYunyeong commented 3 months ago

In my case, even though I set RTSP TCP in IOS, the plugin sent it as UDP. This was resolved by removing the RTP setting and forcibly adding the TCP setting as shown below.

extras : ['--rtsp-tcp'], / rtp: VlcRtpOptions([ VlcRtpOptions.rtpOverRtsp(true), ]),/

Confirmed OK on iOS 17.4

tom2you commented 3 months ago

same problem.

NguyenMinhTri commented 2 months ago

any update ?

Gabriellsp commented 2 months ago

Any updates? I enabled multicast on Apple and even so the player takes a while to bring the image, the image only comes quickly if the local network permission is disabled.

Gabriellsp commented 2 months ago

The player slowdown issue was detected in versions 14.7 and 17.3. In versions 15.3, 15.4 and 15.6, the slowdown problem did not occur. Below you will find the logs collected from the different iOS versions. The problem only happens if the Local Network permission is enabled.

Logs_MobileVlcKit_iOS14.7-WithProblems.log Logs_MobileVlcKit_iOS15.4-NoProblems.log Logs_MobileVlcKit_ios17.3-WithProblems.log Logs_MobileVlcKit-iOS15.3-NoProblems.log Logs_MobileVlcKit-iOS15.6-NoProblems.log