Chrome-Extensions
Chrome-Extensions copied to clipboard
How to record Chrome tab + microphone (video + audio) ?
chrome.tabCapture.capture(constraints, function(tabStream) {
navigator.mediaDevices.getUserMedia({
audio: true
}).then(mic) {
tabStream.addTrack(mic.getTracks()[0]);
gotTabCaptureStream(tabStream, constraints);
});
});
- https://github.com/muaz-khan/Chrome-Extensions/blob/master/screen-recording/background/background.tabCapture.js
You can use MultiStreamsMixer
to record tab+camera
:
- https://github.com/muaz-khan/MultiStreamsMixer
MultiStreamsMixer
also supports tab+sound+mic+camera
.
Hi I am trying to record the tab screen with a microphone from the last 4 days but not successful, can anyone explain me is it possible to work with a microphone in enableTabCaptureAPI.
chrome.tabCapture.capture(constraints, function(tabStream) { navigator.mediaDevices.getUserMedia({ audio: true }).then(mic) { tabStream.addTrack(mic.getTracks()[0]); gotTabCaptureStream(tabStream, constraints); }); });
- https://github.com/muaz-khan/Chrome-Extensions/blob/master/screen-recording/background/background.tabCapture.js
You can use
MultiStreamsMixer
to recordtab+camera
:
- https://github.com/muaz-khan/MultiStreamsMixer
MultiStreamsMixer
also supportstab+sound+mic+camera
.
Do we need to use MultiStreamMixer as well, with above code? I want to record tab + microphone, I have used above code, and it's not working... Can please help?
It is not working
tabStream.addTrack(mic.getTracks()[0]);