Skip to content
Branch: master
Find file History
Latest commit c20d7dc Mar 10, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.

Live streaming on Android using JavaCV

This is just a copy of the flv example from the JavaCV iOS repo with a working build setup and some minor adjustments to push an RTMP stream to Mux. The only file that really matters here is just MainActivity, basically everything else is just Android Studio stuff to help you run it if you'd like.

The original example takes the devices camera and saves it to an FLV file. Instead, of writing to that FLV file, we push to our stream endpoint at Mux. This is the same process as using FFmpeg directly to publish an RTMP stream from the command line.


If you just want to get up and streaming as quickly as possible, all you need to do is replace the ffmpeg_link variable with your own Mux RTMP stream.

Mux features used


You can’t perform that action at this time.