📽 A C++ app that streams a video to an RTMP endpoint using libav
To run the app you would need Docker and make - Docker installation guide
git clone https://github.com/juniorxsound/libav-RTMP-Streaming.git
samples/
folderbuild
folder inside the root directorymake build
to create the Docker containermain.cpp
and change the video file name and RTMP server address in line 12Streamer streamer("samples/your_video_test_file.mp4", "rtmp://your_rtmp_streaming_endpoint");
make run
and if everything goes smooth, you should be live streaming your video file to the RTMP server ✨Thank you @kodabb for helping me get started with using libav and to @leandromoreira for posting helpful getting started tutorials and a Docker image (used in this repo).