公式がdockerでの環境構築推しなので……
docker run -d --restart always \ --name restreamer \ -e "RS_USERNAME=user" -e "RS_PASSWORD=pass" -e "RS_MODE=USBCAM" \ -p 9696:9696 \ -v /mnt/restreamer/db:/restreamer/db \ --device /dev/video0:/dev/video \ datarhei/restreamer-armv7l:latest
rtmp://127.0.0.1/live/usbcam.stream
<iframe src="http://192.168.X.Y:8080/player.html" name="restreamer-player" width="800" height="450" scrolling="no" frameborder="0" webkitallowfullscreen="true" mozallowfullscreen="true" allowfullscreen="true"></iframe>
エラー:
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested 5dae6537936c79f093637ebe3a56aa171d6cbbf16c4eb8b8ff5e5744d382a6de
とか出た場合、プラットフォーム違いです。
今回の場合、RasPiなのでPC版の
datarhei/restreamer:latest
ではなく、
datarhei/restreamer-armv7l:latest
に直します