Start here
Requirements
| Item | Requirement |
|---|---|
| Minimum OS | Android API 21 |
| Device ABI | Physical arm64-v8a device |
| Toolchain | Compile SDK 35 and Java 11 |
| Distribution | Verified nosmai-sdk-3.0.4.aar |
Available features
- Camera2 input and
NosmaiPreviewView - skin retouching, makeup, face shaping, and eye color
- local and cloud
.nosmaipackages, including games - manual and authored backgrounds
- processed MP4 recording
- external direct-I420 processing
- CPU frame callback and shared EGL texture output
- verified native Agora, LiveKit, and raw WebRTC streaming paths
Native Android still capture belongs to the application's Camera2 implementation in 3.0.4. Flutter provides higher-level capture through its native platform view.
Important ownership rules
Request camera permission before opening Camera2. Stop any previous controller before starting Nosmai. Camera device error 2 normally indicates that another session still owns the camera.
Next steps
- Apply beauty in Android
- Record video in Android
- Render frames off-screen in Android
- Choose an Android streaming integration
- Use Android with Agora
- Use Android with LiveKit
- Use Android with raw WebRTC