Skip to main content

You are looking at Voice Calling v3.x Docs. The newest version is  Voice Calling 4.x

Android
iOS
macOS
Windows C++
Windows C#
Unity
Flutter
React Native
Electron
Cocos Creator
Cocos2d-x

Core API Summary

The Agora SDK supports multiple platforms with different implementations of the API methods. The following table lists the core API methods on Android, iOS/macOS, the Web, and Windows to help you quickly understand the differences.

Core Method Android iOS/macOS Web Windows
Initialize create sharedEngineWithAppId
Set the Channel Profile setChannelProfile setChannelProfile AgoraRTC.createClient[1] setChannelProfile
Set the Client Role setClientRole setClientRole setClientRole setClientRole
Join a Channel joinChannel joinChannelByToken Client.join joinChannel
Leave a Channel leaveChannel leaveChannel Client.leave leaveChannel
Renew the Token renewToken renewToken Client.renewToken renewToken
Enable Interoperability enableWebSdkInteroperability enableWebSdkInteroperability N/A enableWebSdkInteroperability
Destroy an Instance destroy destroy N/A release

[1] The Agora Web SDK sets the channel profile by calling the ClientConfig method in AgoraRTC.createClient, see ClientConfig.

Voice Calling