Add lifetime back

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
Kévin Commaille 2023-06-13 23:53:36 +02:00
parent bd6644b6ee
commit 455fca8a0e
No known key found for this signature in database
GPG key ID: 29A48C1F03620416
2 changed files with 8 additions and 0 deletions

View file

@ -5,6 +5,7 @@
"version" : "1",
"party_id": "67890",
"call_id": "12345",
"lifetime": 10000,
"description": {
"type" : "offer",
"sdp" : "v=0\r\no=- 6584580628695956864 2 IN IP4 127.0.0.1[...]"

View file

@ -59,8 +59,15 @@ properties:
required:
- type
- 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:
- description
- lifetime
type:
type: string
enum: