Skip to main content

You are looking at Interactive Live Streaming v3.x Docs. The newest version is  Interactive Live Streaming v4.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.