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??? #34

Closed mardulas closed 3 years ago

mardulas commented 3 years ago

Why the f*** doesn't it record audio 🤷‍♂️

MarcAnt01 commented 3 years ago

Because the API used by this app don't support it, also no reason to be so rude

robmikh commented 3 years ago

See issue #21.

In short, this is a sample on how to use the Windows.Graphics.Capture and Windows.Media.Transcoding APIs to encode video. Audio is outside the scope of this project.

If you'd like to add audio, I'd look into the WASAPI loop back documentation. You'll then have to provide the samples and time stamps to the MediaStreamSource object.