Enumeration EncodingPreference

Video encoder preference.

Enumeration Members

PreferAuto: -1

-1: Adaptive preference. The SDK automatically selects the optimal encoding type for encoding based on factors such as platform and device type.

PreferHardware: 1

1: Hardware encoding preference. The SDK prefers a hardware encoder for video encoding. When the device does not support hardware encoding, the SDK automatically uses software encoding and reports the currently used video encoder type through hwEncoderAccelerating in the onLocalVideoStats callback.

PreferSoftware: 0

0: Software coding preference. The SDK prefers software encoders for video encoding.

Generated using TypeDoc