whipi
A minimal WHIP implementation for the Raspberry Pi. It sends Camera Mic to a WHIP endpoint.
Requires a Raspberry Pi with a PiCam and Java 11.
It acts as a thin shim between V4l2+Alsa and webRTC - built using various opensource libraries.
If you need to install java 11: sudo apt-get install -y galternatives openjdk-11-jdk
Running: First, configure your PiCam with v4l2 - You must use pixelformat 4 - H264
v4l2-ctl --set-fmt-video width=1920,height=1080,pixelformat=4 -d /dev/video0 --set-ctrl video_bitrate=1500000,h264_profile=1,repeat_sequence_header=1,rotate=0,h264_i_frame_period=150
Then test that Alsa is working (with arecord)
Run whipi like this: java -jar target/whipi-1.0-SNAPSHOT.jar ${WHIP_URL} ${WHIP_TOKEN}
${WHIP_TOKEN} is optional
This is very much a Work in Progress. PRs etc are most welcome.
Tim.
NOTE - this does not work on the just released version of raspios - (bullseye) - stick with the previous version (buster) untill they fix it.