mirror of
https://github.com/VallierDev/uu-remote-linux.git
synced 2026-11-17 01:00:41 +01:00
The viewer assumed webrtc-rs's missing a=max-message-size meant 64 KB and refused larger port-mapping frames, stalling uploads after the first frame. Advertise 262144 in the answer sent to the viewer and vendor webrtc with a 256 KB data-channel receive buffer (upstream u16::MAX). Verified with the official Mac viewer: 20 MB upload 10 MB/s, 20 MB download and 5 concurrent downloads, checksums match. Docs and v0.1.4 notes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
60 lines
1.9 KiB
TOML
60 lines
1.9 KiB
TOML
[package]
|
|
name = "webrtc"
|
|
version = "0.10.1"
|
|
authors = ["Rain Liu <[email protected]>"]
|
|
edition = "2021"
|
|
description = "A pure Rust implementation of WebRTC API"
|
|
license = "MIT OR Apache-2.0"
|
|
documentation = "https://docs.rs/webrtc"
|
|
homepage = "https://webrtc.rs"
|
|
repository = "https://github.com/webrtc-rs/webrtc"
|
|
readme = "../README.md"
|
|
|
|
[dependencies]
|
|
data = { version = "0.8.1", path = "../data", package = "webrtc-data" }
|
|
dtls = { version = "0.9.0", path = "../dtls", package = "webrtc-dtls" }
|
|
ice = { version = "0.10.1", path = "../ice", package = "webrtc-ice" }
|
|
interceptor = { version = "0.11.0", path = "../interceptor" }
|
|
mdns = { version = "0.6.1", path = "../mdns", package = "webrtc-mdns" }
|
|
media = { version = "0.7.1", path = "../media", package = "webrtc-media" }
|
|
rtcp = { version = "0.10.1", path = "../rtcp" }
|
|
rtp = { version = "0.10.0", path = "../rtp" }
|
|
sctp = { version = "0.9.1", path = "../sctp", package = "webrtc-sctp" }
|
|
sdp = { version = "0.6.1", path = "../sdp" }
|
|
srtp = { version = "0.12.0", path = "../srtp", package = "webrtc-srtp" }
|
|
stun = { version = "0.5.1", path = "../stun" }
|
|
turn = { version = "0.7.1", path = "../turn" }
|
|
util = { version = "0.8.1", path = "../util", package = "webrtc-util" }
|
|
|
|
arc-swap = "1"
|
|
tokio = { version = "1.32.0", features = ["full"] }
|
|
log = "0.4"
|
|
async-trait = "0.1"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
rand = "0.8"
|
|
bytes = "1"
|
|
thiserror = "1"
|
|
waitgroup = "0.1"
|
|
regex = "1.9.5"
|
|
smol_str = { version = "0.2", features = ["serde"] }
|
|
url = "2"
|
|
rustls = { version = "0.21", features = ["dangerous_configuration"]}
|
|
rcgen = { version = "0.11", features = ["pem", "x509-parser"]}
|
|
ring = "0.17"
|
|
sha2 = "0.10"
|
|
lazy_static = "1.4"
|
|
hex = "0.4"
|
|
pem = { version = "3", optional = true }
|
|
time = "0.3"
|
|
cfg-if = "1"
|
|
|
|
[dev-dependencies]
|
|
tokio-test = "0.4"
|
|
env_logger = "0.10"
|
|
|
|
[features]
|
|
pem = ["dep:pem", "dtls/pem"]
|
|
openssl = ["srtp/openssl"]
|
|
vendored-openssl = ["srtp/vendored-openssl"]
|