readme update with cli server ip
This commit is contained in:
@@ -1,5 +1,41 @@
|
|||||||
# smalltalk
|
# smalltalk
|
||||||
|
|
||||||
|
## build and run client
|
||||||
|
|
||||||
|
Usage:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cargo run -p client --release -- --server-ip <SERVER_IP>
|
||||||
|
```
|
||||||
|
|
||||||
|
Options:
|
||||||
|
|
||||||
|
```
|
||||||
|
-s, --server-ip <SERVER_IP>
|
||||||
|
-h, --help Print help
|
||||||
|
-V, --version Print version
|
||||||
|
```
|
||||||
|
|
||||||
|
## build and run server
|
||||||
|
|
||||||
|
before, open port `8080` tcp/udp
|
||||||
|
|
||||||
|
Usage:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cargo run -p server --release -- [OPTIONS]
|
||||||
|
```
|
||||||
|
|
||||||
|
Options:
|
||||||
|
|
||||||
|
```
|
||||||
|
-s, --server-ip <SERVER_IP> [default: 0.0.0.0:8080]
|
||||||
|
-h, --help Print help
|
||||||
|
-V, --version Print version
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
I think it will be based on:
|
I think it will be based on:
|
||||||
|
|
||||||
- `tokio`: async and network connection
|
- `tokio`: async and network connection
|
||||||
@@ -7,17 +43,3 @@ I think it will be based on:
|
|||||||
- `opus`: encoding and decoding audio stream
|
- `opus`: encoding and decoding audio stream
|
||||||
- `ffmpeg-next`: capturing, encoding and decoding video stream
|
- `ffmpeg-next`: capturing, encoding and decoding video stream
|
||||||
- `egui` + `eframe`: ui
|
- `egui` + `eframe`: ui
|
||||||
|
|
||||||
## running client
|
|
||||||
|
|
||||||
```bash
|
|
||||||
cargo run -p client
|
|
||||||
```
|
|
||||||
|
|
||||||
## running server
|
|
||||||
|
|
||||||
open port `8080` tcp/udp and run
|
|
||||||
|
|
||||||
```bash
|
|
||||||
cargo run -p server
|
|
||||||
```
|
|
||||||
|
|||||||
Reference in New Issue
Block a user