summaryrefslogtreecommitdiff
path: root/client-web/source/protocol
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-04-29 20:12:56 +0200
committermetamuffin <metamuffin@disroot.org>2024-04-29 20:14:26 +0200
commit4f926ff6baff0621e3fa0cb5873b082f9ef963b2 (patch)
tree00554f842a7e8c67ca7a5344f6eaabefcdec5bcb /client-web/source/protocol
parentec1f16b65aa731b868ab7343f9fe539aaae9202a (diff)
downloadkeks-meet-4f926ff6baff0621e3fa0cb5873b082f9ef963b2.tar
keks-meet-4f926ff6baff0621e3fa0cb5873b082f9ef963b2.tar.bz2
keks-meet-4f926ff6baff0621e3fa0cb5873b082f9ef963b2.tar.zst
stream previews on requestv1.1.0
Diffstat (limited to 'client-web/source/protocol')
-rw-r--r--client-web/source/protocol/mod.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/client-web/source/protocol/mod.ts b/client-web/source/protocol/mod.ts
index 805600d..d554820 100644
--- a/client-web/source/protocol/mod.ts
+++ b/client-web/source/protocol/mod.ts
@@ -87,6 +87,7 @@ export class SignalingConnection {
this.websocket.send(JSON.stringify(data))
}
async send_relay(data: RelayMessage, recipient?: number | null) {
+ log("ws", "->", data, recipient ? recipient : " ")
recipient ??= undefined // null -> undefined
const packet: RelayMessageWrapper = { inner: data, sender: this.my_id! }
const message = await encrypt(this.key!, JSON.stringify(packet))