-
-
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
As per MSC3291. Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
- Loading branch information
Showing
4 changed files
with
74 additions
and
7 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
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.10" | ||
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 |