Guide Overview
Every guide of the webrtc-java library, in the order of the sidebar. New to the library? Start with Getting Started.
Introduction
- Introduction - What the library is, and which of its two APIs to use
- Getting Started - Installation and a first call with the client API
- Core API - The same call with the core API, which leaves negotiation, threads and cleanup to you
Client API
- Client API - The runtime, closing, errors and reaching the core API
- Peers and Signaling - Creating peers, carrying their messages, connection state and ICE recovery
- Threads - Where handlers run, limiting threads and the UI thread
- Sending Media - Cameras, microphones, screens, files and pushed audio and video
- Receiving Media - Remote tracks, video frames, video views, audio and recording
- Transforms and Encryption - Encoded transforms and end-to-end encryption of a peer's media
- Data Channels - Messages between peers, flow control and channel options
- WHIP and WHEP - Publishing to and playing from media servers
- Statistics and Call Checks - Connection statistics, diagnosis and checks before a call
Media Basics
- Media Devices - Listing microphones, speakers and cameras, and following hotplug events
- Media Constraints - Bitrate, frame rate, resolution, simulcast and priorities of what is sent
- Media Directionality - Send-only, receive-only and inactive transceivers
- Media Files - Sending video and audio files instead of a camera and microphone
- Media Recording - Recording what a call sends or receives into a media file, into rotating segments, or into a replay buffer, without re-encoding
Audio
- Audio Devices - Selecting and configuring audio devices
- Audio Processing - Echo cancellation, noise suppression, gain control and other voice processing
- Custom Audio Source - Sending audio your application produces
- System Audio Source - Sending what the system plays, beside a shared screen
- Headless Audio - Playout pull without touching real OS audio devices
- DTMF Sender - Sending DTMF tones in a call
Video
- Camera Video - Capturing video from cameras
- Desktop Video - Capturing and sharing screens and windows
- Custom Video Source - Sending video frames your application produces
Data Communication
- Data Channels - Sending and receiving arbitrary data between peers with the core API
- File Transfer - Sending files with progress, confirmation, checksum and resume
Networking and ICE
- Peer Connection Configuration - Candidate gathering, ICE checks, TURN, SRTP ciphers and other connection settings
- Port Allocator Configuration - Restricting ICE port ranges and controlling candidate gathering
Monitoring and Debugging
- RTC Stats - Monitoring connection quality and performance
- Logging - Configuring and using the logging system
Advanced
- Field Trials - Enabling experimental features and tuning WebRTC internals
- Encoded Transforms - Reading and changing encoded frames, e.g. for end-to-end encryption
- End-to-End Encryption - Encrypting a call so that servers forward media they cannot read
- Video Codecs - Hardware codecs, adding video codecs implemented in Java, or limiting the built-in ones
- Audio Codecs - Limiting and ordering the built-in audio codecs
- GraalVM Native Image - A single executable that needs no installed Java runtime
Background
- Client API Design - The decisions behind the client API, its threading model and its full API surface
- Build Notes - Building the library from source
