Closed KennyHarrer closed 2 years ago
updated error link: https://pastebin.com/raw/LF4pfdxA
after adding in a missing await now im getting this error: https://pastebin.com/raw/XTwaFXng
It looks like chrome.tabCapture
isn't defined. What version of puppeteer are you using?
It looks like you are using an outdated version of puppeteer, please upgrade to the latest one:
npm install puppeteer@latest
I did not update, however after I removed 2 flags from the launch args it started working. I currently cannot get to my computer to check which two resolved this issue, but I will let you know as soon as I find them.
@KennyHarrer any updates?
I removed the following args and it started working: "–allow-file-access-from-files","-disable-web-security"
ERROR: https://www.toptal.com/developers/hastebin/umowehuwej.sql not sure what else I can say... All I do is start a steam with:
const stream = await getStream(tab, { audio: true, video: true, frameSize: 1000 })
launch options:
browser = await launch({ headless: false, args: ['--window-size=1080,1920', '--start-fullscreen', '--autoplay-policy=no-user-gesture-required', '--disable-infobars', "--no-default-browser-check","–allow-file-access-from-files","-disable-web-security"], ignoreDefaultArgs: ['--enable-automation'], });