Chat provides multi-platform chat APIs, user interface components, and server-side APIs, enabling you to build a fully functional chat application in ten minutes. In the chat application, you can easily add audio and video call features with just up to three lines of code.
Integration demonstration
After integrating Chat and TUICallKit, you can easily initiate audio and video calls on the chat messages page and user information page.
Quick Integration
Preparations
Activate Service
2. In the pop-up dialog box for activating the TRTC service, click "Confirm". The system will create a TRTC application with the same SDKAppID as the current chat application. The TRTC console allows reuse of account and authentication. Integrate TUICallKit.
Add TUICallKit dependency to the build.gradle file in the App:
api project(':tuicallkit')
After integrating the TUICallKit component, the chat interface and contact information interface will by default display "video call" and "voice call" buttons. When the user clicks the button, TUICallKit will automatically display the call invitation UI and send a call invitation request to the other party.
Was this page helpful?