SamuelScheit / puppeteer-stream

A Library for puppeteer to retrieve audio and/or video streams
MIT License
333 stars 105 forks source link

videoConstraints Not works #147

Closed hotsixman closed 5 months ago

hotsixman commented 5 months ago
const stream = await getStream(page, {
        video: true,
        audio: true,
        videoConstraints:{
            mandatory:{
                width: {
                    min:1920,
                    max:1920
                },
                height: {
                    min:1080,
                    max:1080
                }
            }
        },
        bitsPerSecond: 8000000
    });

But I always get 2160p video

SamuelScheit commented 5 months ago

duplicate of #15

koka0630 commented 3 months ago

@SamuelScheit hello, I'm facing this problem too. I have seen this comment and it does not appear to be resolved by this Pull Request #32 🤔 Could you reopen this issue again?

here is my environment:

koka0630 commented 3 months ago

@SamuelScheit could you check this issue? 🙏