ZegoAudioCodecID Constants Reference
Declared in | ZegoExpressDefines.h |
---|
ZegoAudioCodecID
Audio codec ID.
Definition
typedef NS_ENUM(NSUInteger, ZegoAudioCodecID ) {
ZegoAudioCodecIDDefault = 0,
ZegoAudioCodecIDNormal = 1,
ZegoAudioCodecIDNormal2 = 2,
ZegoAudioCodecIDNormal3 = 3,
ZegoAudioCodecIDLow = 4,
ZegoAudioCodecIDLow2 = 5,
ZegoAudioCodecIDLow3 = 6,
};
Constants
ZegoAudioCodecIDDefault
-
Default, determined by the [scenario] when calling [createEngine].
Declared In
ZegoExpressDefines.h
. ZegoAudioCodecIDNormal
-
Can be used for RTC and CDN streaming; bitrate range from 10kbps to 128kbps; supports stereo; latency is around 500ms. Server cloud transcoding is required when communicating with the Web SDK, and it is not required when relaying to CDN.
Declared In
ZegoExpressDefines.h
. ZegoAudioCodecIDNormal2
-
Can be used for RTC and CDN streaming; good compatibility; bitrate range from 16kbps to 192kbps; supports stereo; latency is around 350ms; the sound quality is worse than [Normal] in the same (low) bitrate. Server cloud transcoding is required when communicating with the Web SDK, and it is not required when relaying to CDN.
Declared In
ZegoExpressDefines.h
. ZegoAudioCodecIDNormal3
-
Not recommended; if you need to use it, please contact ZEGO technical support. Can only be used for RTC streaming.
Declared In
ZegoExpressDefines.h
. ZegoAudioCodecIDLow
-
Not recommended; if you need to use it, please contact ZEGO technical support. Can only be used for RTC streaming.
Declared In
ZegoExpressDefines.h
. ZegoAudioCodecIDLow2
-
Not recommended; if you need to use it, please contact ZEGO technical support. Can only be used for RTC streaming; maximum bitrate is 16kbps.
Declared In
ZegoExpressDefines.h
. ZegoAudioCodecIDLow3
-
Can only be used for RTC streaming; bitrate range from 6kbps to 192kbps; supports stereo; latency is around 200ms; Under the same bitrate (low bitrate), the sound quality is significantly better than [Normal] and [Normal2]; low CPU overhead. Server cloud transcoding is not required when communicating with the Web SDK, and it is required when relaying to CDN.
Declared In
ZegoExpressDefines.h
.
Declared In
ZegoExpressDefines.h