Skip to content

Commit cf0b9bc

Browse files
committed
refactor: Add client-gstreamer, reorganize repo and update deps
1 parent 6debe90 commit cf0b9bc

File tree

28 files changed

+18378
-1467
lines changed

28 files changed

+18378
-1467
lines changed

Cargo.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
[workspace]
2+
resolver = "2"
23
members = [
3-
"xal",
44
"smartglass",
5+
"gamestreaming_auth",
56
"gamestreaming_native",
67
"gamestreaming_webrtc",
7-
"teredo"
8-
]
8+
"teredo",
9+
"client_gstreamer",
10+
"client_sdl2"
11+
]

README.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,10 @@ cargo doc
1616

1717
### Fetch tokens
1818

19-
Graphical / via WebView
19+
CLI / Manually copying redirect URI
2020

2121
```text
22-
cargo run --bin auth-webview --features=webview
23-
```
24-
25-
CLI / Manually copying rdirect URI
26-
27-
```text
28-
cargo run --bin auth-cli --features=tokio
22+
cargo run --examples auth_gssv
2923
```
3024

3125
### Test Gssv Api
@@ -40,6 +34,8 @@ cargo run --example gssv-api
4034

4135
Note: Requires tokens (see above)
4236

37+
Writes audio/video tracks to file
38+
4339
```text
44-
cargo run --bin client-webrtc --features="xal webrtc-rs"
40+
cargo run --bin client_sdl2
4541
```

client_gstreamer/Cargo.toml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[package]
2+
name = "client_gstreamer"
3+
version = "0.1.0"
4+
edition = "2024"
5+
6+
[dependencies]
7+
gstreamer-webrtc = { version = "0.21.2", features = ["v1_16", "v1_18"] }
8+
async-std = "1.12.0"
9+
futures = "0.3.29"
10+
clap = { version = "4.4.11", features = ["derive"] }
11+
rand = "0.8.5"
12+
tokio = { version = "1", features = ["full"] }
13+
anyhow = "1"
14+
serde_json = "1"
15+
gamestreaming_webrtc = { path = "../gamestreaming_webrtc" }
16+
derive_more = { version = "2.0.1", features = ["error", "display"] }
17+
async-tungstenite = { version = "0.31.0", features = ["async-std", "async-std-runtime"] }
18+
serde = { version = "1", features = ["derive"] }

0 commit comments

Comments
 (0)