Audio is not present in video generated from screencast api.

This issue has been tracked since 2023-01-27.

Describe the bug
I am using docker 20.10.5 and screencast api for recording video of webpage. I am able to record and watch video but that does not have audio.

curl -X POST \
  http://localhost:3000/screencast?--window-size=1920,1080 \
  -o video.webm \
  -H 'Content-Type: application/javascript' \
  -d '
    module.exports = async ({ page }) => {
      const sleep = (ms) => new Promise((res) => setTimeout(res, ms));

      await page.setViewport({ width: 1920, height: 1080 });
      await page.goto(`https://www.youtube.com/watch?v=GnEmD17kYsE`);
      await sleep(10000);
    };
  '

What I am missing so audio is not getting recorded.

Desktop (please complete the following information):

  • OS: Kubuntu 20.04
  • Browser: puppeteer chrome inside docker
  • Version:
More Details About Repo
Owner Name browserless
Repo Name chrome
Full Name browserless/chrome
Language TypeScript
Created Date 2017-11-17
Updated Date 2023-03-22
Star Count 5309
Watcher Count 47
Fork Count 516
Issue Count 29

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date