Agora Developer Portal - Sample Code
Video Call
It demonstrates how to make an one-to-one video call with the following simple functions: join/leave channel, switch camera, mute/unmute, enable/disable camera and etc
iOS
Swift
iOS
Objective-C
Android
Java
macOS
Swift
macOS
Objective-C
Windows
C++
WebRTC
JavaScript
Audio Call
It demonstrates how to make an one-to-one audio call with the following simple functions: join/leave channel, mute/unmute, enable the speaker and etc
iOS
Swift
Android
Java
Advanced: Video Call
It demonstrates how to make an one-to-one or group video call with the following simple functions: join/leave channel, set video resolution, disable video, data channel, filter, switch camera, mute/unmute, screen sharing(only macOS) and etc
iOS
Swift
iOS
Objective-C
Android
Java
macOS
Swift
Windows
C++
Advanced: Audio Call
It demonstrates how to make an one-to-one or group audio call with the following simple functions: join/leave channel, mute/unmute, enable speaker, display logs and etc
iOS
Swift
Android
Java
Advanced: Video Live
It demonstrates how to start a video live broadcast with the following functions: join/leave channel, switch camera, enable speakerphone, mute/unmute, image enhancement, set video parameters, switch between host and audience and etc
iOS
Swift
iOS
OC
Android
Java
macOS
Swift
Windows
C++
Advanced: Audio Live
It demonstrates how to start an audio live broadcast with the following functions: join/leave channel, enable the speakerphone, mute/unmute, switch between host and audience and etc
iOS
Swift
Android
Java
RTMP Stream Pushing
It demonstrates how to get the audio or video data captured by Agora SDK, and how to push the processed data to a third party push-stream platform.
iOS
Swift
Android
Java
Capture Video Raw Data
It demonstrates how to capture the camera data by yourself at the client side, and how to use SDK external video source interfaces
iOS
Swift
Android
Java
Simple : Game
It demonstrates how to integrate voice into a game project with the following functions: join/leave channel, mute/unmute, SDK log and etc
Unity Voice
C#
Cocos
C++
iOS
Swift
Android
Java
Unity Video
C#
Advanced: Game
It demonstrates how to integrate the complete audio function(free talk or command mode) in a game including: join/leave channel, mute/unmute, enable speaker, audio mixing, set volume, set the voice position, SDK log and etc with a simple game scenario
Unity
C#
Cocos
C++
iOS (SpriteKit)
Swift
Recording
It demonstrates how to record audio and video, for example, audio-only mode, audio mixing, video mixing, encryption and decryption, and set UDP port and etc
All Platform
C#
Signaling Tutorial Sending Message
iOS
Swift
Android
Java
macOS
Swift
windows
C++
Web
javascript
Linux
C++
Java
Java
Open Duo
Android
Java
iOS
Objective-C