Comments (6)
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.
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.
I even tried with/without 0 nothing is working
everytime getting the same error
from bbb-recorder.
Link is valid, i have masked my domain here with DOMAIN
from bbb-recorder.
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.
Its not custom file, its bbb file. Working fine now without any changes.
from bbb-recorder.
Related Issues (20)
- duration of null HOT 11
- bbb 2.4 support? HOT 1
- doesnt finish for 2.3 HOT 1
- Error: ENOENT: no such file or directory, mkdir HOT 1
- How can i run this script my local Ubuntu HOT 1
- Export with higher resolution HOT 1
- Compatibility with older BigBlueButton versions
- Evaluation failed: TypeError: Cannot read properties of null (reading 'duration')
- Unreachable URL Error HOT 1
- Timeout on liveJoin when mics are locked HOT 1
- Audio cutting out in the middle of video HOT 2
- corrupted recording with Chrome 88+ HOT 1
- Tring to Recording on sperate server HOT 1
- Error: Cannot find module '/root/export.js' HOT 3
- Don't hardcode download directory location
- Live RTMP or Live Join has some issue on BBB 2.3.1 Latest version
- Record full screen include Chat and Tools HOT 3
- UnhandledPromiseRejectionWarning: Error: Page crashed! HOT 1
- Restrict Recording for Specific Rooms HOT 1
- failed to record the item : "share an external video " HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bbb-recorder.