comparison 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
comparison
equal deleted inserted replaced
4055:38819c69aa39 4056:1c4f4aa36d98
20 from xdg import BaseDirectory 20 from xdg import BaseDirectory
21 from os.path import expanduser, realpath 21 from os.path import expanduser, realpath
22 except ImportError: 22 except ImportError:
23 BaseDirectory = None 23 BaseDirectory = None
24 from os.path import dirname 24 from os.path import dirname
25 from typing_extensions import Final 25 from typing import Final
26 import sat 26 import sat
27 27
28 28
29 class Const(object): 29 class Const(object):
30 30
325 LOG_OPT_OUTPUT_SEP + LOG_OPT_OUTPUT_DEFAULT, 325 LOG_OPT_OUTPUT_SEP + LOG_OPT_OUTPUT_DEFAULT,
326 ) # //default = normal output (stderr or a file with twistd), path/to/file for a file (must be the first if used), //memory for memory (options can be put in parenthesis, e.g.: //memory(500) for a 500 lines memory) 326 ) # //default = normal output (stderr or a file with twistd), path/to/file for a file (must be the first if used), //memory for memory (options can be put in parenthesis, e.g.: //memory(500) for a 500 lines memory)
327 327
328 ## action constants ## 328 ## action constants ##
329 META_TYPE_FILE = "file" 329 META_TYPE_FILE = "file"
330 META_TYPE_CALL = "call"
330 META_TYPE_OVERWRITE = "overwrite" 331 META_TYPE_OVERWRITE = "overwrite"
331 META_TYPE_NOT_IN_ROSTER_LEAK = "not_in_roster_leak" 332 META_TYPE_NOT_IN_ROSTER_LEAK = "not_in_roster_leak"
333 META_SUBTYPE_CALL_AUDIO = "audio"
334 META_SUBTYPE_CALL_VIDEO = "video"
332 335
333 ## HARD-CODED ACTIONS IDS (generated with uuid.uuid4) ## 336 ## HARD-CODED ACTIONS IDS (generated with uuid.uuid4) ##
334 AUTHENTICATE_PROFILE_ID = "b03bbfa8-a4ae-4734-a248-06ce6c7cf562" 337 AUTHENTICATE_PROFILE_ID = "b03bbfa8-a4ae-4734-a248-06ce6c7cf562"
335 CHANGE_XMPP_PASSWD_ID = "878b9387-de2b-413b-950f-e424a147bcd0" 338 CHANGE_XMPP_PASSWD_ID = "878b9387-de2b-413b-950f-e424a147bcd0"
336 339