matrix-spec/data/event-schemas/schema/m.call.answer.yaml
Kévin Commaille ba960f8d32
Improve "Voice over IP" module of CS API (#2374)
* Convert m.call.* schemas syntax to YAML

For consistency.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>

* Clarify user ID format in m.call.invite

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>

* Add links to definitions

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>

* Improve call schemas

To look more consistent with other schemas.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>

* Clarify URI format in GET /voip/turnServer

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>

* Add changelog

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>

* Fix regex

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>

---------

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
2026-05-12 16:36:31 +01:00

38 lines
903 B
YAML

$schema: https://json-schema.org/draft/2020-12/schema
type: object
description: This event is sent by the callee when they wish to answer the call.
x-weight: 40
allOf:
- $ref: core-event-schema/room_event.yaml
properties:
content:
type: object
allOf:
- $ref: core-event-schema/call_event.yaml
properties:
answer:
type: object
title: Answer
description: The session description object
properties:
type:
type: string
enum:
- answer
description: The type of session description.
sdp:
type: string
description: The SDP text of the session description.
required:
- type
- sdp
sdp_stream_metadata:
$ref: components/sdp_stream_metadata.yaml
required:
- answer
type:
type: string
enum:
- m.call.answer