#get user audio while recording screen

1 messages · Page 1 of 1 (latest)

whole fulcrum
#

Hello, i am creating a screen recorder application in that i have successfully got video, and computer audio, but i don't know how to get user audio like i want to get user audio too when recording screen, how can i?

surreal spade
#

There’s a getSources function in desktopCapturer. Maybe you can get the microphone from there.

whole fulcrum
#

but it shows it this

#

const constraints = {
audio: {
mandatory: {
chromeMediaSource: 'desktop'
}
},
video: {
mandatory: {
chromeMediaSource: 'desktop'
}
}
}

#

this piece of code gets me audio of system, not users

#

like what they are speaking