robmikh / SimpleRecorder

A simple screen recorder using both the Windows.Graphics.Capture and Windows.Media.Transcoding APIs.
MIT License
219 stars 43 forks source link

Audio recording #21

Closed MarcAnt01 closed 3 years ago

MarcAnt01 commented 3 years ago

Are you considering the possibility to record audio along with the video? Is that allowed by the APIs you use

robmikh commented 3 years ago

This sample is primarily about using the Windows.Graphics.Capture and Windows.Media.Transcoding APIs. Windows.Graphics.Capture only has the ability to capture graphical content. Windows.Media.Transcoding has the ability to add-in an audio stream, I believe, but you need to get the audio from somewhere else first.

There are two ways you can go about this:

This project may in the future explore audio recording, but it isn't an immediate goal that I have.

MarcAnt01 commented 3 years ago

Thanks a lot for the detailed explanation