GithubHelp home page GithubHelp logo

Comments (6)

eagleconferencing avatar eagleconferencing commented on May 10, 2024

Error: Evaluation failed: TypeError: Cannot read property 'duration' of null
at puppeteer_evaluation_script:2:52
at ExecutionContext._evaluateInternal (/usr/src/bbb-recorder/node_modules/puppeteer/lib/ExecutionContext.js:122:13)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async ExecutionContext.evaluate (/usr/src/bbb-recorder/node_modules/puppeteer/lib/ExecutionContext.js:48:12)
at async main (/usr/src/bbb-recorder/export.js:110:27)
-- ASYNC --
at ExecutionContext. (/usr/src/bbb-recorder/node_modules/puppeteer/lib/helper.js:111:15)
at DOMWorld.evaluate (/usr/src/bbb-recorder/node_modules/puppeteer/lib/DOMWorld.js:112:20)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
-- ASYNC --
at Frame. (/usr/src/bbb-recorder/node_modules/puppeteer/lib/helper.js:111:15)
at Page.evaluate (/usr/src/bbb-recorder/node_modules/puppeteer/lib/Page.js:860:43)
at Page. (/usr/src/bbb-recorder/node_modules/puppeteer/lib/helper.js:112:23)
at main (/usr/src/bbb-recorder/export.js:110:38)
at processTicksAndRejections (internal/process/task_queues.js:97:5)

from bbb-recorder.

jibon57 avatar jibon57 commented on May 10, 2024

Make sure the link is valid. Looks like having problem with duration value. You can try without duration set. Or

node export.js "https://DOMAIN/playback/presentation/2.0/playback.html?meetingId=7de4746928475b5276e1615ae0a19ed1fc5227a9-1593389262941" 7de4746928475b5276e1615ae0a19ed1fc5227a9-1593389262941.webm 0 true

from bbb-recorder.

eagleconferencing avatar eagleconferencing commented on May 10, 2024

I even tried with/without 0 nothing is working
everytime getting the same error

from bbb-recorder.

eagleconferencing avatar eagleconferencing commented on May 10, 2024

Link is valid, i have masked my domain here with DOMAIN

from bbb-recorder.

hipoloco avatar hipoloco commented on May 10, 2024

Are you using a custom playback file? Comment out the following block of code in export.js file and try again setting the duration to 10:

    // Get recording duration
    var recDuration = await page.evaluate(() => {
        return document.getElementById("video").duration;
    });
    // If duration was set to 0 or is greater than recDuration, use recDuration value
    if(duration == 0 || duration > recDuration){
        duration = recDuration;
    }

from bbb-recorder.

eagleconferencing avatar eagleconferencing commented on May 10, 2024

Its not custom file, its bbb file. Working fine now without any changes.

from bbb-recorder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.