Mjpg-streamer init script doesn't work in multicam setup
|Reported by:||peter.vilhan@…||Owned by:||developers|
|Priority:||normal||Milestone:||Barrier Breaker 14.07|
there is some error in mjpg-streamer init.d script caused probably by quotations passed in arguments which blocks multicam setups.
When I configure second webcam in a new section of /etc/config/mjpg-streamer, service_start will start only the last one....
I was not able to solve this problem but here is a quick workaround which works fine (direct call of start-stop-daemon):
start-stop-daemon -q -S -b -m -p $SERVICE_PID_FILE -x $PROG -- --input "input_uvc.so --device $device --fps $fps --resolution $resolution --minimum_size $minimum_size --led $led" --output "output_http.so --port $port"
For more details, please find attached init.d script.
Is there anybody with working init script for multicam setup?