ffmpeg-webrtc is an example app that demonstrates how to stream a h264 capable web cam via Pion WebRTC on linux based systems
Install v4l-utils
sudo apt-get install v4l-utils
Install ffmpeg
sudo apt-get install ffmpeg
Build
git clone https://github.com/dwoja22/ffmpeg-webrtc.git
cd ffmpeg-webrtc
go build
Run it
./ffmpeg-webrtc