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

          Issue Links

            Activity

              People

              • 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