Skip to content

Commit a0d7780

Browse files
fkwptoger5
andauthored
Allow multiple MatrixRTC sessions per room (#3451)
* bump js-sdk to Allow multiple rtc sessions per room (with different sessionDescriptions) * Allow new state key string-packing format for widget mode * bump js-sdk to latest version (with merged multi session PR) Signed-off-by: Timo K <[email protected]> --------- Signed-off-by: Timo K <[email protected]> Co-authored-by: Timo K <[email protected]>
1 parent 94085bf commit a0d7780

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/widget.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ export const widget = ((): WidgetHelpers | null => {
120120

121121
const sendState = [
122122
userId, // Legacy call membership events
123-
`_${userId}_${deviceId}`, // Session membership events
124-
`${userId}_${deviceId}`, // The above with no leading underscore, for room versions whose auth rules allow it
123+
`_${userId}_${deviceId}_m.call`, // Session membership events
124+
`${userId}_${deviceId}_m.call`, // The above with no leading underscore, for room versions whose auth rules allow it
125125
].map((stateKey) => ({
126126
eventType: EventType.GroupCallMemberPrefix,
127127
stateKey,

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10279,8 +10279,8 @@ __metadata:
1027910279
linkType: hard
1028010280

1028110281
"matrix-js-sdk@github:matrix-org/matrix-js-sdk#head=develop":
10282-
version: 37.12.0
10283-
resolution: "matrix-js-sdk@https://github.com/matrix-org/matrix-js-sdk.git#commit=c4e1e0723e3674725f8ed9cda5be7a7efe304e29"
10282+
version: 37.13.0
10283+
resolution: "matrix-js-sdk@https://github.com/matrix-org/matrix-js-sdk.git#commit=2abf7ca7955a283d1532ab9946e21dae8241627a"
1028410284
dependencies:
1028510285
"@babel/runtime": "npm:^7.12.5"
1028610286
"@matrix-org/matrix-sdk-crypto-wasm": "npm:^15.1.0"
@@ -10296,7 +10296,7 @@ __metadata:
1029610296
sdp-transform: "npm:^2.14.1"
1029710297
unhomoglyph: "npm:^1.0.6"
1029810298
uuid: "npm:11"
10299-
checksum: 10c0/e8f97b90ded9e46bdd803dde9861e178c76741999c224cbc869ad38695f300702405e5c365e270663b90e2a317b646bbf2b9e9bd7d51ffce36e6d2ca3ab29ed9
10299+
checksum: 10c0/32e1bdad4d55b12cbcc1874fa9e3b9b8e53ce9f9d848ec35e20061e85b6662ed132214969315ebbd12bcd61cb58ce42c059c345ef21e4b04f9d1bb7b691147b6
1030010300
languageName: node
1030110301
linkType: hard
1030210302

0 commit comments

Comments
 (0)