How to handle issues when integrating Express SDK?
When integrating through "jCenter" on the Android platform, the "jCenter" dependency fails with the error: "Failed to resolve.zego:express-audio.x.x"?
Please confirm whether the SDK version you are depending on is the latest version. Check the current SDK version through SDK Release History. If it is not the latest version, the dependency will fail.
Why does the Electron platform fail to load the SDK when using the "Electron-Vue" framework?
The "Vue" framework needs to use "Webpack", and change the "require" parameter of "Webpack" to "window.require".
How to determine hardware support and permission authorization on the Web platform?
Hardware support can be determined through the checkSystemRequirements interface by obtaining "CapabilityDetection".
When calling the createEngine interface to create an engine, how to set the application scenario "scenario" that the App belongs to?
When calling the createEngine interface to create an engine, you need to set the application scenario through the "scenario" parameter. ZEGO Express SDK provides the following three scenarios. The preset values of ZegoAudioConfig class and ZegoEngineConfig class are different in different scenarios. For details, please refer to the table below. Developers can choose based on the actual needs of the App they are developing.
If developers have customized scenario requirements, they can call the setAudioConfig interface to modify the CodecID property in the ZegoAudioConfig class, and contact ZEGOCLOUD Technical Support to modify the advancedConfig property in the ZegoEngineConfig class of the setEngineConfig interface.
setAudioDeviceMode interface.| Enum Value | Preset Value | Details | Business Scenario Recommendation |
|---|---|---|---|
| GENERAL (General Scenario) | ZegoAudioConfig class "CodecID" property preset to "Normal2" |
|
|
| setAudioDeviceMode specified parameter as "General" |
| ||
| COMMUNICATION (Real-time Communication) | ZegoAudioConfig class "CodecID" property preset to "Low3" |
|
|
| setAudioDeviceMode specified parameter as "Communication2" |
| ||
| LIVE (Live Streaming Scenario) | ZegoAudioConfig class "CodecID" property preset to "Normal2" |
|
|
| setAudioDeviceMode specified parameter as "Communication3" |
|
