ICEfaces
  1. ICEfaces
  2. ICE-11184

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

    Details

    • 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:
      None
    • Environment:
      ICEfaces 4.x mobi components

      Description

      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.
      https://developer.microsoft.com/en-us/microsoft-edge/platform/status/mediarecorder/

      The MediaStream Recording W3C (or Media Recorder) specification is still undergoing changes as of recently.
      https://www.w3.org/TR/mediastream-recording/

      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: http://recordrtc.org/

      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

          Activity

          There are no subversion log entries for this issue yet.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: