I would like to capture a media using this Windows.Media.Capture as a Stream for WebRTC. The reason for that is, that I would like to use the AddVideoEffectAsync()
method to apply my custom Effect. Is that possible? And if not, what are the option of transformation of media, that is streamed by WebRTC?
Asked
Active
Viewed 206 times
1

MartinVotruba
- 343
- 2
- 17
1 Answers
0
How you do this depends on the WebRTC stack you're using but in general, the GetPreviewFrameAsync
method on the MediaCapture class will give you the bitmap which can be used to get the raw frame data you'd need to encode the video frame for WebRTC.

Josh Mackey
- 233
- 2
- 10