GithubHelp home page GithubHelp logo

Comments (6)

upperdecker954 avatar upperdecker954 commented on May 13, 2024 2

I ran into the same issue, and it took me hours to figure out what the issue was.

Thanks to this page I simply added another argument '--no-sandbox' next to '--disable-dev-shm-usage'.

So, if anyone is like me...and has no idea what to do. I went into destreamer.ts, and scrolled down to the section between lines 47-52 (where it says "async function rentVideoForLater.....". From here, you simply add the argument I mentioned above.

async function rentVideoForLater() {
    console.log('Launching headless Chrome to perform the OpenID Connect dance...');
    const browser = await puppeteer.launch({
        // Switch to false if you need to login interactively
        headless: false,
        args: ['--disable-dev-shm-usage','--no-sandbox'],;
    });
    const page = await browser.newPage();
    console.log('Navigating to STS login page...');

Thank you so much for creating this...I just downloaded my first video from Stream, and it works perfectly. Beautiful job.

from destreamer.

rajesh-s avatar rajesh-s commented on May 13, 2024 1

On windows, after adding this flag and building it again, the error/warning is still displayed but does not terminate running. Is this expected? I don't think the download is progressing. I can see the sandbox change reflect in the transpiled file as well.

from destreamer.

AndreaLonghitano avatar AndreaLonghitano commented on May 13, 2024 1

It opens Chromium and it's impossible to download the video. How to solve this issue?

from destreamer.

snobu avatar snobu commented on May 13, 2024

Really happy you tracked this down and it now works for you. We should probably make --no-sandbox the default given the security concern it bring it's not really something to worry about for our use case. Let me try to run this with --no-sandbox on both Mac and Windows and if all goes well i'll make it the default.

from destreamer.

snobu avatar snobu commented on May 13, 2024

@AndreaLonghitano Can you provide the logs please?

from destreamer.

snobu avatar snobu commented on May 13, 2024

Closing due to inactivity, please try out the new code (git pull and build), we improved a lot of the logic.

from destreamer.

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.