Specify a number for the encoding complexity of the video stream. This value can range from Fastest (0) to Best (5). The higher numbers will produce higher-quality video, but can require substantially more processing time. 0 and 1 are optimized for live encoding where you need to process the frames in real-time, and 2-5 are optimized for offline encoding.
Assembly: Microsoft.Expression.Encoder.Types (in microsoft.expression.encoder.types.dll)