solid-software / flutter_vlc_player

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

RTSP not working on iPhone with iOS 17 #471

Closed Spokplacenta closed 2 weeks ago

Spokplacenta commented 9 months ago

Hi,

i have this error : Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0 when i launch video on my iPhone with RTSP, on simulator video is displayed and on my old iPhone 7 with iOS 15 video is displayed too... in info.plist i have : `

NSAppTransportSecurity
<dict>
    <key>NSAllowsArbitraryLoads</key>
    <true/>
</dict>
<key>NSLocalNetworkUsageDescription</key>
<string>Used to search for chromecast devices</string>
<key>NSBonjourServices</key>
<array>
<string>_googlecast._tcp</string>
</array>

`

Watss commented 9 months ago

Have you had any response to that?

Spokplacenta commented 9 months ago

None, I read that this bug could be linked to: com.apple.developer.networking.multicast I filled out the Apple form to be eligible, I'm waiting for a response from Apple and I don't know if it will correct my problem...

Watss commented 9 months ago

searching, I also came across that answer and I am also requesting this from Apple, thank you very much for the answer

MustafaGaber commented 7 months ago

I added the multicast networking entitlement and still have the problem

pradip-android commented 5 months ago

None, I read that this bug could be linked to: com.apple.developer.networking.multicast I filled out the Apple form to be eligible, I'm waiting for a response from Apple and I don't know if it will correct my problem...

have you got any solution?

MustafaGaber commented 5 months ago

None, I read that this bug could be linked to: com.apple.developer.networking.multicast I filled out the Apple form to be eligible, I'm waiting for a response from Apple and I don't know if it will correct my problem...

have you got any solution?

I switched to use media_kit. It works with rtsp without the need for network entitlement

Spokplacenta commented 2 weeks ago

adding multicast right fixed my problem. I tried media-kit but for me, it was less efficient in RTSP. FlutterVlcPlayer 2s delay. MediaKit 3s - 4s delay.