-api-id | -api-type |
---|---|
M:Windows.Media.Capture.MediaCapture.AddEffectAsync(Windows.Media.Capture.MediaStreamType,System.String,Windows.Foundation.Collections.IPropertySet) |
winrt method |
Adds an audio or video effect.
Specifies the streams to which the effect will be applied.
The class identifier of the activatable runtime class that implements the effect. The runtime class must implement the IMediaExtension interface.
Configuration parameters for the effect.
Returns an IAsyncAction object that is used to control the asynchronous operation.
As of Windows 10, this method is deprecated. Use AddAudioEffectAsync or AddVideoEffectAsync instead. For how-to guidance on adding effects to the camera capture and preview streams, see Effects for video capture.
backgroundMediaRecording microphone, webcam