Enable WHIP/WHEP support in FFmpeg using libdatachannel
4.5K
https://github.com/parallelcc/FFmpeg-WHIP-WHEP
This is a fork of the FFmpeg project that adds support for the WHIP (WebRTC-HTTP ingestion protocol) and WHEP (WebRTC-HTTP Egress Protocol) using libdatachannel.
WHIP
Default: H264 / OPUS
WHEP
docker run --rm -it -v $(pwd):/app \
parallelcc/ffmpeg-whip-whep:7.1.1 \
-re -i /app/input.mp4 -f whip -token <token> <whip_url>
docker run --rm -it -v $(pwd):/app \
parallelcc/ffmpeg-whip-whep:7.1.1 \
-f whep -token <token> -i <whep_url> \
-c:v libx264 -c:a aac /app/output.mp4
docker pull parallelcc/ffmpeg-whip-whep:latest