Get started with
10,000 free minutes
Sign up and start building! You don’t pay until you scale.
Try for Free
The fastest and easiest way to add real-time conversational AI voice chat, video chat, and live streaming with pre-built user interfaces into your product — no coding required
1RtcEngineConfig config = new RtcEngineConfig();
2config.mAppId = "Your app ID";
3RtcEngine agoraEngine = RtcEngine.create (config);
4agoraEngine.setupLocalVideo(new VideoCanvas(new SurfaceView(getBaseContext(), VideoCanvas.RENDER_MODE_HIDDEN, 0));
5agoraEngine.enableVideo();
6agoraEngine.startPreview();
7agoraEngine.joinChannel("<Your token>", "<Your channel name>", 1, new ChannelMediaOptions());
8agoraEngine.enableVideo();