MediaRecorder

PennController for IBEX Forums Support MediaRecorder

This topic contains 1 reply, has 2 voices, and was last updated by Jeremy Jeremy 2 weeks, 3 days ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7112
    Avatar
    jana
    Participant

    Hello,

    Apologies in advance for a blunt question.

    We are building ‘oral production experiment’ using MediaRecorder.
    Please could you explain (in layman terms) how to obtain a “URL that points to a PHP file on your own webserver”, and could google drive be used for this? Apologies if this questions should be aimed at web server support team.

    // Replace the URL with one that points to a PHP file on your own webserver
    InitiateRecorder(“http://files.lab.florianschwarz.net/ibexfiles/PennController/SampleTrials/”).label(“init”)

    // This creates a trial labeled ‘async’ that will upload
    // all the samples recorded by the time it is run
    UploadRecordings(“async”,”noblock”)

    It is fantastic to be able to do production experiments on-line!! Massive thank you!

    Jana

    #7113
    Jeremy
    Jeremy
    Keymaster

    Hello Jana,

    The documentation has a guide on how to set up multimedia recording. You need to save a .php file with the content from the code block under “Server setup” and upload it to your webserver. There exist commercial services to obtain webserver space (eg. DreamHost) and some institutions (eg. universities) also provide some webserver space to their members. Google Drive cannot be used to run PHP scripts (it’s a cloud service, not a webserver)

    Alternatively, you can send the recordings to an S3 bucket, but the setup is somewhat more complicated in this case

    Let me know if you have questions,
    Jeremy

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.