Available SDKs
Choose the SDK that matches your platform:JavaScript SDK
For web applications and browsers. Supports WebRTC publish/play, data channels, and peer-to-peer connections.
Android SDK
Native Android SDK for mobile apps. Optimized for performance with hardware encoding/decoding support.
iOS SDK
Native iOS SDK for iPhone and iPad apps. Built with Swift/Objective-C compatibility.
React Native SDK
Cross-platform SDK for React Native apps on iOS and Android.
Flutter SDK
Cross-platform SDK for Flutter apps. Single codebase for iOS and Android.
Common Features
All SDKs provide the following core capabilities:- WebRTC Publishing: Stream video/audio from camera and microphone with ultra-low latency
- WebRTC Playback: Play live streams with sub-500ms latency
- Adaptive Bitrate: Automatic quality adjustment based on network conditions
- Data Channels: Send and receive real-time data alongside video streams
- Conference Room: Multi-party video conferencing support
- Peer-to-Peer: Direct WebRTC connections between clients
- Screen Sharing: Share screen content (platform dependent)
Getting Started
Integration Patterns
One-to-Many Broadcasting
Use WebRTC publishing on one device (broadcaster) and WebRTC playback on multiple devices (viewers) for ultra-low latency live streaming.Video Conferencing
Create conference rooms where multiple participants can publish and play each other’s streams simultaneously.Peer-to-Peer Calls
Establish direct WebRTC connections between two clients for one-on-one video calls.Server Requirements
To use the SDKs, you need:- Ant Media Server installed and running (Community or Enterprise Edition)
- SSL/TLS certificate configured (required for WebRTC in production)
- WebSocket enabled (default port: 5080 HTTP, 5443 HTTPS)
- TURN server configured for clients behind restrictive NATs (optional but recommended)
WebRTC requires HTTPS in production environments. Make sure to set up SSL/TLS certificates on your Ant Media Server. See the SSL setup guide for details.
Authentication
All SDKs support token-based authentication to secure your streams:Need Help?
- Community Support: GitHub Discussions
- Documentation: Each SDK has detailed documentation and examples
- Sample Apps: All SDKs include sample applications to help you get started
- Enterprise Support: Available with Enterprise Edition
Next Steps
REST API
Manage streams programmatically with the REST API
Security
Learn about token authentication and security features
Streaming Protocols
Understand WebRTC, RTMP, SRT, and HLS protocols
Clustering
Scale your application with cluster mode
