react-native-vlc-media-player
                                
                                 react-native-vlc-media-player copied to clipboard
                                
                                    react-native-vlc-media-player copied to clipboard
                            
                            
                            
                        --rtsp-udp causes crash on iPhone 15 / iOS18
I am trying to use react-native-vlc-media-player to play a low-latency (~300ms) RTSP stream in a react native app. My IP camera defaults to TCP, but can be forced into UDP mode, and I have several working examples of streaming from the same camera using UDP in 100ms using various clients. In exploring how to replicate this in react-native-vlc-media-player, I used the '--rtsp-udp' flag in initOptions like this:
      <VLCPlayer
        style={styles.player}
        videoAspectRatio="16:9"
        source={{ 
            uri: "rtsp://url",
            initOptions: [
                '--network-caching=100',     
                '--live-caching=100',        
                '--clock-jitter=0',          
                '--clock-synchro=0',         
                '--rtsp-udp',             // <<this causes the crash
                '--rtsp-port=554',
                '--rtp-client-port=8000',
                '--codec=avcodec',
                '--skip-frames', 
                '--drop-late-frames',
                '-vv'
              ]
        }}
        />
Initializing the player with the '--rtsp-udp' flag immediately causes the app to crash. I'm using the expo development client and an iPhone 15 running 18.4.1, and have experienced no other bugs so far! Will continue to post findings here.
I have set NSLocalNetworkUsageDescription in Info.plist and added the Multicast capability/entitlement in Xcode.