-
-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for muting in VoIP calls (#1755)
As per MSC3291. Signed-off-by: Kévin Commaille <[email protected]>
- Loading branch information
Showing
5 changed files
with
68 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add support for muting in VoIP calls, as per [MSC3291](https://github.com/matrix-org/matrix-spec-proposals/pull/3291). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
data/event-schemas/examples/m.call.sdp_stream_metadata_changed.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"$ref": "core/room_event.json", | ||
"type": "m.call.sdp_stream_metadata_changed", | ||
"content": { | ||
"version": "1", | ||
"call_id": "1414213562373095", | ||
"party_id": "1732050807568877", | ||
"sdp_stream_metadata": { | ||
"2311546231": { | ||
"purpose": "m.usermedia", | ||
"audio_muted:": true, | ||
"video_muted": true | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
data/event-schemas/schema/m.call.sdp_stream_metadata_changed.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
type: object | ||
x-addedInMatrixVersion: "1.11" | ||
description: |- | ||
This event is sent by callers when they wish to update a stream's metadata | ||
but no negotiation is required. | ||
allOf: | ||
- $ref: core-event-schema/room_event.yaml | ||
properties: | ||
content: | ||
type: object | ||
allOf: | ||
- $ref: core-event-schema/call_event.yaml | ||
properties: | ||
sdp_stream_metadata: | ||
$ref: components/sdp_stream_metadata.yaml | ||
required: | ||
- sdp_stream_metadata | ||
type: | ||
type: string | ||
enum: | ||
- m.call.sdp_stream_metadata_changed |