mirror of
https://github.com/VallierDev/uu-remote-linux.git
synced 2026-11-16 08:50:40 +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]>
162 lines
2.7 KiB
TOML
162 lines
2.7 KiB
TOML
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
#
|
|
# When uploading crates to the registry Cargo will automatically
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
|
# to registry (e.g., crates.io) dependencies.
|
|
#
|
|
# If you are reading this file be aware that the original Cargo.toml
|
|
# will likely look very different (and much more reasonable).
|
|
# See Cargo.toml.orig for the original contents.
|
|
|
|
[package]
|
|
edition = "2021"
|
|
name = "webrtc"
|
|
version = "0.10.1"
|
|
authors = ["Rain Liu <[email protected]>"]
|
|
description = "A pure Rust implementation of WebRTC API"
|
|
homepage = "https://webrtc.rs"
|
|
documentation = "https://docs.rs/webrtc"
|
|
readme = "README.md"
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/webrtc-rs/webrtc"
|
|
|
|
[dependencies.arc-swap]
|
|
version = "1"
|
|
|
|
[dependencies.async-trait]
|
|
version = "0.1"
|
|
|
|
[dependencies.bytes]
|
|
version = "1"
|
|
|
|
[dependencies.cfg-if]
|
|
version = "1"
|
|
|
|
[dependencies.data]
|
|
version = "0.8.1"
|
|
package = "webrtc-data"
|
|
|
|
[dependencies.dtls]
|
|
version = "0.9.0"
|
|
package = "webrtc-dtls"
|
|
|
|
[dependencies.hex]
|
|
version = "0.4"
|
|
|
|
[dependencies.ice]
|
|
version = "0.10.1"
|
|
package = "webrtc-ice"
|
|
|
|
[dependencies.interceptor]
|
|
version = "0.11.0"
|
|
|
|
[dependencies.lazy_static]
|
|
version = "1.4"
|
|
|
|
[dependencies.log]
|
|
version = "0.4"
|
|
|
|
[dependencies.mdns]
|
|
version = "0.6.1"
|
|
package = "webrtc-mdns"
|
|
|
|
[dependencies.media]
|
|
version = "0.7.1"
|
|
package = "webrtc-media"
|
|
|
|
[dependencies.pem]
|
|
version = "3"
|
|
optional = true
|
|
|
|
[dependencies.rand]
|
|
version = "0.8"
|
|
|
|
[dependencies.rcgen]
|
|
version = "0.11"
|
|
features = [
|
|
"pem",
|
|
"x509-parser",
|
|
]
|
|
|
|
[dependencies.regex]
|
|
version = "1.9.5"
|
|
|
|
[dependencies.ring]
|
|
version = "0.17"
|
|
|
|
[dependencies.rtcp]
|
|
version = "0.10.1"
|
|
|
|
[dependencies.rtp]
|
|
version = "0.10.0"
|
|
|
|
[dependencies.rustls]
|
|
version = "0.21"
|
|
features = ["dangerous_configuration"]
|
|
|
|
[dependencies.sctp]
|
|
version = "0.9.1"
|
|
package = "webrtc-sctp"
|
|
|
|
[dependencies.sdp]
|
|
version = "0.6.1"
|
|
|
|
[dependencies.serde]
|
|
version = "1"
|
|
features = ["derive"]
|
|
|
|
[dependencies.serde_json]
|
|
version = "1"
|
|
|
|
[dependencies.sha2]
|
|
version = "0.10"
|
|
|
|
[dependencies.smol_str]
|
|
version = "0.2"
|
|
features = ["serde"]
|
|
|
|
[dependencies.srtp]
|
|
version = "0.12.0"
|
|
package = "webrtc-srtp"
|
|
|
|
[dependencies.stun]
|
|
version = "0.5.1"
|
|
|
|
[dependencies.thiserror]
|
|
version = "1"
|
|
|
|
[dependencies.time]
|
|
version = "0.3"
|
|
|
|
[dependencies.tokio]
|
|
version = "1.32.0"
|
|
features = ["full"]
|
|
|
|
[dependencies.turn]
|
|
version = "0.7.1"
|
|
|
|
[dependencies.url]
|
|
version = "2"
|
|
|
|
[dependencies.util]
|
|
version = "0.8.1"
|
|
package = "webrtc-util"
|
|
|
|
[dependencies.waitgroup]
|
|
version = "0.1"
|
|
|
|
[dev-dependencies.env_logger]
|
|
version = "0.10"
|
|
|
|
[dev-dependencies.tokio-test]
|
|
version = "0.4"
|
|
|
|
[features]
|
|
openssl = ["srtp/openssl"]
|
|
pem = [
|
|
"dep:pem",
|
|
"dtls/pem",
|
|
]
|
|
vendored-openssl = ["srtp/vendored-openssl"]
|