Raspberry pi UV4L(RPi)-与Janus WebRTC举行会议

Raspberry pi UV4L(RPi)-与Janus WebRTC举行会议,raspberry-pi,webrtc,uv4l,Raspberry Pi,Webrtc,Uv4l,我尝试了“与Janus WebRTC网关的音频/视频会议”页面。除了将“观看来自其他参与者的实时音频和视频”设置为“是”之外,我将所有内容都保留为默认设置。然后,我从Chrome浏览器(我的笔记本电脑)加入了Janus视频室页面的“”。我可以在页面上看到我笔记本电脑摄像头的流媒体,但没有RPi的流媒体。虽然它显示了RPI摄像机每秒变化的流波特率,但它不显示视频。此外,当我说话时,我会听到来自RPi扬声器的声音,因此RPi肯定已连接,但无法正确传输视频。有什么想法吗?提前谢谢 这也是我的raspi

我尝试了“与Janus WebRTC网关的音频/视频会议”页面。除了将“观看来自其他参与者的实时音频和视频”设置为“是”之外,我将所有内容都保留为默认设置。然后,我从Chrome浏览器(我的笔记本电脑)加入了Janus视频室页面的“”。我可以在页面上看到我笔记本电脑摄像头的流媒体,但没有RPi的流媒体。虽然它显示了RPI摄像机每秒变化的流波特率,但它不显示视频。此外,当我说话时,我会听到来自RPi扬声器的声音,因此RPi肯定已连接,但无法正确传输视频。有什么想法吗?提前谢谢

这也是我的raspicam.conf:

# This file contains the default values of SOME of all the available
# options for the UV4L core module, the raspicam driver, and the
# streaming server front-end.
#
# This file is referenced by the 'uv4l_raspicam' init script.
# Alternatively, it can be passed as argument to
# the '--driver-config-file' driver option and/or to the
# '--config-file' option of uv4l.
#
# Please refer to the 'uv4l', 'uv4l-raspicam' and 'uv4l-server' manual
# pages for all the valid options and values or for more informations
# about their meaning.

# NOTE: for multi argument options you must specify one arg per line,
# e.g --min-object-size 80 120 becomes:
# min-object-size = 80
# min-object-size = 120


##################################
# uv4l core options
##################################

driver = raspicam
# video_nr = 0
auto-video_nr = yes
# verbosity = 6
# syslog-host = localhost
# syslog-port = 514
# frame-timeout = 5000
frame-buffers = 4
# drop-bad-frames = yes
# relaxed-ownership = yes


##################################
# raspicam driver options
##################################

encoding = mjpeg
# width = 640
# height = 480
framerate = 30
#custom-sensor-config = 2

### dual camera options:
# stereoscopic-mode = side_by_side
# camera-number = 1
# decimate = yes
# swap-eyes = yes

### still and/or video options:
# quality = 85
# stills-denoise = yes
video-denoise = no
# raw = no

### h264 options:
# profile = high
# level = 4.2
# bitrate = 8000000
# intra-refresh-mode = dummy
# intra-period = #arg
# inline-headers = yes
# quantisation-parameter #arg

### video overlay options:
nopreview = no
fullscreen = no
# osd-layer = 2
# opacity = 255
### preview window <x, y, w, h>:
preview = 480
preview = 240
preview = 320
preview = 240

### post-processing options:
# text-overlay = yes
# text-filename = /usr/share/uv4l/raspicam/text.json
# object-detection = yes
# object-detection-mode = accurate_tracking
# min-object-size = 80
# min-object-size = 80
# main-classifier = /usr/share/uv4l/raspicam/lbpcascade_frontalface.xml
# secondary-classifier =/usr/share/uv4l/raspicam/lbpcascade_frontalface.xml

### image settings options:
# sharpness = 0
# contrast = 0
# brightness = 50
# saturation = 0
# iso = 400
# vstab = yes
# ev = 0
# exposure = auto
# awb = auto
# imgfx = none
# metering = average
# rotation = 0
# hflip = no
# vflip = no
# shutter-speed = 0
# drc = off
# red-gain = 100
# blue-gain = 100
# text-annotation = HelloWorld!
# text-annotation-background = yes
### ROI <x, y, w, h> normalized to [0, 1]
# roi = 0
# roi = 0
# roi = 1
# roi = 1
### ISP blocks
# black-level-compensation = yes
# lens-shading = yes
# automatic-defective-pixel-correlation = yes
# white-balance-gain = yes
# crosstalk = yes
# gamma = yes
# sharpening = yes

### TC358743 HDMI to MIPI converter options:
# tc358743 = no
# tc358743-i2c-dev = /dev/i2c-1
# tc358743-init-command = /usr/share/uv4l/raspicam/tc358743_init.sh
# tc358743-no-signal-fallthrough = no

### advanced options:
# statistics = yes
# output-buffers = 3

### serial Number & License Key:
# serial-number = #arg
# license-key = #arg


#################################
# streaming server options
#################################

### path to a separate config file that will be parsed by the streaming server
### module directly when it's loaded,
### in which you are allowed to specify all the streaming server options
### listed below in the short form "option=value" instead of the longer
### "--server-option = --option=value" form that you must use
### in this configuration file.
#server-config-file = #path

# server-option = --port=8080
# server-option = --bind-host-address=localhost
# server-option = --md5-passwords=no
# server-option = --user-password=myp4ssw0rd
# server-option = --admin-password=myp4ssw0rd
### To enable 'config' user authentication
# server-option = --config-password=myp4ssw0rd

### HTTPS options:
server-option = --use-ssl=yes
server-option = --ssl-private-key-file=/home/pi/selfsign.key
server-option = --ssl-certificate-file=/home/pi/selfsign.crt

### WebRTC options:
server-option = --enable-webrtc=yes
# server-option = --enable-webrtc-datachannels=yes
# server-option = --webrtc-datachannel-label=uv4l
# server-option = --webrtc-datachannel-socket=/tmp/uv4l.socket
server-option = --enable-webrtc-video=yes
server-option = --enable-webrtc-audio=yes
# server-option = --webrtc-receive-video=yes
# server-option = --webrtc-receive-datachannels=no
# server-option = --webrtc-received-datachannel-socket=/tmp/uv4l.socket
server-option = --webrtc-receive-audio=yes
server-option = --webrtc-received-audio-volume=10.0
# server-option = --webrtc-prerenderer-smoothing=yes
# server-option = --webrtc-recdevice-index=0
# server-option = --webrtc-vad=yes
# server-option = --webrtc-echo-cancellation=no
# server-option = --webrtc-preferred-vcodec=0
# server-option = --webrtc-enable-hw-codec=yes
# server-option = --webrtc-hw-vcodec-minbitrate=256
# server-option = --webrtc-hw-vcodec-maxbitrate=4000
# server-option = --webrtc-hw-vcodec-startbitrate=1200
server-option = --webrtc-max-playout-delay=34
# server-option = --webrtc-cpu-overuse-detection=no
# server-option = --webrtc-combined-audiovideo-bwe=no
# server-option = --webrtc-stun-urls=stun:stun.l.google.com:19302
# server-option = --webrtc-ice-servers=[{"urls": "stun:stun1.example.net"}, {"urls": "turn:turn.example.org", "username": "user", "credential": "myPassword"}]
# server-option = --webrtc-stun-server=yes
# server-option = --webrtc-tcp-candidate-policy=1
# server-option = --webrtc-rtcp-mux-policy=0
# server-option = --webrtc-enable-dscp=no
# server-option = --webrtc-ignore-loopback=yes
### video rendering window positions and sizes on the display.
### for each window, default values can be optionally overridden, but if you
### do this you must specify one line for each of the four x, y, width, height
### window properties (in that order).
### If fullscreen is set the image is stretched to the maximum available display
### resolution from the specified size.
### window 1
# server-option = --webrtc-renderer-window=0
# server-option = --webrtc-renderer-window=0
# server-option = --webrtc-renderer-window=480
# server-option = --webrtc-renderer-window=352
# server-option = --webrtc-renderer-fullscreen=no
# server-option = --webrtc-renderer-rotation=180
# server-option = --webrtc-renderer-opacity=255
### window 2
# server-option = --webrtc-renderer2-window=480
# server-option = --webrtc-renderer2-window=0
# server-option = --webrtc-renderer2-window=320
# server-option = --webrtc-renderer2-window=240
### window 3
# server-option = --webrtc-renderer3-window=0
# server-option = --webrtc-renderer3-window=352
# server-option = --webrtc-renderer3-window=176
# server-option = --webrtc-renderer3-window=128

### XMPP options:
# server-option = --xmpp-server=lambada.jitsi.net
# server-option = --xmpp-port=5222
# server-option = --xmpp-muc-domain=meet.jit.si
# server-option = --xmpp-room=room
# server-option = --xmpp-room-password=room_password
# server-option = --xmpp-username=me
# server-option = --xmpp-password=mypassword
# server-option = --xmpp-reconnect=yes
# server-option = --xmpp-bosh-enable
# server-option = --xmpp-bosh-tls
# server-option = --xmpp-bosh-server
# server-option = --xmpp-bosh-port
# server-option = --xmpp-bosh-hostname
# server-option = --xmpp-bosh-path
# server-option = --xmpp-bridge-host=localhost
# server-option = --xmpp-bridge-port=7999

### Janus WebRTC Gateway options:
# server-option = --janus-gateway-url=http://janus.conf.meetecho.com:8088
# server-option = --janus-gateway-root=/janus
# server-option = --janus-room=1234
# server-option = --janus-room-pin=#pin
# server-option = --janus-username=test
# server-option = --janus-token=#token
# server-option = --janus-proxy-host=#host
# server-option = --janus-proxy-port=80
# server-option = --janus-proxy-username=#user
# server-option = --janus-proxy-password=#password
# server-option = --janus-proxy-bypass=#regex
# server-option = --janus-force-hw-vcodec=no
# server-option = --janus-video-format=#code
# server-option = --janus-publish=yes
# server-option = --janus-subscribe=no
# server-option = --janus-reconnect=yes

### Fine-tuning options:
# server-option = --connection-timeout=15
# server-option = --enable-keepalive=yes
# server-option = --max-keepalive-requests=0
# server-option = --keepalive-timeout=7
# server-option = --max-queued-connections=8
# server-option = --max-streams=3
# server-option = --max-threads=5
# server-option = --thread-idle-time=10
# server-option = --chuncked-transfer-encoding=yes

### Advanced options:
# server-option = --frame-timeout=5000
# server-option = --frame-buffers=auto

### These options are specific to the HTTP/HTTPS Server
### serving custom Web pages only:
server-option = --enable-www-server=yes
server-option = --www-root-path=/usr/share/uv4l/demos/facedetection/
server-option = --www-index-file=index.html
server-option = --www-port=443
# server-option = --www-bind-host-address=#host
# server-option = --www-password=#password
server-option = --www-use-ssl=yes
server-option = --www-ssl-private-key-file=/home/pi/selfsign.key
server-option = --www-ssl-certificate-file=/home/pi/selfsign.crt
# server-option = --www-connection-timeout=15
# server-option = --www-enable-keepalive=no
# server-option = --www-max-keepalive-requests=0
# server-option = --www-keepalive-timeout=7
# server-option = --www-max-queued-connections=8
# server-option = --www-max-threads=4
# server-option = --www-thread-idle-time=10
# server-option = --www-chuncked-transfer-encoding=no
# server-option = --www-set-etag-header=yes
server-option = --www-webrtc-signaling-path=/webrtc

### Other options:
# server-option = --editable-config-file=#path
# server-option = --enable-control-panel=yes
# server-option = --enable-rest-api=yes
#此文件包含一些可用文件的默认值
#UV4L核心模块、raspicam驱动程序和
#流式服务器前端。
#
#“uv4l_raspicam”初始化脚本引用了此文件。
#或者,它可以作为参数传递给
#“--driver config file”驱动程序选项和/或
#uv4l的“--config file”选项。
#
#请参阅“uv4l”、“uv4l光栅”和“uv4l服务器”手册
#所有有效选项和值或更多信息的页面
#关于他们的意思。
#注意:对于多参数选项,每行必须指定一个参数,
#例如--最小对象大小80 120变为:
#最小对象大小=80
#最小对象大小=120
##################################
#uv4l核心选项
##################################
驱动器=锉刀
#视频\u nr=0
自动视频\u nr=是
#冗长=6
#syslog host=localhost
#syslog端口=514
#帧超时=5000
帧缓冲区=4
#删除坏帧=是
#放松所有权=是
##################################
#raspicam驱动程序选项
##################################
编码=mjpeg
#宽度=640
#高度=480
帧率=30
#自定义传感器配置=2
###双摄像头选项:
#立体模式=并排
#摄像机编号=1
#抽取=是
#交换眼睛=是
###静止和/或视频选项:
#质量=85
#静物去噪=是
视频去噪=否
#原始=否
###h264选项:
#轮廓=高
#级别=4.2
#比特率=8000000
#帧内刷新模式=虚拟
#期内=#arg
#内联标题=是
#量化参数#arg
###视频覆盖选项:
nopreview=否
全屏=否
#osd层=2
#不透明度=255
###预览窗口:
预览=480
预览=240
预览=320
预览=240
###后处理选项:
#文本覆盖=是
#text filename=/usr/share/uv4l/raspicam/text.json
#目标检测=是
#目标检测模式=精确跟踪
#最小对象大小=80
#最小对象大小=80
#主分类器=/usr/share/uv4l/raspicam/lbpcascade_frontalface.xml
#二级分类器=/usr/share/uv4l/raspicam/lbpcascade_frontalface.xml
###图像设置选项:
#锐度=0
#对比度=0
#亮度=50
#饱和度=0
#iso=400
#vstab=是
#ev=0
#曝光=自动
#自动
#imgfx=无
#计量=平均值
#旋转=0
#hflip=否
#vflip=否
#快门速度=0
#drc=关闭
#红色增益=100
#蓝色增益=100
#text annotation=HelloWorld!
#文本注释背景=是
###ROI标准化为[0,1]
#投资回报率=0
#投资回报率=0
#投资回报率=1
#投资回报率=1
###ISP块
#黑电平补偿=是
#镜头着色=是
#自动缺陷像素相关性=是
#白平衡增益=是
#串扰=是
#伽马=是
#锐化=是
###TC358743 HDMI到MIPI转换器选项:
#tc358743=否
#tc358743-i2c-dev=/dev/i2c-1
#tc358743 init命令=/usr/share/uv4l/raspicam/tc358743_init.sh
#tc358743无信号故障=无
###高级选项:
#统计=是
#输出缓冲区=3
###序列号和许可证密钥:
#序列号=#arg
#许可证密钥=#arg
#################################
#流式服务器选项
#################################
###流服务器将解析的单独配置文件的路径
###模块直接加载时,
###其中允许您指定所有流媒体服务器选项
###下面以简短形式“option=value”列出,而不是较长形式
###“--server option=--option=value”必须使用的表单
###在这个配置文件中。
#服务器配置文件=#路径
#服务器选项=--端口=8080
#服务器选项=--绑定主机地址=本地主机
#服务器选项=--md5密码=否
#服务器选项=--用户密码=myp4ssw0rd
#服务器选项=--管理员密码=myp4ssw0rd
###要启用“配置”用户身份验证
#服务器选项=--config password=myp4ssw0rd
###HTTPS选项:
服务器选项=--使用ssl=是
服务器选项=--ssl私钥文件=/home/pi/selfsign.key
服务器选项=--ssl证书文件=/home/pi/selfsign.crt
###WebRTC选项:
服务器选项=--启用webrtc=是
#服务器选项=--启用webrtc数据通道=是
#服务器选项=--webrtc数据通道标签=uv4l
#服务器选项=--webrtc数据通道套接字=/tmp/uv4l.socket
服务器选项=--启用webrtc视频=是
服务器选项=--启用webrtc音频=是
#服务器选项=--webrtc接收视频=是
#服务器选项=--webrtc接收数据通道=否
#服务器选项=--webrtc接收到的数据通道套接字=/tmp/uv4l.socket
服务器选项=--webrtc接收音频=是
服务器选项=--webrtc接收的音频音量=10.0
#服务器选项=--webrtc预渲染器平滑=是
#服务器选项=--webrtc recdevice索引=0
#服务器选项=--webrtc vad=是
#服务器选项=--webrtc回显取消=否
#服务器选项=--webrtc首选vcodec=0
#服务器选项=--webrtc启用hw编解码器=是
#服务器选项=--webrtc hw vcodec最小比特率=256
#服务器选项=--webrtc hw vcodec maxbitrate=4000
#服务器选项=--webrtc hw vcodec STARTBIRTATE=1200
服务器选项=--webrtc最大播放延迟=34
#服务器选项=--webrtc cpu过度使用检测=否
#服务器选项=--webrtc组合音视频bwe=否
#服务器选项=--webrtc stun url=stun:stun.l.google.com:19302
#服务器选项=--webrtc ice服务器=[{“URL”