ws-qvh

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2021 License: MIT Imports: 17 Imported by: 0

README

ws qvh

Web Socket server for streaming the screen of iOS devices.

How it works?

  1. danielpaulus/quicktime_video_hack - video streaming
  2. appium/WebDriverAgent - device control
  3. NetrisTV/ws-scrcpy - user interface
  4. NetrisTV/ws-qvh - forwards the video stream over Web Socket

Steps to set up

  1. Get macOS (streaming only should also work on GNU/Linux)
  2. Connect a device, accept "Trust This Computer".
  3. Verify that you can record your device screen with QuickTime
  4. Install danielpaulus/quicktime_video_hack and verify that you can record your device screen with it
  5. Build sources: go build. This command will produce ws-qvh binary.
  6. Make sure your ws-qvh binary is available via the PATH environment variable.
  7. Setup and run ws-scrcpy. Follow the instructions here.
  8. Open link provided by ws-scrcpy in your browser.

Notes

  • Only video stream is transmitted (no audio).
  • WebDriverAgent can be started only after the start of video transmission (i.e. quicktime interface activation).
  • WebDriverAgent can take a long time to start.
  • Control capabilities are very limited (compared to scrcpy/ws-scrcpy):
    • single tap
    • home button click
    • swipe (this command will be sent only after the gesture is complete)
  • No way to customize stream parameters (bitrate, fps, video size, etc.)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL