Extension for real time communication via voice and/or video, based on AgoraRTC technology.
Agora have 10,000 free minutes per month.
Please pay USD10 with Paypal to wangsk789, and send one email to firstname.lastname@example.org to request the aix file.
you need to sign up at here, and open Console, create one new project (for authentication mechanism, pls choose "App Id"), get the appId
This property will be no use if you choose "App Id" for authentication when you create the project.
default value is false, which means only voice talk enabled. Set it to true if video talk wanted.
the location where the agorartc sdk stored. Use this only when you want to host your own sdk. Contact me for more information.
initialize the sdk.
if the app is running for first time, it will download the sdk from libUrl automaticly.
try to join channel. If success, this will fire the OnJoinChannel event, and other user in the channel will get OnRemoteUserJoin event.
You can talk to others only if you are in same channel and with same AppId.
try to leave channel. if success, this will fire the OnLeaveChannel event, and other user in the channel will get OnRemoteUserLeave event.
set one layout (arrangement) to be the container of the local video.
It should be called before JoinChannel
set one layout (arrangement) to be the container of the remote video.
Its' s to be called inside the OnGetRemoteVideo event. One layout is for one remote user only.
uid is got from OnGetRemoteVideo event.
set the speaker phone ON to true (default) or false
switch to use front or rear camera
when you joined the channel. After this, the local video will be shown automatically.
when you left the channel. After this, all the video will be closed automatically
when other user joined the channel.
when other user left channel
when you get remote video. Setup the remote video here.
when any error occurs. please refer to here for more info