ICEfaces
  1. ICEfaces
  2. ICE-11063

mobi:camcorder fails with android device on SSL enabled server

    Details

    • Assignee Priority:
      P1

      Description

      Tested with android 6.0.1 nexus 5 and 4.2.2 galaxy tab 3.
      Camcorder fails on android devices. The video appears to record properly but is not uploaded. No preview of video is available. After trying to upload the video an message is seen on the page "The uploaded video file could not be correctly processed". Android debugging log shows no errors.
      Not an issue with ios ipad.

        Activity

        Hide
        Ken Fyten added a comment -

        Patrick reports that the BridgeIt app in this case is receiving an HTTP 413 error code, file too large, from the server when the upload is attempted.
        The file he tested was 2.5MB in size, so shouldn't be an issue.

        Show
        Ken Fyten added a comment - Patrick reports that the BridgeIt app in this case is receiving an HTTP 413 error code, file too large, from the server when the upload is attempted. The file he tested was 2.5MB in size, so shouldn't be an issue.
        Hide
        Ken Fyten added a comment -

        QA reports that the issue only occurs when using HTTPS, not HTTP. Patrick noted that the upload URL was specified as HTTP, so we're not handling the protocol dynamically at some point along the way with camcorder.

        Show
        Ken Fyten added a comment - QA reports that the issue only occurs when using HTTPS, not HTTP. Patrick noted that the upload URL was specified as HTTP, so we're not handling the protocol dynamically at some point along the way with camcorder.
        Hide
        Patrick Corless added a comment -

        I've done a little more debugging and testing and it would appear the Intent(MediaStore.ACTION_VIDEO_CAPTURE) in 6.x is no longer respecting the MediaStore.EXTRA_VIDEO_QUALITY = 0 or low. As a result the video file is quite large and the server responds with the 413 http code.

        Testing on 5.x seems to result in the quality flag being respected. Recommend increasing the max upload file size as a work around for now.

        Show
        Patrick Corless added a comment - I've done a little more debugging and testing and it would appear the Intent(MediaStore.ACTION_VIDEO_CAPTURE) in 6.x is no longer respecting the MediaStore.EXTRA_VIDEO_QUALITY = 0 or low. As a result the video file is quite large and the server responds with the 413 http code. Testing on 5.x seems to result in the quality flag being respected. Recommend increasing the max upload file size as a work around for now.
        Hide
        Ken Fyten added a comment -

        As this issue is related to an apparent bug in Android 6, and server upload limit settings that can be increased as needed, marking as won't fix.

        Show
        Ken Fyten added a comment - As this issue is related to an apparent bug in Android 6, and server upload limit settings that can be increased as needed, marking as won't fix.
        Hide
        Ken Fyten added a comment -

        Note that a follow-up JIRA related to this was created and resolved under ICE-11108.

        Show
        Ken Fyten added a comment - Note that a follow-up JIRA related to this was created and resolved under ICE-11108.

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Liana Munroe
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: