Initial video commit
This commit is contained in:
parent
f5c643129e
commit
7b51bcc5e8
@ -181,6 +181,8 @@ const std::vector<ErrorType> ts::avariableErrors = {
|
||||
{0x2202, "conversation_is_private" , "the target conversation is private" },
|
||||
{0x2203, "conversation_not_exists" , "the target conversation does not exists" },
|
||||
|
||||
{0x2300, "rtc_missing_target_channel" , "the target channel does not exists" },
|
||||
|
||||
{0x1200, "query_not_exists" , "query account does not exists" },
|
||||
{0x1201, "query_already_exists" , "query account already exists" },
|
||||
{0x1202, "query_too_many_simultaneously_sessions", "too many simultaneously connected sessions" },
|
||||
|
@ -193,6 +193,8 @@ namespace ts {
|
||||
conversation_is_private = 0x2202,
|
||||
conversation_not_exists = 0x2203,
|
||||
|
||||
rtc_missing_target_channel = 0x2300,
|
||||
|
||||
custom_error = 0xffff
|
||||
};
|
||||
};
|
||||
|
@ -108,10 +108,6 @@ deque<std::shared_ptr<PermissionTypeEntry>> ts::permission::availablePermissions
|
||||
make_shared<PermissionTypeEntry>(PermissionType::b_channel_create_with_topic, PermissionGroup::channel_create, "b_channel_create_with_topic", "Create channels with a topic"),
|
||||
make_shared<PermissionTypeEntry>(PermissionType::b_channel_create_with_description, PermissionGroup::channel_create, "b_channel_create_with_description", "Create channels with a description"),
|
||||
make_shared<PermissionTypeEntry>(PermissionType::b_channel_create_with_password, PermissionGroup::channel_create, "b_channel_create_with_password", "Create password protected channels"),
|
||||
make_shared<PermissionTypeEntry>(PermissionType::b_channel_create_modify_with_codec_speex8, PermissionGroup::channel_create, "b_channel_create_modify_with_codec_speex8", "Create channels using Speex Narrowband (8 kHz) codecs"),
|
||||
make_shared<PermissionTypeEntry>(PermissionType::b_channel_create_modify_with_codec_speex16, PermissionGroup::channel_create, "b_channel_create_modify_with_codec_speex16", "Create channels using Speex Wideband (16 kHz) codecs"),
|
||||
make_shared<PermissionTypeEntry>(PermissionType::b_channel_create_modify_with_codec_speex32, PermissionGroup::channel_create, "b_channel_create_modify_with_codec_speex32", "Create channels using Speex Ultra-Wideband (32 kHz) codecs"),
|
||||
make_shared<PermissionTypeEntry>(PermissionType::b_channel_create_modify_with_codec_celtmono48, PermissionGroup::channel_create, "b_channel_create_modify_with_codec_celtmono48", "Create channels using the CELT Mono (48 kHz) codec"),
|
||||
make_shared<PermissionTypeEntry>(PermissionType::b_channel_create_modify_with_codec_opusvoice, PermissionGroup::channel_create, "b_channel_create_modify_with_codec_opusvoice", "Create channels using OPUS (voice) codec"),
|
||||
make_shared<PermissionTypeEntry>(PermissionType::b_channel_create_modify_with_codec_opusmusic, PermissionGroup::channel_create, "b_channel_create_modify_with_codec_opusmusic", "Create channels using OPUS (music) codec"),
|
||||
make_shared<PermissionTypeEntry>(PermissionType::i_channel_create_modify_with_codec_maxquality, PermissionGroup::channel_create, "i_channel_create_modify_with_codec_maxquality", "Create channels with custom codec quality"),
|
||||
@ -508,10 +504,6 @@ i_group_modify_power,
|
||||
b_channel_create_with_maxfamilyclients,
|
||||
b_channel_create_with_sortorder,
|
||||
b_channel_create_with_default,
|
||||
b_channel_create_modify_with_codec_speex8,
|
||||
b_channel_create_modify_with_codec_speex16,
|
||||
b_channel_create_modify_with_codec_speex32,
|
||||
b_channel_create_modify_with_codec_celtmono48,
|
||||
b_channel_create_modify_with_codec_opusvoice,
|
||||
b_channel_create_modify_with_codec_opusmusic,
|
||||
i_channel_create_modify_with_codec_maxquality,
|
||||
|
@ -162,10 +162,6 @@ namespace ts {
|
||||
b_channel_create_with_topic,
|
||||
b_channel_create_with_description,
|
||||
b_channel_create_with_password,
|
||||
b_channel_create_modify_with_codec_speex8,
|
||||
b_channel_create_modify_with_codec_speex16,
|
||||
b_channel_create_modify_with_codec_speex32,
|
||||
b_channel_create_modify_with_codec_celtmono48,
|
||||
b_channel_create_modify_with_codec_opusvoice,
|
||||
b_channel_create_modify_with_codec_opusmusic,
|
||||
i_channel_create_modify_with_codec_maxquality,
|
||||
|
@ -131,7 +131,7 @@ DEFINE_VARIABLE_TRANSFORM_TYPE(type, ntype)
|
||||
DEFINE_VARIABLE_TRANSFORM(class, VARTYPE_INT, std::to_string((size_type) in), static_cast<class>(in.as<size_type>()));
|
||||
|
||||
DEFINE_VARIABLE_TRANSFORM(std::string, VARTYPE_TEXT, in, in.value());
|
||||
DEFINE_VARIABLE_TRANSFORM(std::string_view, VARTYPE_TEXT, std::string{in}, std::string_view{in});
|
||||
DEFINE_VARIABLE_TRANSFORM(std::string_view, VARTYPE_TEXT, std::string{in}, std::string_view{in.value()});
|
||||
DEFINE_VARIABLE_TRANSFORM(char*, VARTYPE_TEXT, std::string((const char*) in), (char*) in.value().c_str());
|
||||
DEFINE_VARIABLE_TRANSFORM(const char*, VARTYPE_TEXT, std::string((const char*) in), in.value().c_str());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user