Open Nandhu-89 opened 1 year ago
hi @Nandhu-89, I am facing the same problem now on iOS 17.3, did you come with any solution?
same here
got the same issue, android works, ios does not start the rtsp stream. Disabling local network permission is not possible as my app's main purpose is to communicate with a local device.
I resolved the issue by adding multicast entitlement.
I added multicast entitlement and still have the problem
@MustafaGaber Did you happen to solve the problem?
@Nandhu-89 What steps did you take to add multicast and avoid the problem of the player slowing down if the local network is enabled?
@MustafaGaber Did you happen to solve the problem?
I switched to Media Kit, it works with rtsp without the need for network entitlement
@MustafaGaber Did the mediakit prove to be performant for you on both Android and iOS? In my tests, VLC's performance is much better than the Media Kit.
If so, could you share with us how the media_kit configuration went in your project to obtain high performance in RTSP streams?
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
I am using flutter_vlc_player for rtsp streaming. I am facing issue in iOS 16 when Local network permission enabled. If I disable local network permission rtsp streaming working well. I can't find the solution yet. In android it's working.Below is the code I used to initialize vlc player.
_videoPlayerController = VlcPlayerController.network( vidStreamURL, hwAcc: HwAcc.auto, autoPlay: true, options: VlcPlayerOptions( rtp: VlcRtpOptions([VlcRtpOptions.rtpOverRtsp(true)],), advanced: VlcAdvancedOptions( [VlcAdvancedOptions.networkCaching(10000)]), sout: VlcStreamOutputOptions( [VlcStreamOutputOptions.soutMuxCaching(10000)])), // );