What Problem Does This Solve?
Different devices have vastly different hardware capabilities. A high-end gaming PC can handle 4K60 recording, but a mid-range Android phone might struggle with 1080p30. Your default quality options might be too aggressive for some devices or too conservative for others.QualityOptionOverride lets you define device-specific quality presets that automatically apply when the SDK detects specific hardware.
When to Use QualityOptionOverride
Use this when:- You have performance data showing certain devices need different settings
- Supporting a wide range of hardware (flagship phones to budget tablets)
- Users report performance issues on specific device models
- You want to maximize quality on high-end devices without breaking low-end ones
Quick Example
How It Works
- You define a
DeviceModelidentifier (device name/model string) - Create a list of
QualityOptioninstances tailored for that device - At runtime, the SDK checks the device model
- If a match is found, it uses the override options instead of base config
Common Patterns
Override for low-end mobile devices
Boost quality on flagship devices
Finding Device Model Strings
Device model strings must match exactly. On Android, this is typically
Build.MODEL. On iOS, it’s the device identifier like “iPhone15,2”.API Reference
Fields
Usage in Config
Overrides are typically added to aLckQualityConfig asset:
Best Practices
Test on actual devices — Emulators don’t reflect real performance
Monitor crash analytics — Device-specific overrides often surface hidden issues
Start conservative — Easier to increase quality later than debug performance problems
Related
- QualityOption — Define quality presets
- LckQualityConfig — Quality configuration asset