diff sat/core/constants.py @ 4056:1c4f4aa36d98

plugin XEP-0167: Jingle RTP Sessions implementation: rel 420
author Goffi <goffi@goffi.org>
date Mon, 29 May 2023 13:38:10 +0200
parents c484c2609275
children
line wrap: on
line diff
--- a/sat/core/constants.py	Mon May 29 13:32:40 2023 +0200
+++ b/sat/core/constants.py	Mon May 29 13:38:10 2023 +0200
@@ -22,7 +22,7 @@
 except ImportError:
     BaseDirectory = None
 from os.path import dirname
-from typing_extensions import Final
+from typing import Final
 import sat
 
 
@@ -327,8 +327,11 @@
 
     ## action constants ##
     META_TYPE_FILE = "file"
+    META_TYPE_CALL = "call"
     META_TYPE_OVERWRITE = "overwrite"
     META_TYPE_NOT_IN_ROSTER_LEAK = "not_in_roster_leak"
+    META_SUBTYPE_CALL_AUDIO = "audio"
+    META_SUBTYPE_CALL_VIDEO = "video"
 
     ## HARD-CODED ACTIONS IDS (generated with uuid.uuid4) ##
     AUTHENTICATE_PROFILE_ID = "b03bbfa8-a4ae-4734-a248-06ce6c7cf562"