Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-1554

Serve large multimedia content via streaming

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.0
    • Component/s: Resource add-on
    • Labels:
    • Testing Instructions:
      Hide
      1. Add 3 resources to a course: a small video (less than 2MB), a heavy video (more than 2MB) and a heavy PDF (more than 2MB).
      2. In the app, open the PDF. Check that it's downloaded before opened (like it happened until now).
      3. In the app, open the small video (wifi or not). Check that the file is downloaded before opened since it's small.
      4. Now open the heavy video in 3G. Check that the file is opened in streaming and not downloaded.
      5. Open the heavy video in wifi. Check that the file is opened in streaming and downloaded in background.
      6. Once downloaded, go offline and open the file. Check that it's opened right.
      Show
      Add 3 resources to a course: a small video (less than 2MB), a heavy video (more than 2MB) and a heavy PDF (more than 2MB). In the app, open the PDF. Check that it's downloaded before opened (like it happened until now). In the app, open the small video (wifi or not). Check that the file is downloaded before opened since it's small. Now open the heavy video in 3G. Check that the file is opened in streaming and not downloaded. Open the heavy video in wifi. Check that the file is opened in streaming and downloaded in background. Once downloaded, go offline and open the file. Check that it's opened right.
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Sprint:
      Moodle Mobile 3.1.0

      Description

      Right now if we open any resource, the resource is downloaded previously to be opened/played.

      We should avoid that for large multimedia files like videos or audios, for large videos the user experience won't be ideal because he will have to wait for the full video to be downloaded.

      I think that we can follow an approach based on connection and size (like we did in other areas):

      • Wifi and small videos audios - Download the file and then open it
      • Wifi and large video/audio - Streaming and download in the background (via filepool) the media
      • 3g - Streaming always, the user must click to download the media

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dpalou Dani Palou
              Reporter:
              jleyva Juan Leyva
              Peer reviewer:
              Pau Ferrer
              Integrator:
              Juan Leyva
              Tester:
              Juan Leyva
              Participants:
              Component watchers:
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                23/May/16