Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
c087079
voip
alanpoon Mar 31, 2026
c0c3dfd
SelectedRoom Voip
alanpoon Apr 3, 2026
9b8cd22
voip
alanpoon Apr 7, 2026
80c3778
change to webrtc_video shared
alanpoon Apr 9, 2026
22ad6cd
added hangup when closing tab.
alanpoon Apr 9, 2026
32f92b9
add pip
alanpoon Apr 9, 2026
80a3d27
Merge remote-tracking branch 'china2/main' into china2-webrtc
alanpoon Apr 10, 2026
7ed60d5
fix compilation error
alanpoon Apr 10, 2026
294290f
added voip
alanpoon Apr 10, 2026
2fbeacb
fix android
alanpoon Apr 10, 2026
2ec3799
fix compilation error
alanpoon Apr 10, 2026
bd8c6bc
fix clippy
alanpoon Apr 10, 2026
33b79db
windows fix
alanpoon Apr 10, 2026
48326ae
change to older xcode
alanpoon Apr 10, 2026
5ee5f03
cxx test
alanpoon Apr 10, 2026
82aaf7c
test remove xcode
alanpoon Apr 10, 2026
fa939c2
revert changes to tsp
alanpoon Apr 10, 2026
2f44a53
clang clippy
alanpoon Apr 10, 2026
5e53116
xcode 16.0
alanpoon Apr 11, 2026
7d90e68
xcode 16.1.0
alanpoon Apr 11, 2026
1a597f6
Merge remote-tracking branch 'china2/main' into china2-webrtc
alanpoon Apr 11, 2026
6735735
fix cargo.lock
alanpoon Apr 11, 2026
8672f9e
removed commented lines
alanpoon Apr 11, 2026
3ac6b83
Merge remote-tracking branch 'china2/main' into china2-webrtc
alanpoon Jun 4, 2026
3a0d002
cargo clippy
alanpoon Jun 4, 2026
203a5ce
Merge remote-tracking branch 'china2/main' into china2-webrtc
alanpoon Jun 4, 2026
22db08d
voice call
alanpoon Jun 4, 2026
be86fc1
fix participant count
alanpoon Jun 5, 2026
5614c08
Fix Livekit
alanpoon Jun 5, 2026
5529015
Merge branch 'china2-webrtc' of https://github.com/alanpoon/robrix in…
alanpoon Jul 6, 2026
303cd0d
Merge remote-tracking branch 'china2/main' into china2-webrtc
alanpoon Jul 6, 2026
a198a6e
compilation fix
alanpoon Jul 7, 2026
64a600a
Merge branch 'main' into china2-webrtc
alanpoon Jul 8, 2026
7574b74
Merge remote-tracking branch 'china2/main' into china2-webrtc
alanpoon Jul 30, 2026
aefc453
Merge branch 'china2-webrtc' of https://github.com/alanpoon/robrix in…
alanpoon Jul 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
[target.'cfg(all())']
rustflags = ["--cfg", "ruma_identifiers_storage=\"Arc\""]

## LiveKit/libwebrtc requires -ObjC linker flag on macOS
[target.'cfg(target_os = "macos")']
rustflags = ["-C", "link-args=-Wl,-ObjC"]

[target.x86_64-pc-windows-msvc]
rustflags = ["-C", "target-feature=-crt-static"]

[target.aarch64-pc-windows-msvc]
rustflags = ["-C", "target-feature=-crt-static"]
## Override the bundle/package ID that Makepad uses by default with Robrix's ID.
[env]
MAKEPAD_BUNDLE_IDENTIFIER = { value = "rs.robius.robrix", force = true }
Expand Down
7 changes: 7 additions & 0 deletions .claude/settings.local.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"permissions": {
"allow": [
"Bash(cargo build *)"
]
}
}
3 changes: 3 additions & 0 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ jobs:
with:
key: macos-${{ matrix.arch }}-build-${{ hashFiles('Cargo.lock') }}

- name: Install LLVM
run: brew install llvm

- name: Build
run: |
cargo build --profile fast
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 22 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,18 @@ matrix-sdk-ui = { git = "https://github.com/Project-Robius-China/matrix-rust-sdk
ruma = { git = "https://github.com/ruma/ruma", rev = "a0acf4187a7c7557d145db54bcb23b01f6295ce7", features = [
"compat-optional",
"compat-unset-avatar",
"unstable-msc3401",
] }
rand = "0.8.5"
rangemap = "1.5.0"
## Direct rustls dep used only to install the process-level CryptoProvider
## at startup. matrix-sdk and livekit both pull in rustls 0.23 but neither
## installs a default provider; without an explicit install_default call,
## any rustls-using crate that asks for the default (e.g. LiveKit's
## webrtc-sys TLS handshake) panics with
## "Could not automatically determine the process-level CryptoProvider".
## aws-lc-rs is already in our dep tree via webrtc-sys / quinn-TSP.
rustls = { version = "0.23", default-features = false, features = ["aws_lc_rs"] }
sanitize-filename = "0.6"
serde = "1.0"
serde_json = "1.0"
Expand All @@ -87,7 +96,7 @@ url = "2.5.0"
## crypto provider that matrix-sdk/reqwest already use so the config type matches
## and we avoid a "no process-level CryptoProvider" panic. See
## src/proxy_config.rs::webpki_rustls_config.
rustls = { version = "0.23.37", default-features = false, features = ["ring", "std", "tls12"] }
## rustls = { version = "0.23.37", default-features = false, features = ["ring", "std", "tls12"] }
webpki-roots = "1.0"

## aws-lc-sys has no pregenerated bindings for aarch64-unknown-linux-ohos, so the
Expand All @@ -103,6 +112,18 @@ aws-lc-rs = { version = "1", features = ["bindgen"] }
rfd = "0.15"
cargo-packager-updater = "0.2"
semver = "1"
## nokhwa camera capture - only for desktop platforms (core-video-sys doesn't work on iOS)
nokhwa = { version = "0.10", features = ["input-native"] }

## LiveKit WebRTC SDK - only for desktop platforms (macOS, Linux)
## Windows is excluded due to MSVC runtime library mismatch with webrtc-sys
## rustls-tls-native-roots is required for WSS connections
[target.'cfg(all(not(any(target_os = "android", target_os = "ios", target_os = "windows"))))'.dependencies]
livekit = { version = "0.7", features = ["rustls-tls-native-roots"] }
## rodio for ringtone playback in 1:1 voice calls (incoming ring + outgoing dial tone).
## Gated to the same desktop platforms as livekit; mobile/Windows use a stub.
## "vorbis" enables OGG decoding for the bundled ringtone assets.
rodio = { version = "0.20", default-features = false, features = ["vorbis"] }

## Dependencies for TSP support.
## Commit "f0bc4625dcd729e07e4a36257df2f1d94c81cef4" is the most recent one without the invalid change to pin serde to 1.0.219.
Expand Down
1 change: 1 addition & 0 deletions makepad
Submodule makepad added at 2cff94
6 changes: 6 additions & 0 deletions resources/icons/microphone.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions resources/icons/microphone_off.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions resources/icons/phone.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions resources/icons/video.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added resources/sounds/ring_in.ogg
Empty file.
Empty file added resources/sounds/ring_out.ogg
Empty file.
Loading
Loading