mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-02-18 02:55:46 +00:00
15 lines
298 B
Bash
Executable File
15 lines
298 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
[ -n "$EDID" ] && {
|
|
[ -n "$EDID_HEX" ] && echo "$EDID_HEX" > /edid.hex
|
|
while true; do
|
|
v4l2-ctl --device=/dev/video0 --set-edid=file=/edid.hex --fix-edid-checksums --info-edid && break
|
|
echo 'Failed to set EDID. Reetrying...'
|
|
sleep 1
|
|
done
|
|
}
|
|
|
|
./ustreamer --host=0.0.0.0 $@
|