title: Using camera device (WebRTC API) in UC android browser
body: <p>we are developing web application which should use camera device (WebRTC standard) for reading QR codes and we are serious issue in UC Android browser. 
  Here is example of our app <a href="https://www.publicstaticvoidmain.cz/qr/" rel="nofollow noreferrer">https://www.publicstaticvoidmain.cz/qr/</a></p>
  
  <p>It works well in most common browsers, but we struggling with UC Android Browser (mini as well) support.</p>
  
  <p>We detected following issues with no solution yet. 
  Do you have any related experience with UC browser?</p>
  
  <p>1) Changing camera resolution? It seems that video from camera is provided with some default resolution 640 x 480
  We are using </p>
  
  <p><code>navigator.webkitGetUserMedia(options, succesCallback, errorCallback)</code> or <code>navigator.getUserMedia(options, succesCallback, errorCallback)</code> from WebRTC API but none of configuration options bellow are working:(</p>
  
  <pre><code>video: {            
     width: { min: 360, ideal: 1280, max: 1920 },
     height: { min: 240, ideal: 720, max: 1080 },
  }
  
  video: {            
     width: 1280,
     height: 720
  }
  </code></pre>
  
  <p>2) Camera auto-focus doesn't work properly. In other browsers (also in UC desktop browser) is auto-focus working.</p>
  
  <p>3) Video preview doesn't fit video tag size, video fit size only horizontally?</p>
  
  <p>4) Mobile is "beeping" during capturing images from video stream for processing in QR code library.</p>
  
  <p>Also UC Android Browser crash during periodic capturing of images from camera. It seems that it depends on how often is taken the picture from video stream for analyzing QR code.</p>
  
  <p>Many thanks for any help.</p>