Closed varunk29 closed 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);
this.stream = await getStream(this.page, { audio: true, video: true });
For Audio this.audioStream = await getStream(this.page, { audio: true, video: false });
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?
No sadly not, the tabCapture api only allows one concurrent stream at the time. This is a limitation of the browser
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?