Adds an audio or video effect.
Syntax
mediaCapture.addEffectAsync(mediaStreamType, effectActivationID, effectSettings).done( /* Your success and error handlers */ );
Parameters
- mediaStreamType
-
Type: MediaStreamType
Specifies the streams to which the effect will be applied.
- effectActivationID
-
Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]
The class identifier of the activatable runtime class that implements the effect. The runtime class must implement the IMediaExtension interface.
- effectSettings
-
Type: IPropertySet
Configuration parameters for the effect.
Return value
Type: IAsyncAction
Returns an IAsyncAction object that is used to control the asynchronous operation.
Remarks
AddEffectAsync must complete before another effect can be added to the MediaCapture object.
See How to add video stabilization for an example of adding Windows.Media.VideoEffects.VideoStabilization effect.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
|
Capabilities |
|
See also
Build date: 12/4/2012