0
我需要在Raspberry Pi上创建自定义网页,使其具有与UV4L主页的第一个选项相同的功能“http:// {RPi IP地址}:8080/stream/webrtc” 如何使用javascript从网页拨打电话(视频和音频)到RPI? 谢谢。UV4L(RPi) - 自定义网页与“双向音频/视频”具有相同的功能
我需要在Raspberry Pi上创建自定义网页,使其具有与UV4L主页的第一个选项相同的功能“http:// {RPi IP地址}:8080/stream/webrtc” 如何使用javascript从网页拨打电话(视频和音频)到RPI? 谢谢。UV4L(RPi) - 自定义网页与“双向音频/视频”具有相同的功能
不完全确定你打电话的意思,但听起来你只是想设置你的配置文件使用自定义页面的路径。我以前使用过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
服务器。