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

Maximum upload size reached after a few seconds when using RecordRTC

XMLWordPrintable

    • MOODLE_35_STABLE
    • MDL-63791_master
    • Hide
      1. Verify that the value of the upload_max_filesize directive is set to 2G in your php.ini file.
      2. Ensure RecordRTC is enabled for the Atto editor.
      3. Create a label activity and make a recording; verify that you can record for at least 20 seconds.
      Show
      Verify that the value of the upload_max_filesize directive is set to 2G in your php.ini file. Ensure RecordRTC is enabled for the Atto editor. Create a label activity and make a recording; verify that you can record for at least 20 seconds.

      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.

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

            mfabriczy Marcus Fabriczy
            mfabriczy Marcus Fabriczy
            Daniel Neis Araujo Daniel Neis Araujo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.