Skip to content

Send notification events when starting a call #3248

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: livekit
Choose a base branch
from

Conversation

robintown
Copy link
Member

Previously this has been the responsibility of the hosting application (Element Web / Element X), but I would like to move this responsibility to Element Call itself to make it even more lightweight to integrate Element Call into a widget-capable client.

Depends on matrix-org/matrix-js-sdk#4826

Previously this has been the responsibility of the hosting application (Element Web / Element X), but I would like to move this responsibility to Element Call itself to make it even more lightweight to integrate Element Call into a widget-capable client.
@toger5
Copy link
Contributor

toger5 commented May 14, 2025

I remember the idea being that this is part of the hosting application is that we can have different behaviours on mobile vs desktop and that we might introduce custom ui to send a ring/notify call.
A modal for instance asking you if you really want to ring LargeNumber of users. Or a notice, that you do not have the right to ring in this room.

@robintown
Copy link
Member Author

I think we would still have the opportunity to do that, as the widget here gets to decide the notification behavior at the point that it enters the session, and the hosting application can always give extra context to the widget about how it's being used (intent etc.) through the URL params

import { MatrixRTCFocusMissingError } from "./utils/errors.ts";
import { getUrlParams } from "./UrlParams.ts";
import { MatrixRTCFocusMissingError } from "./utils/errors";
import { getUrlParams } from "./UrlParams";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The URL params should include a flag if it should ring or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR-Feature Release note category. A PR that introduces a new user facing feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants