ICEfaces
  1. ICEfaces
  2. ICE-11176

Support HTML5 "Navigator.mediaDevices.getUserMedia()" when available on mobi:camera, mobi:microphone

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.1
    • Fix Version/s: 4.2.BETA, 4.2
    • Component/s: MOBI-Components
    • Labels:
      None
    • Environment:
      ICEfaces 4.x mobi components
    • Assignee Priority:
      P2

      Description

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

      If the APIs are not available, then BridgeIt should be detected and used if available.
      1. AndroidCamera1.png
        158 kB
      2. AndroidCamera2.png
        168 kB
      3. AndroidCamera3.png
        168 kB
      4. Camera.PNG
        58 kB
      5. collapse.PNG
        39 kB
      6. Microphone-MsEdge38.PNG
        48 kB
      7. modal.png
        462 kB
      8. thumbnail.png
        180 kB
      9. toggledView.png
        814 kB
      10. toggledView2.png
        141 kB
      11. uploaded.png
        182 kB

        Issue Links

          Activity

          Hide
          Ken Fyten added a comment -

          1.) The thumbnail and uploaded photos are not properly resized when using image dimensions setting. Instead they are cropped to the top left corner .

          This is considered a Known Issue, since it doesn't happen on all Android devices.

          2.) When recording with the microphone the time keeper does not advance, it stays at zero. However the recording and upload are successful.

          It's not supposed to, what you are seeing is the player that is used to preview the recording once you've captured it. It probably shouldn't appear until the recording is captured, to avoid confusion.

          Show
          Ken Fyten added a comment - 1.) The thumbnail and uploaded photos are not properly resized when using image dimensions setting. Instead they are cropped to the top left corner . This is considered a Known Issue, since it doesn't happen on all Android devices. 2.) When recording with the microphone the time keeper does not advance, it stays at zero. However the recording and upload are successful. It's not supposed to, what you are seeing is the player that is used to preview the recording once you've captured it. It probably shouldn't appear until the recording is captured, to avoid confusion.
          Hide
          Ken Fyten added a comment -

          Microphone demo - the "Record Audio" button was disabled on iOS, however the "Upload Recorded Audio" button is enabled, and if pressed, the message is rendered: "The uploaded audio file could not be correctly processed."

          If the demo can generically be made to only enable the Upload button when a captured image/audio clip is available, then let's do that. Otherwise, we'll consider this a Known Issue.

          Show
          Ken Fyten added a comment - Microphone demo - the "Record Audio" button was disabled on iOS, however the "Upload Recorded Audio" button is enabled, and if pressed, the message is rendered: "The uploaded audio file could not be correctly processed." If the demo can generically be made to only enable the Upload button when a captured image/audio clip is available, then let's do that. Otherwise, we'll consider this a Known Issue.
          Hide
          Arturo Zambrano added a comment - - edited

          r50555: added script to disable upload button on iOS (on the mobi:microphone showcase demo)

          The component doesn't have any callbacks or listeners for the moment when audio is captured, so it's not possible to easily only enable the upload button when the audio has been captured.

          Show
          Arturo Zambrano added a comment - - edited r50555: added script to disable upload button on iOS (on the mobi:microphone showcase demo) The component doesn't have any callbacks or listeners for the moment when audio is captured, so it's not possible to easily only enable the upload button when the audio has been captured.
          Hide
          Arturo Zambrano added a comment -

          r50567: mobi:microphone, added timer and red dot recording indicator; fixed audio player size when changing orientation to fit in the available width; fix to only make audio player visible after the recording has been made

          Show
          Arturo Zambrano added a comment - r50567: mobi:microphone, added timer and red dot recording indicator; fixed audio player size when changing orientation to fit in the available width; fix to only make audio player visible after the recording has been made
          Hide
          Liana Munroe added a comment -

          ICEfaces 4 trunk r50730
          android 6.0.1
          These issues are now resolved.
          "2) When recording with the microphone the time keeper does not advance, it stays at zero."
          "3) When recording a sound file in portrait mode the timer part of the recording area extends outside the boundaries of the dialog. "

          Show
          Liana Munroe added a comment - ICEfaces 4 trunk r50730 android 6.0.1 These issues are now resolved. "2) When recording with the microphone the time keeper does not advance, it stays at zero." "3) When recording a sound file in portrait mode the timer part of the recording area extends outside the boundaries of the dialog. "

            People

            • Assignee:
              Arturo Zambrano
              Reporter:
              Ken Fyten
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: