No description, website, or topics provided.
Branch: master
Clone or download
Latest commit 0a095be Jan 3, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
app update readme (#4) Oct 8, 2018
gradle/wrapper Init code check in Jun 4, 2018
libcamera clean up unnecessary log lines (#5) Oct 8, 2018
.gitignore Init code check in Jun 4, 2018 Update Jan 3, 2019
build.gradle Init code check in Jun 4, 2018 Init code check in Jun 4, 2018
gradlew Init code check in Jun 4, 2018
gradlew.bat Init code check in Jun 4, 2018
settings.gradle Init code check in Jun 4, 2018


An example app for live streaming from an Android device using the Mux live streaming service, written in Java and C++ GitHub license


This repo includes two main components:

  • A sample application, located under /app, which includes a simple UI to configure and stream your live stream.
  • A lower-level moduled, under /libcamera, providing all of the live capture and live streaming functionality.

The libcamera module supports the following features:

  • Integration with Android's Camera 2 API
  • Landscape and portrait video capture
  • Application pause and resume
  • Force screen to stay on while capture is active
  • Configuration of video and audio encoding settigns
  • Minimum Android API level 9

The libcamera module is built on, and encapsulates, the following third-party libraries:

Quick Start

Clone this repo locally, and then load the application from the root directory in Android Studio 3.0+.

Run the application. There will be buttons at the bottom of the screen to start/stop live capture.


  • app contains the demo application

  • libcamera is the functional module



example-android-live-streaming and MuxLive are available under the MIT license, see the LICENSE file for more information.