桌面流(使用WebRTC的实时桌面和音频流到浏览器)错误

时间:2017-02-15 06:00:07

标签: raspberry-pi webrtc live-streaming uv4l

我想加载xscreen驱动程序。所以我打开一个终端并输入以下命令:

$uv4l --driver xscreen --auto-video_nr --display :0 --framerate 10 --server-option '--port=5678'

这是正常的结果:

raspberrypi ~ $ uv4l --driver xscreen --auto-video_nr --display :0 --framerate 10 --server-option '--port=9000'

[core] Trying driver 'xscreen' from built-in drivers...
[core] Driver 'xscreen' not found
[core] Trying driver 'xscreen' from external plug-in's...
[driver] Opening display: :0
[driver] Display open, screen 0: 640x480, depth: 24, bpp: 32, big endian: false
[driver] Specified capturing rectangle: (xorigin 0, yorigin 0, width 640, height 480)
[core] Device detected!
[core] Trying to load the the Streaming Server plug-in...
[server] HTTP Streaming & WebRTC Signalling Server v1.1.18 built on Apr 22 2015
[core] Streaming Server loaded!
[core] Cannot create /dev/video0 because file already exists
[core] Registering device node /dev/video1
[server] Web Streaming Server listening on port 9000

但我收到了这条消息:

 $ uv4l --driver xscreen --auto-video_nr --display :0 --framee 10 --server-option '--port=5678'

<notice> [core] Trying driver 'xscreen' from built-in drivers...
<warning> [core] Driver 'xscreen' not found
<notice> [core] Trying driver 'xscreen' from external plug-in's...
<warning> [core] /usr/lib/uv4l/libxscreen.so: undefined symbol: _ZN5boost11ththread5hiden9sleep_forERK8timespec
<alert> [core] No device detected

我的问题是什么? 请帮帮我!

1 个答案:

答案 0 :(得分:0)

将uv4l更新到最新版本,这将修复您的特定问题,但请考虑使用raspidisp驱动程序,因为它能够捕获您在屏幕上看到的任何内容,而不仅仅是x屏幕,并且速度更快,您还可以选择使用电脑键盘或智能手机控制屏幕,如vnc