title: WKWebView does not allow camera access in application
body: <p>We are trying to make a conference call with multiple users, So by using Kurento server we have achieved this and it's working on safari browser. But when it comes to implementation in <code>WebView</code> / <code>WKWebView</code>. It does not even ask for permissions.</p>
  
  <pre><code>@IBOutlet weak var webViewContainer: UIView!
  var webView: WKWebView!
  
  override open func loadView() {
      super.loadView()
  
      let webConfiguration = WKWebViewConfiguration()
      webConfiguration.ignoresViewportScaleLimits = true
      webConfiguration.suppressesIncrementalRendering = true
      webConfiguration.allowsInlineMediaPlayback = true
      webConfiguration.allowsAirPlayForMediaPlayback = false
      webConfiguration.allowsPictureInPictureMediaPlayback = true
      webConfiguration.mediaTypesRequiringUserActionForPlayback = .all
      webConfiguration.requiresUserActionForMediaPlayback = true
      webView = WKWebView(frame: webViewContainer.frame, configuration: webConfiguration)
      webView.uiDelegate = self
      webView.navigationDelegate = self
      webView.sizeToFit()
      webView.backgroundColor = .black
      webView.isOpaque = false
      self.webViewContainer.addSubview(webView)
  
  }
  
  func webContentController()-&gt; WKUserContentController {
      let contentController = WKUserContentController()
      let script = try! String(contentsOf: Bundle.main.url(forResource: "WebRTC", withExtension: "js")!, encoding: String.Encoding.utf8)
      contentController.addUserScript(WKUserScript(source: script, injectionTime: WKUserScriptInjectionTime.atDocumentStart, forMainFrameOnly: true))
      contentController.add(self, name: "callbackHandler")
      return contentController
  }
  
  override func viewDidLoad() {
      super.viewDidLoad()
      guard let url = URL (string: urlStr) else { return
      }
      let myRequest = URLRequest(url: url)
      self.webView.load(myRequest)
  }
  </code></pre>
  
  <p>I even have tried this link in <code>safariViewController</code>, but it does not ask for camera permissions. </p>