title: Alternative to getUserMedia() for reading live camera stream on iOS?
body: <p>We are building a mobile barcode-scanner using QuaggaJS that reads barcodes directly from the device's camera stream. Works fine on desktop/Android, but doesn't work at all on iOS.</p>
  
  <p>From initial research, I've found that iOS simply does not support WebRTC/<code>getUserMedia</code> through Safari or iOS Chrome (related links below), which is what QuaggaJS uses to read the camera stream.</p>
  
  <p>I've also seen <a href="https://stackoverflow.com/questions/26659869/getusermedia-alternative-for-ios">this question</a> about capturing a still image on iOS, but the answer provided is only for capturing a still image, not for reading the stream real-time.</p>
  
  <p><strong>My question</strong> - is there any other way to grab the stream from an iOS camera? Perhaps an alternate library other than QuaggaJS that does not use <code>getUserMedia</code>? I am not well-versed in Javascript, so I am not sure if there even is a possible way to access the camera stream other than <code>getUserMedia</code>. </p>
  
  <p>A "no" is an acceptable answer here; I'm simply looking for someone more experienced to provide guidance.</p>
  
  <hr>
  
  <p>Appendix/related links:</p>
  
  <p><a href="https://stackoverflow.com/questions/31294422/navigator-getusermedia-alternative-api-for-ios-safari-mobile-browser">navigator.getUserMedia alternative API for iOS safari mobile browser?</a></p>
  
  <p><a href="https://www.quora.com/Why-is-navigator-getUserMedia-not-supported-in-Safari" rel="noreferrer">https://www.quora.com/Why-is-navigator-getUserMedia-not-supported-in-Safari</a></p>
  
  <p><a href="https://bloggeek.me/webrtc-apple-or-microsoft/" rel="noreferrer">https://bloggeek.me/webrtc-apple-or-microsoft/</a></p>
  
  <p><a href="https://stackoverflow.com/questions/37258597/html5-getusermedia-ios-issue">HTML5: getUserMedia iOS issue?</a></p>