How to reduce the app size when integrating Native SDK?
This article introduces how to reduce the app size (i.e., package size) after integrating Express Native SDK.
- Native platform mainly refers to Android, iOS, macOS, and Windows platforms.
- For data on the app size increase relative to apps without SDK integration when integrating the latest version of Native SDK, please refer to Video Call - Overview.
Solution 1: Use Express-Audio SDK (Real-time Voice Version)
When your business does not involve video module-related functions, you can directly use Express-Audio SDK, which can reduce the package size. At the same time, since Express-Video SDK and Express-Audio SDK are compatible in interfaces, you can later easily switch from a pure audio scenario to an audio-video scenario by replacing the SDK.
The download addresses for Express-Audio SDK on each Native platform are as follows:
- iOS: Express-Audio SDK
- Android: Express-Audio SDK
- macOS: Express-Audio SDK
- Windows: Express-Audio SDK
Solution 2: Contact ZEGOCLOUD Technical Support for Customized Package
ZEGO supports feature-level trimming of iOS, Android, Windows, and macOS SDKs. The currently trimmable features are as follows. For details, please contact ZEGOCLOUD Technical Support.
- Media player and sound effect player.
- Local media recording functionality.
- Stream encryption and decryption functionality; HTTPS and RTMPS publishing and playing functionality.
- Face beautification functionality.
- Uncommonly used audio and video codecs: For details, you can consult ZEGOCLOUD Technical Support.
