Compare commits

..
19 Commits
Author SHA1 Message Date
renovate[bot] b2f7fccc6e Update ghcr.io/element-hq/element-web:develop Docker digest to 2f9e5d9 (#4490)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-21 02:07:47 +00:00
TimoandClaude Fable 5.2 f9dafcd5ea Publish late device (#4485)
* Publish a camera or microphone listed after the call view opened

Without a lobby the call decides what to publish once, as its view
mounts. A device the browser listed a moment later switched to its
default "on" without the mute handler being asked, so the button showed
on and nothing was published: the other side kept waiting for media.

The default is now asked of the handler like any other request where one
is set, so the call publishes the device. A device that comes back while
a handler is set stays off, since the user may have turned it off; the
button used to show it as on there too. Without a handler, as in the
lobby, the default is assumed at once as before.

Follows the patch tiran133 posted on the issue. A stop-gap until one
reconciler owns the local media.

Fixes https://github.com/element-hq/element-call/issues/4403

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-20 17:07:51 +00:00
Timo ded4471525 Merge pull request #4486 from element-hq/toger5/4479-exact-device-constraint
Exact device constraint (fixes chrome device switches)
2026-11-20 17:57:43 +01:00
Timo K. e74e83ab08 comments on what fixes the chrome issue 2026-11-20 17:15:41 +01:00
Johannes Marbach 3917bbb8f2 Merge pull request #4484 from ciefa/ciefa/fullscreen-button-clear-of-footer
Keep the tile buttons clear of the footer when it overlays the video
2026-11-20 15:33:43 +01:00
Timo K.andClaude Fable 5.2 4c66fe6f7d Ask the browser for the exact camera and microphone picked
Chromium hands back its default device for a deviceId that is only
preferred, so picking another camera reopened the same one: the preview
flashed and nothing changed. The lobby's own capture and the in-call
switch both passed the id as a preference since they stopped going
through LiveKit's track creation, which made it exact.

- The lobby media asks for the exact device, and falls back to the
  browser's choice only where the remembered device is gone.
- A track handed over to the call keeps the exact device, so that LiveKit
  reopens the same one after a mute.
- Switching the facing mode lets go of the pinned device.
- setDevice rejects where the track did not end up on the device, in the
  lobby and in the call, and keeps the track it had.

Fixes https://github.com/element-hq/element-call/issues/4479

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-20 14:07:17 +01:00
Johannes Marbach ffd6360277 Merge pull request #4472 from element-hq/johannes/stable-rtc-device
Request capability to receive m.rtc.encryption_key events
2026-11-20 11:37:20 +01:00
Johannes Marbach eabc6c0823 Merge branch 'main' into johannes/stable-rtc-device 2026-11-20 10:53:09 +01:00
renovate[bot] 7d6fbd336d Update ghcr.io/element-hq/element-web:develop Docker digest to dd8dbe3 (#4482)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-20 09:52:33 +00:00
Johannes Marbach f9fb566f41 Merge branch 'main' into johannes/stable-rtc-device 2026-11-20 09:21:20 +01:00
Robin ef1f69e085 Merge pull request #4342 from element-hq/valere/cleanup_sound_licence_listing
Sound listing clean-up
2026-11-19 14:42:58 -05:00
Santino Wagner 95a646b3bc Keep the tile buttons clear of the footer when it overlays the video
In a call view at most 600px high, and in a one-on-one call in a view
at most 600px wide, the footer is drawn over the video. The spotlight
tile's bottom-right buttons (full screen, expand, screen share volume)
stayed pinned to the tile's bottom edge, underneath the footer, so a
click on them landed on the footer instead.

Offset the buttons by --call-view-safe-area-inset-bottom, which the call
view already sets to the footer's height while the footer overlays the
tiles. The media foreground of a maximised tile uses the same inset. The
variable is unset in every other layout, so nothing moves there.

The rule is not limited to maximised tiles: with the layout switch on
"grid", a short window shows a spotlight tile that is not maximised but
still reaches the bottom edge.
2026-11-19 16:35:00 +01:00
Robin 86ad9bcb28 Merge pull request #4475 from element-hq/robin/clean-release-notes
Hide Docker and Actions updates from release notes
2026-11-19 09:42:41 -05:00
Johannes Marbach 7cd9ed8022 Merge pull request #4477 from element-hq/johannes/stable-rtc-member
Request capability to receive m.rtc.member events
2026-11-19 15:34:10 +01:00
Johannes Marbach 6cdcd5e83e Merge branch 'main' into johannes/stable-rtc-device 2026-11-19 09:16:01 +01:00
Johannes Marbach 29b80b62c9 Request capability to receive m.rtc.member events 2026-11-19 08:49:25 +01:00
Robin df1156b385 Hide Docker and Actions updates from release notes
To make the release notes more scannable.
2026-11-18 14:06:18 -05:00
Johannes Marbach 1cdcb62791 Request capability to receive m.rtc.encryption_key events 2026-11-18 11:16:41 +01:00
Valere 25c4f14d8f Sound listing clean-up 2026-10-09 16:06:19 +02:00
7 changed files with 57 additions and 8 deletions
+2 -2
View File
@@ -19,10 +19,10 @@ services:
- ./backend/playwright_homeserver-othersite.yaml:/data/cfg/homeserver.yaml:Z
element-web:
# Pin to a SHA so that upstream cannot break our tests. Renovate handles regular updates.
image: ghcr.io/element-hq/element-web:develop@sha256:f85350f2b31a7521a800d9050e9f5c0676d04cfb60675242ccc0c6e25cad7d04
image: ghcr.io/element-hq/element-web:develop@sha256:2f9e5d993e20adbd062453fd1c437821d554bac1f22ed3177290b7911f667848
element-web-1:
# Pin to a SHA so that upstream cannot break our tests. Renovate handles regular updates.
image: ghcr.io/element-hq/element-web:develop@sha256:f85350f2b31a7521a800d9050e9f5c0676d04cfb60675242ccc0c6e25cad7d04
image: ghcr.io/element-hq/element-web:develop@sha256:2f9e5d993e20adbd062453fd1c437821d554bac1f22ed3177290b7911f667848
volumes:
# The other site opens the embedded package under test in place of the
# copy its image bundles (the first site opens the dev server's app.
+36
View File
@@ -0,0 +1,36 @@
/*
Copyright 2026 Element Creations Ltd.
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
Please see LICENSE in the repository root for full details.
*/
import { expect, test } from "@playwright/test";
import { SpaHelpers } from "./spa-helpers.ts";
test("The full screen button can be clicked while the footer overlays the video", async ({
page,
}) => {
await page.goto("/");
await SpaHelpers.createCall(page, "John Doe", "ShortWindow", true);
await SpaHelpers.expectVideoTilesCount(page, 1);
const fullScreenButton = page.getByRole("button", { name: "maximise" });
const footer = page.getByTestId("footer-container");
// Short enough for the footer to be drawn over the video
await page.setViewportSize({ width: 1000, height: 500 });
await expect(fullScreenButton).toBeVisible();
await page.getByTestId("videoTile").first().hover();
await expect(footer).toHaveCSS("opacity", "1");
const buttonBox = (await fullScreenButton.boundingBox())!;
const footerBox = (await footer.boundingBox())!;
expect(buttonBox.y + buttonBox.height).toBeLessThanOrEqual(footerBox.y);
await fullScreenButton.click();
await expect
.poll(async () => page.evaluate(() => document.fullscreenElement !== null))
.toBe(true);
});
+5 -3
View File
@@ -5,7 +5,7 @@
"schedule:monthly",
":enableVulnerabilityAlertsWithLabel(security)"
],
"addLabels": ["dependencies"],
"labels": ["dependencies"],
"minimumReleaseAge": "5 days",
"packageRules": [
{
@@ -16,7 +16,8 @@
{
"groupName": "GitHub Actions",
"matchDepTypes": ["action"],
"pinDigests": true
"pinDigests": true,
"labels": ["PR-Task"]
},
{
"description": "Disable Renovate for packages we want to monitor ourselves",
@@ -69,7 +70,8 @@
"matchUpdateTypes": ["digest"],
"schedule": ["* 0-3 * * *"],
"minimumReleaseAge": null,
"automerge": true
"automerge": true,
"labels": ["PR-Task"]
}
],
"semanticCommits": "disabled",
+6 -2
View File
@@ -16,12 +16,16 @@ The following sound effects have been licensed from Pixabay, under https://pixab
The following sound effects have been originally created by Element.
- `blocked`
- `end_talk`
- `start_talk_local`
- `start_talk_remote`
- `join_call`
- `end_call`
- `left_call`
- `screen_share_started`
- `ringtone`
- `call_declined`
- `call_timeout`
- `reactions/rock`
- `reactions/wave`
- `reactions/baduntss`
- `reactions/deer`
+4 -1
View File
@@ -111,7 +111,10 @@ Please see LICENSE in the repository root for full details.
display: flex;
gap: var(--cpd-space-2x);
position: absolute;
inset-block-end: var(--cpd-space-1x);
/* Ensure that the buttons lie within the safe area */
inset-block-end: calc(
var(--call-view-safe-area-inset-bottom, 0px) + var(--cpd-space-1x)
);
inset-inline-end: var(--cpd-space-1x);
z-index: 1;
}
+2
View File
@@ -67,6 +67,7 @@ describe("widget", () => {
ElementCallReactionEventType,
EventType.RTCDecline,
EventType.RTCMembership,
"m.rtc.member",
];
const sendState = [
@@ -100,6 +101,7 @@ describe("widget", () => {
EventType.CallSDPStreamMetadataChangedPrefix,
EventType.CallReplaces,
EventType.CallEncryptionKeysPrefix,
"m.rtc.encryption_key",
];
expect(createRoomWidgetClientSpy.mock.calls[0][1]).toStrictEqual({
+2
View File
@@ -132,6 +132,7 @@ export const initializeWidget = (
ElementCallReactionEventType,
EventType.RTCDecline,
EventType.RTCMembership,
"m.rtc.member",
];
const sendState = [
@@ -162,6 +163,7 @@ export const initializeWidget = (
EventType.CallSDPStreamMetadataChangedPrefix,
EventType.CallReplaces,
EventType.CallEncryptionKeysPrefix,
"m.rtc.encryption_key",
];
const client = createRoomWidgetClient(