1. ICEfaces
  2. ICE-11184

Support HTML5 "Navigator.mediaDevices.getUserMedia()" when available on mobi:camcorder


    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 4.1
    • Fix Version/s: None
    • Component/s: MOBI-Components
    • Labels:
    • Environment:
      ICEfaces 4.x mobi components


      This JIRA is to modify the mobi:camcorder component to detect if the HTML5 "Navigator.mediaDevices.getUserMedia()" APIs are available in the browser, and if so, use the HTML5 camera and microphone instead of the BridgeIt app.

      If the APIs are not available, then BridgeIt should be detected and used if available.

      Adding support for microphone recording wasn't as simple as capturing a still image, which is possible to do straight from the HTML5's canvas element's capabilities. In the case of stereo audio capture, it was necessary to record the left and right buffers, interleaving them, and then encoding of the data. For this it was necessary to use a third-party API to do this job, which uses a background thread. This library uses the MIT license.

      Recording video and audio+video is even more complex and it's not fully supported at the moment in most major browsers.

      The MediaStream Recording W3C (or Media Recorder) specification is still undergoing changes as of recently.

      Edge only supports audio recording at the moment. Chrome supports video without audio. Android doesn't have full support yet. iOS doesn't support these APIs at all. Firefox and Opera seems to be the ones that have better support for these features. There's more information about what is supported and what is not on this other third-party library's site:

      So, the support for audio+video recording will be pursued in the future when browsers and devices have developed better support for these features.

        Issue Links


          Ken Fyten added a comment -

          Closed as Won't Fix as mobi:camcorder is deprecated.

          Ken Fyten added a comment - Closed as Won't Fix as mobi:camcorder is deprecated.


            • Assignee:
              Arturo Zambrano
              Arturo Zambrano
            • Votes:
              0 Vote for this issue
              2 Start watching this issue


              • Created: