Integrating CallKit Calling Features
Voice/Video Call Plugins
The extension panel provided by the IMLib SDK can include voice and video call entry points. The voice call and video call plugins are provided by the RongCloud CallKit SDK. You need to complete the following tasks:
- Integrate the CallKit SDK. For details, see the CallKit documentation Implementing Voice/Video Calls.
- Enable the RTC service in the Console. Go to the RTC Service page.
Import the CallKit plugin using the same method as your app's IMLib integration. Do not mix Framework and source code import methods. After successful integration, these two plugins will automatically appear in the extension panel.
The voice/video call buttons in the extension panel require the IM service configuration to take effect and the local client cache to update. This process may take up to two hours. If the buttons do not appear after a long time, try logging out of the current account, clearing the cache, uninstalling and reinstalling the app, then check if the issue is resolved.
If the Voice Call or Video Call entries do not appear in the IMLib extension panel after integrating the CallKit SDK, check the following items:
- Whether the RTC service has been enabled in the Console. Go to the RTC Service page.
- The voice/video call buttons in the extension panel require the IM service configuration to take effect and the local client cache to update. This process may take up to two hours. If the buttons do not appear after a long time, try logging out of the current account, clearing the cache, uninstalling and reinstalling the app, then check if the issue is resolved.
If your app has integrated the CallKit SDK but you do not want the buttons to appear automatically, refer to Input Area.