Skip to content

[Bug]: Puppeteer Timeout with RRVideo #1693

Open
@chirag03k

Description

@chirag03k

Preflight Checklist

  • I have searched the issue tracker for a bug report that matches the one I want to file, without success.

What package is this bug report for?

rrvideo

Version

2.0.0-alpha.18

Expected Behavior

When I convert a RRWeb Events JSON to video using transformToVideo from RRVideo, I should get a resulting video out.

Actual Behavior

I simply get an unhandled rejection.

page.setContent: Timeout 30000ms exceeded.
Call log:
  - setting frame content, waiting until "load"

    at /node_modules/rrweb/packages/rrvideo/build/index.js:155:30

Steps to Reproduce

My arguments:

outpath = await transformToVideo({
    input: eventsPath,
    output: tempVideoPath,
    headless: true,
    onProgressUpdate: (percent: number) => {
        const now = Date.now();
        if (now - lastProgressTime >= 5000) {
            console.log(`Progress: ${(percent * 100).toFixed(2)}%`);
            lastProgressTime = now;
        }
    },
    rrwebPlayer: {
        width: settings.width,
        speed: 8,
        height: settings.height,
        autoPlay: true,
        skipInactive: false,
        showDebug: true,
        showWarning: true,
        mouseTail: true,
    },
});

I wish I could also send the JSON, but it has private customer data. I still haven't pinpointed the cause, I just know that it happens intermittently.

Testcase Gist URL

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions