Enum TRTCAudioQuality
3.2 Audio quality
Namespace: trtc
Assembly: cs.temp.dll.dll
Syntax
public enum TRTCAudioQuality
Remarks
Audio quality is used to indicate the fidelity of audio. TRTCAudioQualitySpeech is suitable for calls and TRTCAudioQualityMusic for music scenarios with high requirements on audio quality.
Fields
| Name | Description |
|---|---|
| TRTCAudioQualityDefault | Default: mono audio with a sample rate of 48 kHz and a bitrate of 50 Kbps. This is the default audio quality used by the SDK and is recommended. |
| TRTCAudioQualityMusic | Music: stereo and fullband audio with a sample rate of 48 kHz and a bitrate of 128 Kbps, suitable for music scenarios with high requirements on fidelity, such as karaoke and live music streaming |
| TRTCAudioQualitySpeech | Speech: mono audio with a sample rate of 16 kHz and a bitrate of 16 Kbps, suitable for online conferencing, audio calls, etc. |