From da4c9d88fe2fafc22deb5ac930a1736e6b2a4541 Mon Sep 17 00:00:00 2001 From: Joachim Bauch Date: Wed, 6 Nov 2024 10:14:37 +0100 Subject: [PATCH] Document sending to sessions in the same call. --- docs/standalone-signaling-api-v1.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/standalone-signaling-api-v1.md b/docs/standalone-signaling-api-v1.md index 116a4ea..a182be7 100644 --- a/docs/standalone-signaling-api-v1.md +++ b/docs/standalone-signaling-api-v1.md @@ -868,6 +868,24 @@ Message format (Client -> Server, to all sessions in the same room): } } +Message format (Client -> Server, to all sessions in the same call): + + { + "id": "unique-request-id", + "type": "message", + "message": { + "recipient": { + "type": "call" + }, + "data": { + ...object containing the data to send... + } + } + } + +Sending to the same call is only available if the feature flag `recipient-call` +is present. + Message format (Server -> Client, receive message) {