MediaCaptureInitializationSettings.MediaCategory MediaCaptureInitializationSettings.MediaCategory MediaCaptureInitializationSettings.MediaCategory MediaCaptureInitializationSettings.MediaCategory MediaCaptureInitializationSettings.MediaCategory Property

Definition

Gets or set the media category.

public : MediaCategory MediaCategory { get; set; }
MediaCategory MediaCategory();

void MediaCategory(MediaCategory mediacategory);
public MediaCategory MediaCategory { get; set; }
Public ReadWrite Property MediaCategory As MediaCategory
var mediaCategory = mediaCaptureInitializationSettings.mediaCategory;
mediaCaptureInitializationSettings.mediaCategory = mediaCategory;

Property Value

Additional features and requirements

Capabilities
backgroundMediaRecording

Remarks

If you set the MediaCategory property, the media capture pipeline will attempt to optimize for the specified scenario. For example, if you set the value to Speech, audio processing such as echo cancellation and noise suppression may be enabled.