try with snapcraft hooks
parent
4e28bfbe02
commit
3b17aa6bfb
@ -0,0 +1,4 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
rtsp_port="$(snapctl get rtsp-port)"
|
||||
echo "rtsp_port:$rtsp_port"
|
@ -0,0 +1,4 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
snapctl set rtsp-port=554
|
||||
snapctl set devices=/dev/video0
|
Loading…
Reference in New Issue