Skip to content

Commit 989c1ac

Browse files
Add videobellen
1 parent d76d443 commit 989c1ac

11 files changed

+126
-11
lines changed

kustomization.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,6 @@ resources:
1212
- manifests/mailcatcher/
1313
- manifests/synapse/
1414
- manifests/element-web/
15+
- manifests/livekit-jwt/
16+
- manifests/element-call/
1517

manifests/element-call/config.json

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
{
22
"default_server_config": {
33
"m.homeserver": {
4-
"base_url": "https://call.chat.la-suite.apps.digilab.network",
5-
"server_name": "lasuite"
4+
"base_url": "https://matrix.chat.la-suite.apps.digilab.network",
5+
"server_name": "LaSuite"
66
}
77
},
88
"livekit": {
99
"livekit_service_url": "https://livekit-jwt.chat.la-suite.apps.digilab.network"
1010
},
1111
"features": {
12+
"feature_group_calls_without_video_and_audio": true,
1213
"feature_use_device_session_member_events": true
13-
}
14+
},
15+
"media_devices": {
16+
"enable_audio": true,
17+
"enable_video": true
18+
},
19+
"app_prompt": true
1420
}

manifests/element-call/deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ spec:
1818
- name: element-call
1919
image: ghcr.io/element-hq/element-call:v0.7.1
2020
ports:
21-
- containerPort: 8000
21+
- containerPort: 8080
2222
volumeMounts:
2323
- name: element-call-config
2424
mountPath: /app/config.json

manifests/element-call/ingress.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ metadata:
44
name: ing
55
annotations:
66
cert-manager.io/cluster-issuer: letsencrypt-prod
7-
nginx.ingress.kubernetes.io/rewrite-target: /index.html
87
spec:
98
rules:
109
- host: "call.chat.la-suite.apps.digilab.network"
@@ -16,7 +15,7 @@ spec:
1615
service:
1716
name: svc
1817
port:
19-
number: 8000
18+
number: 8080
2019
tls:
2120
- hosts:
2221
- call.chat.la-suite.apps.digilab.network

manifests/element-call/service.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ metadata:
44
name: svc
55
spec:
66
ports:
7-
- port: 8000
7+
- port: 8080
88
protocol: TCP
9-
targetPort: 8000
9+
targetPort: 8080
1010
selector:
1111
app: element-call

manifests/livekit-jwt/deployment.yaml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
apiVersion: apps/v1
2+
kind: Deployment
3+
metadata:
4+
name: dpl
5+
labels:
6+
app: element-livekit-jwt
7+
spec:
8+
replicas: 1
9+
selector:
10+
matchLabels:
11+
app: element-livekit-jwt
12+
template:
13+
metadata:
14+
labels:
15+
app: element-livekit-jwt
16+
spec:
17+
containers:
18+
- name: element-livekit-jwt
19+
image: ghcr.io/element-hq/lk-jwt-service:0.1.2
20+
ports:
21+
- containerPort: 8080
22+
env:
23+
- name: LIVEKIT_URL
24+
value: "ws://livekit.meet.la-suite.apps.digilab.network"
25+
envFrom:
26+
- secretRef:
27+
name: sec
28+
29+
30+

manifests/livekit-jwt/ingress.yaml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
apiVersion: networking.k8s.io/v1
2+
kind: Ingress
3+
metadata:
4+
name: ing
5+
annotations:
6+
cert-manager.io/cluster-issuer: letsencrypt-prod
7+
spec:
8+
rules:
9+
- host: "livekit-jwt.chat.la-suite.apps.digilab.network"
10+
http:
11+
paths:
12+
- path: /
13+
pathType: Prefix
14+
backend:
15+
service:
16+
name: svc
17+
port:
18+
number: 8080
19+
tls:
20+
- hosts:
21+
- livekit-jwt.chat.la-suite.apps.digilab.network
22+
secretName: element-livekit-jwt-tls
+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
4+
namePrefix: element-livekitjwt-
5+
6+
resources:
7+
- deployment.yaml
8+
- service.yaml
9+
- ingress.yaml
10+
- secret.yaml

manifests/livekit-jwt/secret.yaml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
apiVersion: v1
2+
kind: Secret
3+
metadata:
4+
name: sec
5+
type: Opaque
6+
stringData:
7+
LIVEKIT_KEY: ENC[AES256_GCM,data:Uikj9Z5nqc+TMzcj4XZc,iv:Us0mgk8JmjLMZSQwM6Bp+mTwqFkbTAOtGVQsw/FpZ64=,tag:GSdDwZMy4RmvN86BqEVEyg==,type:str]
8+
LIVEKIT_SECRET: ENC[AES256_GCM,data:SqbHCXVpbi67E5BiMvn3HtSVu3KJIXY0G5bPhBulZtKiBhierdpwUOcnXYY=,iv:we3fNR2pZYNaGhpE+3ZRSH0Trrc2r3LYuUmiZsT6jSE=,tag:LOsOgKNUYUP7yF9QdmUl0A==,type:str]
9+
sops:
10+
kms: []
11+
gcp_kms: []
12+
azure_kv: []
13+
hc_vault: []
14+
age:
15+
- recipient: age12wqzdg27tdlumxeg4qcr6pcypa9lpmtzwgtvulkcjlz6s9dmes5skdfazk
16+
enc: |
17+
-----BEGIN AGE ENCRYPTED FILE-----
18+
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBmcVRCSWJKcDU4SWZNakd6
19+
cy9PSnB4M3QyRG91UHVsNTZYT0JhSG5EOVJnCkpLQjdOL0hhTVJ5clZER0NmN3B3
20+
ZlQ1dllxVnJqZ3lIeDhERG5sRVpOQTgKLS0tIHZrYXdhSGx4UDQvRDU4VkEwVWkr
21+
NW5aTEJtaFpOaG1xVDZVeldaWXhYc0EKZKOnAUwcnQWp3hHmHImNPtz0nzjPgMTd
22+
fYobLJTJT+IjtEBIRLnsy8CaHm94dfUJ5GzMC/wj4Vg5Q/q5mzsn1A==
23+
-----END AGE ENCRYPTED FILE-----
24+
lastmodified: "2025-03-05T07:56:41Z"
25+
mac: ENC[AES256_GCM,data:YJQV+MA0Xx7MKyEr20yiKJEmx2v41oSyYQxM4UcJtO+AQ4n5H+rPP3bnr5hWmCDTlaTjVL8Kz1xmY+BayZUTIroonnjjYgj097focCtF0Ak7FDxnopzeglXlPf9Zj3Wbnu3UrjzTdgdNbAF/i74oEztPA0Nw79LlV9lAc06pujk=,iv:GiUINroQikUbk5BLjtRs9lvbnlJMXyD+U8/Q0LfZXbI=,tag:Mm8F/PHGWLQ342LiZ7Y5Yw==,type:str]
26+
pgp: []
27+
encrypted_regex: ^(data|stringData)$
28+
version: 3.8.1

manifests/livekit-jwt/service.yaml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
apiVersion: v1
2+
kind: Service
3+
metadata:
4+
name: svc
5+
spec:
6+
ports:
7+
- port: 8080
8+
protocol: TCP
9+
targetPort: 8080
10+
selector:
11+
app: element-livekit-jwt

manifests/synapse/homeserver.yaml

+10-3
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ email:
8484

8585
# temporarily boost rate-limits to avoid breaking WIP MatrixRTC signalling
8686
rc_message:
87-
per_second: 2
88-
burst_count: 15
87+
per_second: 0.5
88+
burst_count: 30
8989

9090
# The maximum allowed duration by which sent events can be delayed, as
9191
# per MSC4140. Must be a positive value if set. Defaults to no
@@ -147,4 +147,11 @@ user_directory:
147147
auto_accept_invites:
148148
enabled: true
149149
only_for_direct_messages: true
150-
only_from_local_users: true
150+
only_from_local_users: true
151+
152+
153+
experimental_features:
154+
# MSC3266: Room summary API. Used for knocking over federation
155+
msc3266_enabled: true
156+
# MSC4222 needed for syncv2 state_after. This allow clients to correctly track the state of the room.
157+
msc4222_enabled: true

0 commit comments

Comments
 (0)