[PAID] AgoraRTC - Real time communication with voice and/or video

VERSION 2:
updated at 2021-8-27
version 2 is total re-write one, used webview +html+ javascript+css, easy deploy, easy to use.

Blocks and usage:


URL: STRING, where the html file located, you can upload it to your server. it should be start with “https”

AppId:STRING, get this from agora.io

Token: STRING, get this from agora.io, normally no need to use this block.

Channel: STRING, can be any random string, do not use special characters.

VideoResolution:STRING, the resulution of the video, one of 360p, 480p, 720p, 1080p

ViewStyle: NUMBER, 1 or 2, means how to show the videos(local and remote), 1 for grid view, 2 for thumbnail view (tap on one thumbnail it will become big one):


Initialize: connect to the URL and bind to one vertical or horizontal layout where the video (local and remote) will be shown inside.

JoinChannel: self explained.

LeaveChannel: self explained.

SwitchCamera: self explained.

SetVolume: self explained. vol: NUMBER, 0-200

Initialized: triggered by Initialize function. support:BOLLEAN, means the phone is supportting this extension or not.

Joined: triggered by JoinChannel function. Local user will get this event. userid: local user id

OtherJoined: triggered by JoinChannel function. Remote user will get this event. userid: remote user id

OtherLeft: triggered by LeaveChannel function. Remote user will get this event. userid: remote user id

Clicked: when you tap on the layout

OnError: when any error aroused.

DEMO apk:

give me private message if you want.

1 Like