I want to record a section of my monitor and system audio. I will capture screen using wgc and audio using wasapi.
https://learn.microsoft.com/ko-kr/windows/uwp/audio-video-camera/screen-capture-video
docs above says I can use mediaTranscoder to capture video. But it seems to accept only one mediaSourceStream. what can I do for adding Audio mediasourceStream captured by wasapi? I thought I can use mediaComposition to merge mutliple mediaStreamSource, but it doesn't support real-time capture stream.
If it were impossible in uwp, I will use windows media foundation. If you have an idea to record both system audio and screen ( and hopely mike input), please tell me.
Currently, UWP does not have related APIs that support simultaneous recording. You need to capture separately and use Windows.Media.Editing.MediaComposition to add the audio to the video file.