8

I would like to play video stream (h264) through RTSP protocol from IP/Network in iOS device. I am using React Native.

I have tried several React Native packages as below, but not manage to make it work.

  • react-native-vlcplayer
  • react-native-pili
  • react-native-pxplayer

The closest package that I think might work is react-native-vlcplayer, but it seems to be abandoned.

Any recommendation?

Thank you

Sem
  • 1,237
  • 16
  • 17

1 Answers1

1

You can use react-native-vlcplayer for streaming from the IP camera on iOS and react-native-vlc-player for streaming on Android.

When you do "react-native link", don't forget to check the header search path and framework search path inside the RTVLCPlayer sub project. It is generally hardcoded. Change it accordingly and your code should work.

You can also refer this link if you are building on iOS.

user2101977
  • 113
  • 1
  • 9