Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-63791

Maximum upload size reached after a few seconds when using RecordRTC

    XMLWordPrintable

    Details

      Description

      Hi,

      I have noticed when recording via RecordRTC and the upload_max_filesize directive in the php.ini file is set to - for example, 2G - the recording only goes for around 10 seconds. The plugin is incorrectly parsing the value: 2G as 2 MB.

      This is caused by the plugin expecting this value in the megabytes unit.

      The fix here converts the value to bytes and removes the megabyte to bytes conversion.

        Attachments

        1. Atto toolbar settings.png
          69 kB
          Marcus Fabriczy
        2. Limit reached.png
          114 kB
          Marcus Fabriczy
        3. RecordRTC Atto toolbar.png
          21 kB
          Marcus Fabriczy

          Issue Links

            Activity

              People

              Assignee:
              mfabriczy Marcus Fabriczy
              Reporter:
              mfabriczy Marcus Fabriczy
              Peer reviewer:
              Daniel Neis Araujo
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 minute
                  1m