# setRed (/zh-CN/api-reference/rtc/android/api-livetranscoding-setred)
> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).
```java
public void setRed(int red)
```
:::error[废弃]
该方法已废弃。
:::
## 参数 [#参数]
红色分量的值。
### 所属接口类 [#所属接口类]
- [LiveTranscoding](/zh-CN/api-reference/rtc/android/class-livetranscoding)