flutter_vlc_player icon indicating copy to clipboard operation
flutter_vlc_player copied to clipboard

RTSP player is not working in flutter VLC from iOS 17.0

Open ShubhuSR opened this issue 1 year ago • 13 comments

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

ShubhuSR avatar Apr 30 '24 12:04 ShubhuSR

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

Nandhu-89 avatar May 08 '24 12:05 Nandhu-89

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

I have already tried this but not working

ShubhuSR avatar May 08 '24 13:05 ShubhuSR

@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

Nandhu-89 avatar May 08 '24 16:05 Nandhu-89

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

thoranitnoy avatar May 09 '24 06:05 thoranitnoy

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

duykt3 avatar May 22 '24 07:05 duykt3

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

NguyenMinhTri avatar May 23 '24 02:05 NguyenMinhTri

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

xayenloc avatar May 29 '24 02:05 xayenloc

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

thoranitnoy avatar Jun 07 '24 09:06 thoranitnoy

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

LeeYunyeong avatar Jun 12 '24 06:06 LeeYunyeong

same problem.

tom2you avatar Jun 12 '24 10:06 tom2you

any update ?

NguyenMinhTri avatar Jun 27 '24 03:06 NguyenMinhTri

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 avatar Jun 28 '24 22:06 Gabriellsp

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

Gabriellsp avatar Jul 05 '24 14:07 Gabriellsp