SamuelScheit / puppeteer-stream

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

Is it possible to record multiple streams from a same tab #70

Closed varunk29 closed 1 year ago

varunk29 commented 1 year ago

Hey, @Flam3rboy hope you doing great.

I'm trying to record audio and video files separately For video this.stream = await getStream(this.page, { audio: true, video: true }); this.stream.pipe(this.file);

For Audio this.audioStream = await getStream(this.page, { audio: true, video: false });

but I noticed the video file is empty, can tabCapture be called twice in a single tab?

SamuelScheit commented 1 year ago

No sadly not, the tabCapture api only allows one concurrent stream at the time. This is a limitation of the browser