feat(groups): audio and video calls in group chats; release v6.6.6
CodeQL Analysis / Analyze CodeQL (push) Canceled after 0s
Deploy Application / deploy (push) Canceled after 0s
Mirror to Codeberg / mirror (push) Canceled after 0s
Mirror to PrivacyGuides / mirror (push) Canceled after 0s

A group call is N-1 ordinary 1:1 calls, one to each other member, each riding
the pairwise session that member already has — a transport a human already
authenticated by comparing the safety code. No mixer, no SFU, no point at which
two people's media meets anywhere but on a device.

Call control is separate from call media, because the two reach different sets
of people. Who opened a call, who joined and who left travels as group frames
signed with the sender's group identity key, so it reaches members currently
reachable only through a relay — and a relaying member can drop one but cannot
write one. Media flows only where a direct link exists, so a member without one
shows as connecting rather than being omitted. Frames carry a per-sender
sequence checked before the action, so a captured leave cannot end a later call,
and simultaneous calls converge on the lower random call id.

One capture is shared across every leg rather than one getUserMedia per member,
and legs answer without prompting: the flag permitting that is set only locally,
only while this user is in the call, and cleared when they leave.

UI: a gallery that sizes itself from the space it has, a spotlight view, an
active-speaker indicator read from the waveform, and the call surface in the
same visual language as the 1:1 one.

Also in this commit, the v6.5.0 language-suggestion work that had not been
pushed yet; its notes are in the changelog. And two fixes: the safety-code input
asks for digits rather than text, and starting a new chat from inside a group no
longer creates it behind the group where it cannot be seen — which had made it
impossible to connect to anyone new, or to add anyone to a group, while a group
was open.

Claude-Session: https://claude.ai/code/session_01XSxAkET3hQTkYDQfbjCQwZ
This commit is contained in:
lockbitchat
2026-09-01 01:04:11 -04:00
parent 5e32f547b9
commit 113bb107d3
62 changed files with 8412 additions and 1039 deletions
+26 -1
View File
@@ -36,6 +36,9 @@
},
"ui": {
"language.label": "زبان",
"language.suggest.text": "این صفحه به فارسی هم در دسترس است.",
"language.suggest.cta": "خواندن به فارسی",
"language.suggest.dismiss": "بستن",
"community.title": "به آیندهٔ حریم خصوصی بپیوندید",
"community.description": "SecureBit به‌لطف جامعه‌اش رشد می‌کند. ایده‌ها و بازخوردهای شما آیندهٔ ارتباط امن را شکل می‌دهد - ساخته‌شده در فضای باز، با اعتبارسنجی کامل ASN.1 از یک سر تا سر دیگر.",
"community.github": "مخزن GitHub",
@@ -781,6 +784,28 @@
"offline.disconnect": "قطع اتصال",
"offline.learnMore": "بیشتر بدانید",
"pwa.installApp": "نصب برنامه",
"chat.onWeb": "شما روی نسخهٔ وب هستید"
"chat.onWeb": "شما روی نسخهٔ وب هستید",
"groupCall.startVoice": "شروع تماس صوتی گروهی",
"groupCall.startVideo": "شروع تماس تصویری گروهی",
"groupCall.join": "پیوستن",
"groupCall.dismiss": "الان نه",
"groupCall.leave": "خروج از تماس",
"groupCall.you": "شما",
"groupCall.connecting": "در حال اتصال…",
"groupCall.waitingLink": "در انتظار یک پیوند مستقیم…",
"groupCall.legFailed": "اتصال برقرار نشد",
"groupCall.startedVoice": "{name} یک تماس صوتی آغاز کرد",
"groupCall.startedVideo": "{name} یک تماس تصویری آغاز کرد",
"groupCall.inCall": "{count} نفر در تماس",
"groupCall.err.permission_denied": "تماس آغاز نشد - دسترسی به میکروفون و دوربین مسدود است. آن را برای این سایت مجاز کنید و دوباره تلاش کنید.",
"groupCall.err.device_not_found": "تماس آغاز نشد - میکروفونی روی این دستگاه پیدا نشد.",
"groupCall.err.device_busy": "تماس آغاز نشد - میکروفون شما در حال استفاده توسط برنامه دیگری است. آن را ببندید و دوباره تلاش کنید.",
"groupCall.err.media_failed": "تماس آغاز نشد - میکروفون باز نشد.",
"groupCall.err.call_in_progress": "همین حالا تماسی در این گروه در جریان است. به‌جای شروع تماس تازه، به آن بپیوندید.",
"groupCall.err.not_ready": "پیش از تماس، کد گروه را تأیید کنید.",
"groupCall.speaking": "{name} در حال صحبت است",
"groupCall.pin": "نمایش بزرگ {name}",
"groupCall.unpin": "بازگشت به همه",
"groupCall.showEveryone": "همه"
}
}