2017-09-16 23 views

回答

0

不完全确定你打电话的意思,但听起来你只是想设置你的配置文件使用自定义页面的路径。我以前使用过uv4l face detection example作为参考。

从本质上说,你想改变你的uv4l-raspicam.conf服务器选项(或uv4l-uvc.conf,这取决于你的驱动程序使用)文件来使用你的文件的路径:

server-option = --enable-www-server=yes 
server-option = --www-root-path=/path/to/your/custom/page 
server-option = --www-index-file=index.html 
server-option = --www-port=80 # you can view your page by putting on your browser http://{RPi IP Address}:80 
server-option = --www-webrtc-signaling-path=/webrtc 

,然后重新启动使用sudo service uv4l_raspicam restart

注意服务:我相信你就必须有uv4l-raspicam-extras安装能够重新启动使用sudo service uv4l_raspicam restart服务器。