schema: Add setting allowing to use SDES

Key exchanges in SDES can only be done securely with TLS and the option
is disabled by default if not using TLS as the transport protocol.

This setting allows to override this behaviour if the user desires
it (f.e. if the user considers the network his packets go through to be trusted).
This commit is contained in:
Evangelos Ribeiro Tzaras
2022-05-09 17:52:05 +02:00
parent 1a51ce0e40
commit 30148cebe3
3 changed files with 56 additions and 3 deletions

View File

@@ -45,5 +45,8 @@ void calls_settings_set_autoload_plugins (CallsSettings
char **calls_settings_get_preferred_audio_codecs (CallsSettings *self);
void calls_settings_set_preferred_audio_codecs (CallsSettings *self,
const char * const *codecs);
gboolean calls_settings_get_always_allow_sdes (CallsSettings *self);
void calls_settings_set_always_allow_sdes (CallsSettings *self,
gboolean enabled);
G_END_DECLS