Error of video service: Failed to create capturer #890

Closed
opened 2026-02-20 23:13:08 -05:00 by deekerman · 1 comment
Owner

Originally created by @xhzth70911 on GitHub (Oct 27, 2022).

macos12.3,xcode13.3,rustc 1.62.0

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.3.5, on macOS 12.3 21E230 darwin-x64, locale zh-Hans-CN)
[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for
      detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
[✓] Chrome - develop for the web
[!] Android Studio (not installed)
[✓] VS Code (version 1.72.2)
[✓] Connected device (2 available)

https://rustdesk.com/docs/en/dev/build/osx/
I successfully built according to the document, but when the iOS device is connected to the Macos, the iOS cannot see the Macos image, The iOS version is downloaded from the App Store, mac OS reports an error:

ERROR librustdesk::server::service] Error of video service: Failed to create capturer
ERROR librustdesk::server::service] Error of audio service: Failed to get default input format

Finished dev [unoptimized + debuginfo] target(s) in 1.06s
     Running `target/debug/rustdesk`
[2022-10-27T09:04:28Z INFO  librustdesk::server] server not started (will try to start): Connection refused (os error 61)
[2022-10-27T09:04:28Z INFO  librustdesk::rendezvous_mediator] start rendezvous mediator of rs-ny.rustdesk.com
[2022-10-27T09:04:28Z INFO  librustdesk::rendezvous_mediator] start rendezvous mediator of rs-sg.rustdesk.com
[2022-10-27T09:04:28Z INFO  librustdesk::rendezvous_mediator] start rendezvous mediator of rs-cn.rustdesk.com
[2022-10-27T09:04:28Z INFO  librustdesk::common] Testing nat ...
[2022-10-27T09:04:28Z INFO  librustdesk::ipc] Started ipc server at path: /tmp/RustDesk/ipc
INFO:TIS: scaleFactor 1
INFO:TIS: current platform: OSX
INFO:TIS: is_xfce:  false
[2022-10-27T09:04:29Z INFO  librustdesk::server] #1 try: failed to connect to ipc_service
[2022-10-27T09:04:29Z INFO  librustdesk::common] Tested nat type: ASYMMETRIC in 331.470924ms
[2022-10-27T09:04:29Z INFO  librustdesk::server] #2 try: failed to connect to ipc_service
[2022-10-27T09:04:30Z INFO  librustdesk::server] #3 try: failed to connect to ipc_service
[2022-10-27T09:04:30Z WARN  librustdesk::server] skipped config sync
[2022-10-27T09:04:47Z INFO  librustdesk::server] Server listening on: 192.168.199.124:56275
[2022-10-27T09:04:49Z INFO  librustdesk::ipc] Started ipc_cm server at path: /tmp/RustDesk/ipc_cm
INFO:TIS: scaleFactor 1
INFO:TIS: new connection #1: 662086568
[2022-10-27T09:04:53Z INFO  librustdesk::server::video_service] In privacy mode, the peer side cannot watch the screen
[2022-10-27T09:04:53Z INFO  librustdesk::server::service] Call snapshot of audio service
[2022-10-27T09:04:53Z INFO  librustdesk::server::service] Call snapshot of mouse_cursor service
[2022-10-27T09:04:53Z ERROR librustdesk::server::service] Error of video service: Failed to create capturer
[2022-10-27T09:04:53Z INFO  librustdesk::server::audio_service::cpal_impl] Input device: 
[2022-10-27T09:04:53Z ERROR librustdesk::server::service] Error of audio service: Failed to get default input format
[2022-10-27T09:04:53Z INFO  librustdesk::common] clipboard update found on host
[2022-10-27T09:04:53Z INFO  librustdesk::server::service] Call snapshot of clipboard service
[2022-10-27T09:04:53Z INFO  librustdesk::server::video_service] In privacy mode, the peer side cannot watch the screen
[2022-10-27T09:04:53Z ERROR librustdesk::server::service] Error of video service: Failed to create capturer

我按照这个网址,配置了 辅助功能 权限和 屏幕录制 权限,配置的是debug下面的Unix可执行文件
/Users/user/vcpkg/rustdesk/target/debug/rustdesk

https://rustdesk.com/docs/zh-cn/manual/mac/#%E5%90%AF%E7%94%A8%E6%9D%83%E9%99%90
9BFC09CD-7518-4F01-8A52-298F531BD49D

9FBBC428-7019-4B97-9B2E-1198FBA2C0F5

我配置完成以后,重启软件,cargo run,用在App Store下载的rustdesk iOS的设备连接,macos报错,用你的rustdesk 官网 macos的dmg版本就可以正常远程操控,这个问题,需要怎么解决,谢谢
ERROR librustdesk::server::service] Error of video service: Failed to create capturer
ERROR librustdesk::server::service] Error of audio service: Failed to get default input format

Originally created by @xhzth70911 on GitHub (Oct 27, 2022). macos12.3,xcode13.3,rustc 1.62.0 ``` flutter doctor Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.3.5, on macOS 12.3 21E230 darwin-x64, locale zh-Hans-CN) [✗] Android toolchain - develop for Android devices ✗ Unable to locate Android SDK. Install Android Studio from: https://developer.android.com/studio/index.html On first launch it will assist you in installing the Android SDK components. (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions). If the Android SDK has been installed to a custom location, please use `flutter config --android-sdk` to update to that location. [✓] Xcode - develop for iOS and macOS (Xcode 13.3) [✓] Chrome - develop for the web [!] Android Studio (not installed) [✓] VS Code (version 1.72.2) [✓] Connected device (2 available) ``` https://rustdesk.com/docs/en/dev/build/osx/ I successfully built according to the document, but when the iOS device is connected to the Macos, the iOS cannot see the Macos image, The iOS version is downloaded from the App Store, mac OS reports an error: ERROR librustdesk::server::service] Error of video service: Failed to create capturer ERROR librustdesk::server::service] Error of audio service: Failed to get default input format ``` Finished dev [unoptimized + debuginfo] target(s) in 1.06s Running `target/debug/rustdesk` [2022-10-27T09:04:28Z INFO librustdesk::server] server not started (will try to start): Connection refused (os error 61) [2022-10-27T09:04:28Z INFO librustdesk::rendezvous_mediator] start rendezvous mediator of rs-ny.rustdesk.com [2022-10-27T09:04:28Z INFO librustdesk::rendezvous_mediator] start rendezvous mediator of rs-sg.rustdesk.com [2022-10-27T09:04:28Z INFO librustdesk::rendezvous_mediator] start rendezvous mediator of rs-cn.rustdesk.com [2022-10-27T09:04:28Z INFO librustdesk::common] Testing nat ... [2022-10-27T09:04:28Z INFO librustdesk::ipc] Started ipc server at path: /tmp/RustDesk/ipc INFO:TIS: scaleFactor 1 INFO:TIS: current platform: OSX INFO:TIS: is_xfce: false [2022-10-27T09:04:29Z INFO librustdesk::server] #1 try: failed to connect to ipc_service [2022-10-27T09:04:29Z INFO librustdesk::common] Tested nat type: ASYMMETRIC in 331.470924ms [2022-10-27T09:04:29Z INFO librustdesk::server] #2 try: failed to connect to ipc_service [2022-10-27T09:04:30Z INFO librustdesk::server] #3 try: failed to connect to ipc_service [2022-10-27T09:04:30Z WARN librustdesk::server] skipped config sync [2022-10-27T09:04:47Z INFO librustdesk::server] Server listening on: 192.168.199.124:56275 [2022-10-27T09:04:49Z INFO librustdesk::ipc] Started ipc_cm server at path: /tmp/RustDesk/ipc_cm INFO:TIS: scaleFactor 1 INFO:TIS: new connection #1: 662086568 [2022-10-27T09:04:53Z INFO librustdesk::server::video_service] In privacy mode, the peer side cannot watch the screen [2022-10-27T09:04:53Z INFO librustdesk::server::service] Call snapshot of audio service [2022-10-27T09:04:53Z INFO librustdesk::server::service] Call snapshot of mouse_cursor service [2022-10-27T09:04:53Z ERROR librustdesk::server::service] Error of video service: Failed to create capturer [2022-10-27T09:04:53Z INFO librustdesk::server::audio_service::cpal_impl] Input device: [2022-10-27T09:04:53Z ERROR librustdesk::server::service] Error of audio service: Failed to get default input format [2022-10-27T09:04:53Z INFO librustdesk::common] clipboard update found on host [2022-10-27T09:04:53Z INFO librustdesk::server::service] Call snapshot of clipboard service [2022-10-27T09:04:53Z INFO librustdesk::server::video_service] In privacy mode, the peer side cannot watch the screen [2022-10-27T09:04:53Z ERROR librustdesk::server::service] Error of video service: Failed to create capturer ``` 我按照这个网址,配置了 辅助功能 权限和 屏幕录制 权限,配置的是debug下面的Unix可执行文件 /Users/user/vcpkg/rustdesk/target/debug/rustdesk https://rustdesk.com/docs/zh-cn/manual/mac/#%E5%90%AF%E7%94%A8%E6%9D%83%E9%99%90 ![9BFC09CD-7518-4F01-8A52-298F531BD49D](https://user-images.githubusercontent.com/24982706/198248667-5942bab2-6128-474a-8972-b5412d504aaa.png) ![9FBBC428-7019-4B97-9B2E-1198FBA2C0F5](https://user-images.githubusercontent.com/24982706/198248922-31c59db0-25b4-4d50-9af3-f8acb4a27b18.png) 我配置完成以后,重启软件,cargo run,用在App Store下载的rustdesk iOS的设备连接,macos报错,用你的rustdesk 官网 macos的dmg版本就可以正常远程操控,这个问题,需要怎么解决,谢谢 ERROR librustdesk::server::service] Error of video service: Failed to create capturer ERROR librustdesk::server::service] Error of audio service: Failed to get default input format
deekerman 2026-02-20 23:13:08 -05:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@rustdesk commented on GitHub (Oct 27, 2022):

#763

@rustdesk commented on GitHub (Oct 27, 2022): #763
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rustdesk-rustdesk#890
No description provided.