初始化
This commit is contained in:
30
docs/scheme.md
Normal file
30
docs/scheme.md
Normal file
@@ -0,0 +1,30 @@
|
||||
```
|
||||
+--------------------------+ +------------------------------+
|
||||
| Android device | | Server |
|
||||
| | | |
|
||||
| +----------------------+ | | +--------------------------+ |
|
||||
| | adb | | Run scrcpy | | adb (client) | |
|
||||
| | |<---------------| | |
|
||||
| | (usb/tcp) | | | | | |
|
||||
| +----------------------+ | | +--------------------------+ |
|
||||
| | | |
|
||||
| +----------------------+ | | +--------------------------+ |
|
||||
| | scrcpy | | | | nodejs | |
|
||||
| | | | | | | |
|
||||
----| (ws://0.0.0.0:8886/) | | | | (http://0.0.0.0:8000/) |----
|
||||
| | +----------------------+ | | +--------------------------+ | |
|
||||
| +--------------------------+ +------------------------------+ |
|
||||
| |
|
||||
| |
|
||||
| |
|
||||
| |
|
||||
| |
|
||||
| HTTP: |
|
||||
| +------------------------------+ < static (html, js...)|
|
||||
|Web-socket: | Client | |
|
||||
|< Input events | | Web-socket: |
|
||||
|> Video stream | +--------------------------+ | < Device list |
|
||||
-------------------| Web-browser |-----------------------------
|
||||
| +--------------------------+ |
|
||||
+------------------------------+
|
||||
```
|
||||
Reference in New Issue
Block a user