API | Description |
Create a TUICallKit instance (singleton mode). | |
Set the user's profile picture and nickname. | |
Make a one-to-one call. | |
Make a one-to-one call, Support for custom room ID, call timeout, offline push content, etc | |
Make a group call. | |
Make a group call, Support for custom room ID, call timeout, offline push content, etc | |
Join a group call. | |
Set the ringtone. | |
Set whether to turn on the mute mode. | |
Set whether to enable floating windows. | |
Set whether to display incoming banner. |
TUICallEngine
is an audio/video call component that does not include UI elements. If TUICallKit
does not meet your requirements, you can use the APIs of TUICallEngine
to customize your project.API | Description |
Create a TUICallEngine instance (singleton). | |
Destroy TUICallEngine instance (singleton). | |
Authenticates the basic audio/video call capabilities. | |
Add listener. | |
Remove listener. | |
Make a one-to-one call. | |
Make a group call. | |
Accept call. | |
Reject call. | |
Hang up call. | |
Ignore call. | |
Invite users to the current group call. | |
Join a group call. | |
Switch the call media type, such as from video call to audio call. | |
Subscribe to the video stream of a remote user. | |
Unsubscribe from the video stream of a remote user. | |
Turn on the camera. | |
Turn off the camera. | |
Switch camera. | |
Enable microphone. | |
Disable the microphone. | |
Select the audio playback device (Earpiece/Speakerphone). | |
Set the user's profile picture and nickname. | |
Set the rendering mode of video. | |
Set the encoding parameters of video encoder. | |
Advanced features. | |
Set beauty level, support turning off default beauty. |
TUICallObserver
is the callback class of TUICallEngine
. You can use it to listen for events.API | Description |
An error occurred during the call. | |
A call was received. | |
The call was canceled. | |
The call was connected. | |
The call ended. | |
The call type changed. | |
A user declined the call. | |
A user didn't respond. | |
A user was busy. | |
A user joined the call. | |
A user left the call. | |
Whether a user has a video stream. | |
Whether a user has an audio stream. | |
The volume levels of all users. | |
The network quality of all users. | |
The current user was kicked offline. | |
The user sig is expired. |
API | Description |
Call media type, Enumeration type: Unknown, Video, and Audio. | |
Call role, Enumeration type: None, Call, and Called. | |
Call status, Enumeration type: None, Waiting, and Accept. | |
The room ID, which can be a number or string. | |
The camera type. Enumeration type: Front and Back. | |
The audio playback device type. Enumeration type: Earpiece and Speakerphone. | |
The current network quality. |
Was this page helpful?