Giter VIP home page Giter VIP logo

Comments (7)

systems-levigo avatar systems-levigo commented on July 24, 2024 1

That worked!
Thank you!!

from bbb-recorder.

jibon57 avatar jibon57 commented on July 24, 2024

Hi,
Try to remove this line:

xvfb.stopSync()

Not sure why in your server can't close Xvfb process but that will be work around.

from bbb-recorder.

jibon57 avatar jibon57 commented on July 24, 2024

Or I think setTimout can help here. Can you try like this:

setTimeout(function(){
	xvfb.stopSync();
}, 3000);

It's better to give it 3 seconds to clean up. Or 1 second. You can test.

from bbb-recorder.

systems-levigo avatar systems-levigo commented on July 24, 2024

Next test with 3 seconds timeout is running.
I will give you feedback as soon as possible.

Thank you!

from bbb-recorder.

systems-levigo avatar systems-levigo commented on July 24, 2024

A other error:

/root/bbb-recorder/meeting.mp4
/root/Downloads/meeting.webm
/root/bbb-recorder/node_modules/xvfb/index.js:129
          throw new Error('Could not stop Xvfb.');
          ^

Error: Could not stop Xvfb.
    at Xvfb.stopSync (/root/bbb-recorder/node_modules/xvfb/index.js:129:17)
    at Timeout._onTimeout (/root/bbb-recorder/export.js:97:9)
    at ontimeout (timers.js:482:11)
    at tryOnTimeout (timers.js:317:5)
    at Timer.listOnTimeout (timers.js:277:5)

Should i try it without xvfb.stopSync() ?

from bbb-recorder.

jibon57 avatar jibon57 commented on July 24, 2024

Are you running multiple process at a same time? Did the process was complete? I mean, did you get MP4 file output? Yes, you can try xvfb.stopSync()

from bbb-recorder.

systems-levigo avatar systems-levigo commented on July 24, 2024

No i am running only one process at the same time.

The process didn't complete, there was no MP4 file as output.

I will try without xvfb.stopSync().

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.