Commit Graph

56 Commits

Author SHA1 Message Date
Timo
acaf69ca1b add change audio button with callback on ios 2025-05-16 12:28:49 +02:00
Timo
2012b09845 review cleanup 2025-05-16 11:32:32 +02:00
Timo
610e792394 rename setOutputDevices-> setAvailableOutputDevices 2025-05-15 17:20:12 +02:00
Timo
f69c75322f add earpice mode 2025-05-14 19:55:08 +02:00
Robin
53adfa4497 WIP 2025-05-14 19:07:36 +02:00
fkwp
984383b60d typo 2025-04-25 00:32:19 +02:00
fkwp
de4875ac7c replace jsonc with nginx highlighting 2025-04-25 00:31:13 +02:00
fkwp
2cf2e090f6 Update docs/self-hosting.md
Co-authored-by: Robin <robin@robin.town>
2025-04-17 16:31:52 +02:00
fkwp
4694354f69 add informatino about required synapse listeners 2025-04-15 17:53:27 +02:00
fkwp
e98b0ed1ed indentation 2025-04-11 00:06:03 +02:00
fkwp
d97332f47a Merge branch 'livekit' into fkwp/doc_update 2025-04-09 20:30:24 +02:00
fkwp
3c5594b7e1 prettier 2025-04-09 13:34:58 +02:00
fkwp
eb9593a4e5 add information about CORS headers 2025-04-09 13:16:25 +02:00
fkwp
078f36c14a add Community Guides & How-Tos section 2025-04-09 13:04:41 +02:00
Kim Brose
7297dbcc00 Update self-hosting.md docs formatting 2025-04-09 11:32:56 +02:00
fkwp
c20aa5c1c8 rephrase Packaging and adding Figures 2025-04-04 23:12:41 +02:00
fkwp
ce1c5437fc add note about in-app calling requirements 2025-04-04 23:12:41 +02:00
fkwp
d12d616e28 Merge pull request #3136 from element-hq/fkwp/update_readme
Fix example JWT service .well-known endpoints in self-hosting.md
2025-03-31 15:08:57 +02:00
Hugh Nimmo-Smith
9f2f1d8641 Improve documentation for how to use the embedded package (#3146) 2025-03-28 18:26:22 +00:00
Hugh Nimmo-Smith
fd2c1f6410 Clarify who is responsible for compliance and consent in relation to analytics (#3116)
It varies depending on if you are using the full or embedded package.
2025-03-28 14:18:53 +00:00
Robin
f99eb3c88f Merge branch 'livekit' into robin/berry 2025-03-27 14:07:24 -04:00
fkwp
53fa21b97a update .well-known example using the proposed endpoint routing 2025-03-26 22:36:47 +01:00
fkwp
a4f86492f9 Merge pull request #3130 from element-hq/fkwp/update_readme
Add endpoint routing to README.md
2025-03-26 13:48:09 +01:00
fkwp
fa0365c409 added MatrixRTC backend for completness 2025-03-26 00:07:13 +01:00
Timo
f868eca938 Add docs and git hooks 2025-03-25 20:13:34 +01:00
fkwp
117b99d967 prettier 2025-03-25 17:14:18 +01:00
fkwp
7003e1f7d2 add section about endpoint routing 2025-03-25 17:09:54 +01:00
fkwp
ae7188cd65 added endpoint routing 2025-03-25 17:09:31 +01:00
Hugh Nimmo-Smith
9bf046b714 Merge branch 'livekit' into robin/berry 2025-03-21 17:14:10 +00:00
Hugh Nimmo-Smith
6043b3949b Analytics configuration is the responsibility of the host application when running in widget mode (#3089)
* Support for analytics configuration via URL parameters in widget mode

Adds:

- posthogApiHost
- posthogApiKey
- rageshakeSubmitUrl
- sentryDsn
- sentryEnvironment

Deprecate analyticsId and use posthogUserId instead

* Partial test coverage

* Simplify tests

* More tests

* Lint

* Split embedded only parameters into own section for clarity

* Update docs/url-params.md

* Update docs/url-params.md

* Update vite.config.js
2025-03-21 11:15:20 +01:00
Hugh Nimmo-Smith
7ca70cf4ab Publish embedded package for releases of Element Call (#3086)
* Publish embedded package for releases of Element Call

Part of https://github.com/element-hq/element-call/issues/2994

This PR:

- Publishes embedded builds as Tarball, NPM, AAR, SwiftPM for releases
- Publishes full builds as Tarball for releases
- Adds comments to release notes with the built artifact locations

* Update embedded/web/package.json

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>

* Update .github/workflows/publish-embedded-packages.yaml

* Update embedded/ios/Package.swift

* Apply suggestions from code review

* Try dry-run of gradlew

* Whitespace

* Fix more instances of unpinned GHA

* Minimise permissions

* Upload release notes once

To reduce concurrency

* Fix npm publish permissions

---------

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2025-03-19 21:33:09 +00:00
fkwp
d01a0de568 fix JSON blob 2025-03-17 09:54:37 +01:00
Robin
cb14b727ba Merge branch 'livekit' into robin/berry 2025-03-14 11:59:21 -04:00
fkwp
c4747dd177 Merge pull request #3026 from element-hq/fkwp/add_rc_delayed_event_mgmt_to_readme
README.md add information about rc_delayed_event_mgmt
2025-03-14 16:18:55 +01:00
Robin
d633ec5fcd Update docs for Yarn Berry 2025-03-14 03:23:37 -04:00
Hugh Nimmo-Smith
a924c7ffbb Separate widget-only URL parameters in the documentation (#3088) 2025-03-13 10:28:38 +00:00
fkwp
f9ced9f10d typo 2025-03-10 20:58:12 +01:00
fkwp
e39fe3bc7f add information about rc_delayed_event_mgmt 2025-03-10 20:55:59 +01:00
fkwp
1958b658c3 make colours dark theme compatible 2025-03-05 21:53:41 +01:00
fkwp
542d36f893 prettier 2025-03-05 21:43:09 +01:00
fkwp
ad10b6c2fa add self-hosting section 2025-03-05 21:20:08 +01:00
fkwp
c29eeff450 indentation 2025-03-05 21:19:56 +01:00
fkwp
32a3c9ea5d Add section about MatrixRTC Backend Discovery and Selection 2025-03-05 21:15:57 +01:00
fkwp
93fb299770 add self-hosting section 2025-03-05 21:13:55 +01:00
fkwp
f79d7cfaea Add deployment options section 2025-03-05 21:12:23 +01:00
Hugh Nimmo-Smith
19d0f84f02 Introduce intent URL param and make it change the default lobby behaviour (#2828)
* Introduce `intent` URL param and make it change the default lobby behaviour

* Mark skipLobby as deprecated

* Add support for unknown intent which is default for when not specified
2024-12-18 15:30:33 +00:00
Timo
28da8c48da Mute state improvements including muting if skipLobby=true in SPA (Based on #2834) (#2846) 2024-11-28 18:05:12 +01:00
Hugh Nimmo-Smith
9ce16b68e9 Refactor URL parameters into table (#2827)
* Refactor URL parameters into table

This is for readability and ahead of some possible changes

* Whitespace

* Lint

* Cleanup and correct fontScale
2024-11-23 08:51:27 +00:00
Robin
7ad70064a3 Add a config option to disable the app prompt 2024-11-01 16:57:48 -04:00
Robin
3a754479dc Add simple global controls to put the call in picture-in-picture mode (#2573)
* Stop sharing state observables when the view model is destroyed

By default, observables running with shareReplay will continue running forever even if there are no subscribers. We need to stop them when the view model is destroyed to avoid memory leaks and other unintuitive behavior.

* Hydrate the call view model in a less hacky way

This ensures that only a single view model is created per call, unlike the previous solution which would create extra view models in strict mode which it was unable to dispose of. The other way was invalid because React gives us no way to reliably dispose of a resource created in the render phase. This is essentially a memory leak fix.

* Add simple global controls to put the call in picture-in-picture mode

Our web and mobile apps (will) all support putting calls into a picture-in-picture mode. However, it'd be nice to have a way of doing this that's more explicit than a breakpoint, because PiP views could in theory get fairly large. Specifically, on mobile, we want a way to do this that can tell you whether the call is ongoing, and that works even without the widget API (because we support SPA calls in the Element X apps…)

To this end, I've created a simple global "controls" API on the window. Right now it only has methods for controlling the picture-in-picture state, but in theory we can expand it to also control mute states, which is current possible via the widget API only.

* Fix footer appearing in large PiP views

* Add a method for whether you can enter picture-in-picture mode

* Have the controls emit booleans directly
2024-08-27 13:47:20 +02:00