Commit Graph

71 Commits

Author SHA1 Message Date
Robin
f509c06cc6 Earpiece switcher and overlay (#3347)
* Add a global control for toggling earpiece mode

This will be used by Element X to show an earpiece toggle button in the header.

* Add an earpiece overlay


* Fix header
The header needs to be passed forward as a string to some components and as a bool (hideHeader) to others.
Also use a enum instead of string options.

* fix top clipping with header


* hide app bar in pip

* revert android overlay app_bar

* Modernize AppBarContext

* Style header icon color as desired and switch earpice/speaker icon

* fix initial selection when using controlled media

* Add "Back to video" button

* fix tests

* remove dead code

* add snapshot test

* fix back to video button

* Request capability to learn the room name

We now need the room name in order to implement the mobile (widget-based) designs with the app bar.

* Test the CallViewModel output switcher directly

---------

Co-authored-by: Timo <toger5@hotmail.de>
2025-06-26 11:08:57 +02:00
Timo
337d09cd4d Use the platform property for ios detection (#3360) 2025-06-24 14:25:05 +02:00
Timo
a507bcde90 Add onBackButtonPressed controls api (#3357)
* Add `onBackButtonPressed` controls api

* Update docs/controls.md

Co-authored-by: Robin <robin@robin.town>

---------

Co-authored-by: Robin <robin@robin.town>
2025-06-24 08:46:04 +00:00
fkwp
378d59e948 prettier 2025-06-10 14:27:15 +02:00
fkwp
a07dbe645e tools section to self-hosting guide and adding Matrixtester to it 2025-06-10 14:24:59 +02:00
Timo
a596eb71a9 add onAudioPlaybackStarted callback for controls (#3309)
* add onAudioTrackReady callback for controls

* more details in controls.md for `onAudioPlaybackStarted`
2025-06-10 12:35:04 +02:00
Robin
78c59bb41c Fix formatting 2025-05-22 14:03:33 -04:00
Timo
269565d317 Update docs/url-params.md
Co-authored-by: Robin <robin@robin.town>
2025-05-22 19:28:20 +02:00
Timo
f0403c80bc also add non deprecated audio url parameter 2025-05-22 19:18:04 +02:00
Timo
fa0b5210fe Update docs/controls.md
Co-authored-by: Robin <robin@robin.town>
2025-05-22 19:07:47 +02:00
Timo
9f84a5cae0 Deprecate old naming and introduce new words 2025-05-22 18:58:18 +02:00
Timo
a056a28423 review 2025-05-21 12:53:17 +02:00
Timo
a1759a46de rename everything to controlledMediaDevices to make it consistent with the actual name in the url parameters (controlledOutput is now only used for the hook that provides the output handle) 2025-05-20 15:30:02 +02:00
Timo
7f4b0a33f6 isBluetooth -> isExternalHeadset 2025-05-16 17:06:54 +02:00
Timo
35963bbc9e Add flags to optimize EC device handling 2025-05-16 15:50:19 +02:00
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