mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-26 13:04:10 +01:00
Add lifetime back
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
bd6644b6ee
commit
455fca8a0e
|
|
@ -5,6 +5,7 @@
|
||||||
"version" : "1",
|
"version" : "1",
|
||||||
"party_id": "67890",
|
"party_id": "67890",
|
||||||
"call_id": "12345",
|
"call_id": "12345",
|
||||||
|
"lifetime": 10000,
|
||||||
"description": {
|
"description": {
|
||||||
"type" : "offer",
|
"type" : "offer",
|
||||||
"sdp" : "v=0\r\no=- 6584580628695956864 2 IN IP4 127.0.0.1[...]"
|
"sdp" : "v=0\r\no=- 6584580628695956864 2 IN IP4 127.0.0.1[...]"
|
||||||
|
|
|
||||||
|
|
@ -59,8 +59,15 @@ properties:
|
||||||
required:
|
required:
|
||||||
- type
|
- type
|
||||||
- sdp
|
- sdp
|
||||||
|
lifetime:
|
||||||
|
type: integer
|
||||||
|
description: The time in milliseconds that the invite is valid for.
|
||||||
|
Once the invite age exceeds this value, clients should discard it.
|
||||||
|
They should also no longer show the call as awaiting an answer in the
|
||||||
|
UI.
|
||||||
required:
|
required:
|
||||||
- description
|
- description
|
||||||
|
- lifetime
|
||||||
type:
|
type:
|
||||||
type: string
|
type: string
|
||||||
enum:
|
enum:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue