Yasea is an Android client library that encodes camera and microphone input and streams H.264/AAC over RTMP.
Overview
Yasea (Yet Another Stream Encoder for Android) provides streaming components for Android apps. It takes YUV video and PCM audio from the device camera and microphone, encodes them to H.264 and AAC, wraps the result in FLV, and sends the stream over RTMP.
Documented capabilities include hardware encoding, RTMP streaming with state callbacks, portrait and landscape orientation changes, switching between front and rear cameras, recording to MP4 while streaming, GPUImage-based filters, and acoustic echo cancellation with automatic gain control.
Separate branches target devices without GL ES, older API levels, and AAC-HEv2 for YouTube live scenarios that differ from typical Flash players. Testing notes mention pointing the client at your own RTMP server such as SRS and tuning URL and bandwidth if latency appears high.
The project is structured as an Android SDK-style library for developers embedding live broadcast or recording features in mobile applications.
Key features
- H.264 and AAC hardware encoding
- RTMP streaming with callbacks
- Portrait and landscape orientation
- Front and back camera switching
- MP4 recording while streaming
- GPUImage filters
- Echo cancellation and gain control
Use cases
- Adding RTMP live streaming to an Android app
- Mobile broadcast with simultaneous local MP4 recording
- YouTube-oriented AAC-HEv2 streaming branches