The call canvas, tiles, control pill and menus were painted with hardcoded
dark hex values, so the call ignored the active theme. They now use the
same tokens as the rest of the app. The scrim over a video tile and its
text stay light on dark, because they sit on video rather than on a themed
surface, as does the hangup button.
The route picker rendered the wire's category marker as the option name,
so the list read current and input. It now shows the platform's display
name and ticks the active route.
The native video view sits above the webview, so the route picker opened
underneath it and looked like nothing happened. The occlusion probe cannot
catch this: it only runs on resize, scroll and intersection, and a menu
appearing above the slot moves nothing.
Keeping the camera running in Picture in Picture needs
AVCaptureSession's multitasking camera access. Below iOS 16 that requires
the com.apple.developer.avfoundation.multitasking-camera-access
entitlement, which has no public request process, so 15.0 could not
support it.
The plugin renamed its commands to snake_case, which Tauri's docs
prescribe, so the invoke strings move with it. sendDTMF is gone from the
plugin: it had no caller and only played a CallKit tone.
Add the JitPack repository that livekit-android's audioswitch dependency
is published on, enable the core library desugaring the plugin AAR
requires, and resolve the protobuf-java/protobuf-javalite duplicate
classes in favour of the full runtime that tink's generated code needs.
These live in Tauri-generated files, so tauri android init would drop them.
The room page stays mounted for the whole mobile slide transition, so
geometry alone kept the native video painted over the outgoing page.
Drive overlay visibility off route selection instead, and give the remote
overlay the occlusion check the local one already had.
getAudioRoutes and setAudioRoute were implemented natively but never
called, so wire them to a control that only appears once the platform
reports routes. Feature a remote screen share over a camera, since iOS
already projects one. Media toggles now follow the connected state, which
is what the native setters require. The quality dot carries state through
colour alone, so give it a label and Sable's own tokens.
livekit-client defaults adaptiveStream and dynacast to false, so a
multi-party call received every published layer at full quality and kept
sending video nobody displayed. The native engine already enables both.
ConnectionFeedback also treated SignalReconnecting and Connecting as a
lost connection, showing critical red while media was still flowing.
Sliding sync only ships m.room.member for $ME, so isValidMembership
discarded every RTC membership including our own, leaving
session.memberships empty. The join survived only because
waitForOwnMembership polls server state, but the empty roster also left
RTCEncryptionManager with no recipients, so media keys were never
distributed to the other participants.
CallStatusRenderer never consulted nativeCallAtom, so navigating away from the
room during a native call left no way to hang up. Extract the bar shell both
engines share and add a native control cluster.
On mobile the call view defaults to 30% height, sized for the Element Call
participant list. A native call renders video tiles and a control bar in that
space, which clipped the floating local preview and collapsed grid rows to
name strips; give it at least 75%.
The web control bar hides itself with visibility:hidden, which removes it from
the tab order, and nothing else inside the surface is focusable, so the
existing focus reveal could never fire from a Tab press. Reveal on keydown too,
and let the control pill wrap so End call cannot be clipped off a narrow
viewport. The test that covered this synthesised focusIn on the surface and
passed for a scenario the browser cannot produce.
A remote hangup arrives as an idle snapshot, which was passed to cleanup as a
failure, so the user got a red "Call failed" screen reading "Native call
ended." with a Dismiss button. Clear the session instead, as the LiveKit JS
path already does.
Failure snapshots now map NativeCallFailureCode to user-facing copy, and setup
errors no longer append the raw exception: a user could be shown a TypeError
message. The detail is logged instead.
The native surface derived a label by string-parsing the LiveKit identity, so
tiles showed a raw MXID and initials cut from it, with no avatar. Reuse the
identity map and profile lookup the LiveKit JS surface already uses.
Also include connectionQuality in the participant equality check; without it a
snapshot that only changed quality was dropped and the quality dot went stale.
RTCEncryptionManager emits our own key under `userId:deviceId` unless
unstableSendStickyEvents is set, which we never set, while
CallMembership.rtcBackendIdentity is a SHA-256 for sticky-event memberships.
The native controller was already fixed; the JS path still passed the hashed
value, so the provider never matched its own key, e2eeReady stayed false, and
the control bar and initial media publish never happened.
Also green the suite and lint: point the native controller fixtures at the
real own identity, follow the hangup button's rename to "End call", type the
lifecycle test mocks, and attach rejection handlers before flushing timers so
vitest stops reporting unhandled errors.
CallStatusRenderer only knew about the Element Call embed, so the bottom bar
disappeared entirely on the LiveKit path.
Reuse the existing bar (live chip, room name, member glance and the control
buttons) driven by the LiveKit local participant. Sound moves to a shared
atom so the bar and the call surface agree on it.
- centre the audio-call layout; the column had no width so it hugged the left
- resolve the local participant from the client, and index the legacy
user:device identity alongside the anonymised one, so tiles stop reading
"Unknown participant"
- log an unresolved identity with the keys we do know
- give the speaker menu an icon and the device menus a caret; MediaDeviceMenu
renders an empty button and leaves the affordance to CSS
- stop the muted-red style leaking onto device menu buttons via aria-pressed
tauri-plugin-livekit-mobile links the LiveKit Swift SDK through SPM, and that
package already pins webrtc-xcframework 144.7559.11 and
livekit-uniffi-xcframework 0.0.6, the same builds the script fetched. Listing
them again under bundle.iOS.frameworks embedded a second copy of both.
Also declare the audio background mode the plugin requires for call audio to
survive backgrounding.
- resolve LiveKit participants to Matrix users for names and avatars
- show participants in audio calls instead of an empty grid
- add a device preview and apply the chosen devices when publishing
- apply prescreen mic/camera/sound choices on both backends
- gate publishing on E2EE readiness
- show device errors, add speaker selection
- derive publish controls from the token grants
- stop a failed session blocking calls in other rooms
- keep a remote key from masking a local import failure
- only fall back to the legacy provisioning endpoint on 404/405
- restore the recovery-key guard dropped by an earlier rebase
Fold in semantic follow-ups from rebasing onto origin/dev:
- generated tauri bindings: take dev's regeneration wholesale; the spike
nets no surviving typegen output (its vendored lifecycle plugin is
removed again), and dropping it silently removed dev's
start/stopCallForegroundService bindings - restore dev's bytes exactly.
- Cargo.lock: reset to dev's resolution (fixes auto-merge downgrades of
windows-sys/toml/libloading) and re-add only tauri-plugin-livekit-mobile
at 77d263f via cargo metadata.
- ios-project.yml: drop the spike's duplicate
NSMicrophone/NSCameraUsageDescription; dev already ships its own wording
for both keys, and YAML duplicate keys would override dev's text.
- Cargo.toml: drop a leftover blank line from conflict resolution.
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->
### Description
<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->
Fixes #
#### Type of change
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update
### Checklist:
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
### AI disclosure:
- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->
### Description
- preserve recovery-key and passphrase validation failures in the form
- prevent failed decoding from forwarding an undefined key into
verification/storage
Fixes #
#### Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update
### Checklist:
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
### AI disclosure:
- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->
### Description
Release temporary Blob URLs after extracting upload metadata and
thumbnails.
Fixes #
#### Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update
### Checklist:
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
### AI disclosure:
- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->
### Description
<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->
Fixes #
#### Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update
### Checklist:
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
### AI disclosure:
- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->