title: How to send camera stream to rtmp server by react native
body: <p>I am trying to build a live stream video app.
  I built an <strong>rtmp server</strong> which is ready for publishing and playing streams. I need a way to capture mobile's user camera and send the online stream to my rtmp server.</p>
  
  <p>I use react-native in client side. I found <a href="https://github.com/react-native-community/react-native-camera" rel="noreferrer">react-native-camera</a> which is great in dealing with camera but I couldn't find any <strong>event/api</strong> available for accessing camera stream in their documentations.</p>
  
  <p>Another problem is the way that I have to send the stream to rtmp server. I have no knowledge in this area so any kind of help will be appreciated.</p>