diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index af46e55b8..fc6944632 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -6721,7 +6721,7 @@ dependencies = [ [[package]] name = "tauri-plugin-livekit-mobile" version = "0.2.0" -source = "git+https://github.com/SableClient/tauri-plugin-livekit-mobile.git?rev=993518e5eb9427af3ddaf5b91db78effe59c452e#993518e5eb9427af3ddaf5b91db78effe59c452e" +source = "git+https://github.com/SableClient/tauri-plugin-livekit-mobile.git?rev=b936c9ca87b2b845e4cfff8cd846028e45005d95#b936c9ca87b2b845e4cfff8cd846028e45005d95" dependencies = [ "base64 0.22.1", "serde", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 8d222d06f..8cdc48092 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -124,7 +124,7 @@ tauri-plugin-notifications = { git = "https://github.com/SableClient/tauri-plugi ] } tauri-plugin-edge-to-edge = { git = "https://github.com/SableClient/tauri-plugin-edge-to-edge.git", rev = "33c6116c27be28c06df5a9d02231ecc5fdeb93c5" } tauri-plugin-sharekit = { git = "https://github.com/Choochmeque/tauri-plugin-sharekit", rev = "9f2b4c5d8a4f0ab910d900ba234ed8bae0ab854b" } -tauri-plugin-livekit-mobile = { git = "https://github.com/SableClient/tauri-plugin-livekit-mobile.git", rev = "993518e5eb9427af3ddaf5b91db78effe59c452e" } +tauri-plugin-livekit-mobile = { git = "https://github.com/SableClient/tauri-plugin-livekit-mobile.git", rev = "b936c9ca87b2b845e4cfff8cd846028e45005d95" } [target.'cfg(target_os = "ios")'.dependencies] objc2 = "0.6" diff --git a/src/app/features/call/NativeCallSurface.tsx b/src/app/features/call/NativeCallSurface.tsx index 6a3f9da56..ec0a49ed9 100644 --- a/src/app/features/call/NativeCallSurface.tsx +++ b/src/app/features/call/NativeCallSurface.tsx @@ -299,23 +299,27 @@ function useNativeLocalVideoOverlay( function LocalTile({ session, + userIdByIdentity, slotRef, fixed, }: { session: NativeCallSession; + userIdByIdentity: UserIdByRtcIdentity; slotRef?: (node: HTMLDivElement | null) => void; fixed?: boolean; }) { + const profile = useCallParticipantProfile('', true, userIdByIdentity); + return (
{/* When the camera is on, the native local preview renders over this - slot; the user icon stays mounted underneath as the placeholder. */} + slot; the avatar stays mounted underneath as the placeholder. */}
- {sizedIcon(User, '400')} +
@@ -679,6 +683,7 @@ export function NativeCallSurface({ session, onHangup }: NativeCallSurfaceProps) })}