mirror of
https://github.com/vector-im/element-call.git
synced 2026-01-18 02:32:27 +00:00
* add sticky event support - use new js-sdk - use custom synapse - don't filter rooms by existing call state events Signed-off-by: Timo K <toger5@hotmail.de> * enable sticky events in the joinSessionConfig Signed-off-by: Timo K <toger5@hotmail.de> * Remove unused useNewMembershipmanager setting * Add prefer sticky setting] * Fixup call detection logic to allow sticky events * lint * update docker image * More tidy * update checksum * bump js-sdk fix sticky events type Signed-off-by: Timo K <toger5@hotmail.de> * fix demo Signed-off-by: Timo K <toger5@hotmail.de> * always use multi sfu if we are using sticky events. Signed-off-by: Timo K <toger5@hotmail.de> * review Signed-off-by: Timo K <toger5@hotmail.de> * lint Signed-off-by: Timo K <toger5@hotmail.de> * Always consider multi-SFU mode enabled when using sticky events CallViewModel would pass the wrong transport to enterRtcSession when the user enabled sticky events but didn't manually enable multi-SFU mode as well. This likely would've added some confusion to our attempts to test these modes. * Fix test type errors * add todo comment Signed-off-by: Timo K <toger5@hotmail.de> --------- Signed-off-by: Timo K <toger5@hotmail.de> Co-authored-by: Half-Shot <will@half-shot.uk> Co-authored-by: Robin <robin@robin.town>
67 lines
2.0 KiB
YAML
67 lines
2.0 KiB
YAML
server_name: "synapse.m.localhost"
|
|
public_baseurl: https://synapse.m.localhost/
|
|
|
|
pid_file: /data/homeserver.pid
|
|
|
|
listeners:
|
|
- port: 8008
|
|
tls: false
|
|
type: http
|
|
x_forwarded: true
|
|
resources:
|
|
- names: [client, federation, openid]
|
|
compress: false
|
|
|
|
database:
|
|
name: sqlite3
|
|
args:
|
|
database: /data/homeserver.db
|
|
|
|
media_store_path: /data/media_store
|
|
signing_key_path: "/data/SERVERNAME.signing.key"
|
|
|
|
# Due to custom TLS certificate with domains
|
|
# - m.localhost, localhost
|
|
# - *.m.localhost
|
|
# - *.othersite.m.localhost
|
|
# we disable certificate verification to allow for federation.
|
|
# WARNING: DO NOT USE IN PRODUCTION!!!
|
|
federation_verify_certificates: false
|
|
ip_range_blacklist: []
|
|
trusted_key_servers:
|
|
- server_name: "synapse.othersite.m.localhost"
|
|
accept_keys_insecurely: true
|
|
|
|
experimental_features:
|
|
# MSC3266: Room summary API. Used for knocking over federation
|
|
msc3266_enabled: true
|
|
# MSC4222 needed for syncv2 state_after. This allow clients to
|
|
# correctly track the state of the room.
|
|
msc4222_enabled: true
|
|
# sticky events for matrixRTC user state
|
|
msc4354_enabled: true
|
|
|
|
# The maximum allowed duration by which sent events can be delayed, as
|
|
# per MSC4140. Must be a positive value if set. Defaults to no
|
|
# duration (null), which disallows sending delayed events.
|
|
max_event_delay_duration: 24h
|
|
|
|
# Required for Element Call in Single Page Mode due to on-the-fly user registration
|
|
enable_registration: true
|
|
enable_registration_without_verification: true
|
|
|
|
report_stats: false
|
|
serve_server_wellknown: true
|
|
|
|
# Ratelimiting settings for client actions (registration, login, messaging).
|
|
#
|
|
# Each ratelimiting configuration is made of two parameters:
|
|
# - per_second: number of requests a client can send per second.
|
|
# - burst_count: number of requests a client can send before being throttled.
|
|
|
|
rc_message:
|
|
# This needs to match at least the heart-beat frequency plus a bit of headroom
|
|
# Currently the heart-beat is every 5 seconds which translates into a rate of 0.2s
|
|
per_second: 0.5
|
|
burst_count: 30
|