[fix] disable and uncheck hardware codec setting in unsupported builds

This commit is contained in:
dijunkun
2026-09-13 01:40:44 +08:00
parent 28e9626e0d
commit b54d32ef41
3 changed files with 20 additions and 11 deletions
@@ -65,6 +65,8 @@ class ConfigCenter {
ScreenCaptureMethod GetScreenCaptureMethod() const;
VIDEO_ADAPTATION_POLICY GetVideoAdaptationPolicy() const;
VIDEO_ENCODE_FORMAT GetVideoEncodeFormat() const;
// Whether this build includes a hardware video codec backend.
static bool IsHardwareVideoCodecAvailable();
bool IsHardwareVideoCodec() const;
TURN_MODE GetTurnMode() const;
bool IsEnableTurn() const;