Larix mobile apps and SDK for Android
Android apps and SDK for capturing and streaming
Softvelum provides a set of mobile streaming development tools for creating user-generated mobile media on Android.
Minimum supported Android version is 4.1 (Jelly Bean), API 16+.
Encode and stream content with Larix streaming library
We provide streaming library with the apps framework to use it properly.
Key content streaming features include:
- Interleaved H.264 (AVC) video and AAC audio encoding.
- H.265 (HEVC) video encoding on supporting devices.
- RTMP and RTSP publishing over TCP.
- RTMPS and RTSPS support - RTMP and RTSP over SSL
- SRT via UDP in Push (Caller) mode with errors recovery and encryption, library version 1.4.1
- Basic and Digest authentication for RTSP and RTMP.
- HEVC over RTMP is supported as non-standard experimental feature.
- Multiple simultaneous connections to several destinations.
- Pause the stream: long tap on Start will pause the stream without disconnecting it.
Video track will contain a black screen, audio track will contain silence.
- Full support for Facebook Live, YouTube Live, Twitch, Wowza Streaming Cloud, Periscope Producer, Dacast, Akamai, Limelight CDN and other online services.
Check docs reference for setup instructions.
- Watch connections setup video tutorial
- Logarithmic descend - gracefully descend from max bitrate down step by step. Retries to raise back to previous step every minute. Best fit for good networks.
- Ladder ascend - first cut bitrate by 2/3 and increase it back to normal as much as possible. Retries to raise back to previous steps in 15 seconds, 1.5 and then 5 minutes. Best fit for networks with big losses.
- Variable FPS can be used as an option, it will reduce bitrate by decreasing FPS in addition to changing the bitrate value. Notice that it heavily depends on your device' capabilities and may not work on some hardware.
Larix Broadcaster free app
You can use streaming capabilities for free using our fully-functional Larix Broadcaster apps.
Besides encoding and streaming features, Larix Broadcaster uses full power of mobile devices:
- All features of Larix streaming library
- Landscape and portrait various modes support with device dynamic orientation.
- "Always vertical" and "Always horizontal" modes.
- Watch image and stream rotation tutorial.
- Front and back cameras with hot switch.
- Multi-camera support for Android 10+: you can choose which physical and logical cameras to flip between.
- Video+audio, video only and audio only modes.
- Background streaming when app is not in focus. Watch video tutorial to see it in action.
- Both fixed and variable FPS are supported, full list of supported FPS values is created specifically for each user device.
- Full camera control - focus, exposure, white balance, anti-flicker etc.
- Recording stream to file, making split files and saving screenshots.
On Android 8+ it's possible to select any folder, including SD cards.
- Custom volume key function setup via Settings / Advanced options / Volume keys menu.
- Bluetooth audio.
- Flash light.
Larix Grove format allows easily distribute your connection and encoder settings via deep links and QR codes.
OTG USB camera support. MJPEG and YUYV formats of USB cameras are supported.
Visit documentation reference to learn more about Larix Broadcaster setup and usage.
The APK for Larix Broadcaster can be downloaded here.
Larix Screencaster free app
Android allows capturing the screen of user device, so Larix Screencaster uses streaming capabilities to capture the screen, encode and stream it.
- All features of Larix streaming library.
- Encode screen content in H.264/AVC and H.265/HEVC.
- On Android 10, record audio from apps which support external recording. Choose Audio -> Sound settings -> Media sounds.
- Select sample rate and stereo/mono for audio.
- Saving the stream to file.
- Larix Grove support.
The APK for Larix Screencaster can be downloaded here.
Visit documentation reference to learn more about Larix Screencaster setup.
Larix premium SDK
You can get Larix library, free apps and other source code examples by subscribing to our SDKs.
This means you can create your own mobile solutions and customize our solutions to your streaming use cases and scenarios.
Source code examples of SDK include the following
- LarixSample - Larix Broadcaster app source code.
- LarixScreencast - Larix Screencaster uses Media Projection API to capture and broadcast device screen.
- EncodeAndMuxTest - draw simple animation using OpenGL surface, encode it and broadcast.
- Camera2demo - use Camera2 API to get preview, apply sepia filter, encode processed image and broadcast it.
- BackgroundCamera - advanced example of camera implementation on app side: record camera preview and broadcast from background service; draw logo and text.
Documentation and FAQ
- Visit documentation reference page to learn more about Larix apps setup and usage.
- Larix apps and SDK FAQ has most popular questions about mobile streaming technologies.
- Watch our YouTube playlist with various video tutorials.
- Check SDK releases history page to see the latest updates.
This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit.
This software uses libuvc library and libusb libraries.This software is based in part on the work of the Independent JPEG Group.
If you need not only to produce but to play live stream on your mobile device, check out Larix Player for Android and iOS.