Я хочу реализовать систему с бэкэндом fastapi, в которой я создаю видеозвонок 1 на 1 с пользователем и из списка врачей.
Пользователь выбирает дату и время, а API проверит и назначит врач и система генерируют URL-адрес видеовызова для пользователя и врача
Я хочу, чтобы была какая-то аутентификация пользователя, но не с помощью всплывающего окна. Я хочу, чтобы jitsi идентифицировал пользователя по такому URL-адресу
https://jitsi.localhost/room_name?jwt=
какие изменения мне нужны в конфигурации? и что мне нужно сделать еще?
`plugin_paths = { "/usr/share/jitsi-meet/prosody-plugins/" }
-- domain mapper options, must at least have domain base set to use the mapper muc_mapper_domain_base = "jitsi-localhost";
external_service_secret = "dxiFRMHr647mUwtC"; external_services = {
{ type = "stun", host = "jitsi-localhost", port = 3478 },
{ type = "turn", host = "jitsi-localhost", port = 3478, transport = "udp", secret = true, ttl = 86400, algorithm = "turn" },
{ type = "turns", host = "jitsi-localhost", port = 5349, transport = "tcp", secret = true, ttl = 86400, algorithm = "turn" } };
cross_domain_bosh = false; consider_bosh_secure = true;
-- https_ports = { }; -- Remove this line to prevent listening on port 5284
-- by default prosody 0.12 sends cors headers, if you want to disable it uncomment the following (the config is available on 0.12.1)
--http_cors_override = {
-- bosh = {
-- enabled = false;
-- };
-- websocket = {
-- enabled = false;
-- };
--}
-- https://ssl-config.mozilla.org/#server= ... deline=5.4 ssl = {
protocol = "tlsv1_2+";
ciphers = "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POL> }
unlimited_jids = {
"focus@auth.jitsi-localhost",
"jvb@auth.jitsi-localhost" }
VirtualHost "jitsi-localhost"
authentication = "token" -- do not delete me
-- Properties below are modified by jitsi-meet-tokens package config
-- and authentication above is switched to "token"
app_id="fake-app-id"
app_secret="fake-app-secret"
-- Assign this host a certificate for TLS, otherwise it would use the one
-- set in the global section (if any).
-- Note that old-style SSL on port 5223 only supports one certificate, and will always
-- use the global one.
ssl = {
key = "/etc/prosody/certs/jitsi-localhost.key";
certificate = "/etc/prosody/certs/jitsi-localhost.crt";
}
av_moderation_component = "avmoderation.jitsi-localhost"
speakerstats_component = "speakerstats.jitsi-localhost"
end_conference_component = "endconference.jitsi-localhost"
-- we need bosh
modules_enabled = {
"bosh";
"ping"; -- Enable mod_ping
"speakerstats";
"external_services";
"conference_duration";
"end_conference";
"muc_lobby_rooms";
"muc_breakout_rooms";
"av_moderation";
"room_metadata";
}
c2s_require_encryption = false
lobby_muc = "lobby.jitsi-localhost"
breakout_rooms_muc = "breakout.jitsi-localhost"
room_metadata_component = "metadata.jitsi-localhost"
main_muc = "conference.jitsi-localhost"
-- muc_lobby_whitelist = { "recorder.jitsi-localhost" } -- Here we can whitelist jibri to enter lobby enabled rooms
Component "conference.jitsi-localhost" "muc"
restrict_room_creation = true
storage = "memory"
modules_enabled = {
"muc_hide_all";
"muc_meeting_id";
"muc_domain_mapper";
"polls";
--"token_verification";
"muc_rate_limit";
"muc_password_whitelist";
}
admins = { "focus@auth.jitsi-localhost" }
muc_password_whitelist = {
"focus@auth.jitsi-localhost"
}
muc_room_locking = false
muc_room_default_public_jids = true
Component "breakout.jitsi-localhost" "muc"
restrict_room_creation = true
storage = "memory"
modules_enabled = {
"muc_hide_all";
"muc_meeting_id";
"muc_domain_mapper";
"muc_rate_limit";
"polls";
}
admins = { "focus@auth.jitsi-localhost" }
muc_room_locking = false
muc_room_default_public_jids = true
-- internal muc component Component "internal.auth.jitsi-localhost" "muc"
storage = "memory"
modules_enabled = {
"muc_hide_all";
"ping";
}
admins = { "focus@auth.jitsi-localhost", "jvb@auth.jitsi-localhost" }
muc_room_locking = false
muc_room_default_public_jids = true
VirtualHost "auth.jitsi-localhost"
ssl = {
key = "/etc/prosody/certs/auth.jitsi-localhost.key";
certificate = "/etc/prosody/certs/auth.jitsi-localhost.crt";
}
modules_enabled = {
"limits_exception";
"smacks";
}
authentication = "internal_hashed"
smacks_hibernation_time = 15;
-- Proxy to jicofo's user JID, so that it doesn't have to register as a component. Component "focus.jitsi-localhost" "client_proxy"
target_address = "focus@auth.jitsi-localhost"
Component "speakerstats.jitsi-localhost" "speakerstats_component"
muc_component = "conference.jitsi-localhost"
Component "endconference.jitsi-localhost" "end_conference"
muc_component = "conference.jitsi-localhost"
Component "avmoderation.jitsi-localhost" "av_moderation_component"
muc_component = "conference.jitsi-localhost"
Component "lobby.jitsi-localhost" "muc"
storage = "memory"
restrict_room_creation = true
muc_room_locking = false
muc_room_default_public_jids = true
modules_enabled = {
"muc_hide_all";
"muc_rate_limit";
"polls";
}
Component "metadata.jitsi-localhost" "room_metadata_component"
muc_component = "conference.jitsi-localhost"
breakout_rooms_component = "breakout.jitsi-localhost"
Подробнее здесь: https://stackoverflow.com/questions/793 ... video-call
Jitsi Meet Conf для видеозвонка 1 на 1 ⇐ Python
Программы на Python
1737427958
Anonymous
Я хочу реализовать систему с бэкэндом fastapi, в которой я создаю видеозвонок 1 на 1 с пользователем и из списка врачей.
Пользователь выбирает дату и время, а API проверит и назначит врач и система генерируют URL-адрес видеовызова для пользователя и врача
Я хочу, чтобы была какая-то аутентификация пользователя, но не с помощью всплывающего окна. Я хочу, чтобы jitsi идентифицировал пользователя по такому URL-адресу
https://jitsi.localhost/room_name?jwt=
какие изменения мне нужны в конфигурации? и что мне нужно сделать еще?
`plugin_paths = { "/usr/share/jitsi-meet/prosody-plugins/" }
-- domain mapper options, must at least have domain base set to use the mapper muc_mapper_domain_base = "jitsi-localhost";
external_service_secret = "dxiFRMHr647mUwtC"; external_services = {
{ type = "stun", host = "jitsi-localhost", port = 3478 },
{ type = "turn", host = "jitsi-localhost", port = 3478, transport = "udp", secret = true, ttl = 86400, algorithm = "turn" },
{ type = "turns", host = "jitsi-localhost", port = 5349, transport = "tcp", secret = true, ttl = 86400, algorithm = "turn" } };
cross_domain_bosh = false; consider_bosh_secure = true;
-- https_ports = { }; -- Remove this line to prevent listening on port 5284
-- by default prosody 0.12 sends cors headers, if you want to disable it uncomment the following (the config is available on 0.12.1)
--http_cors_override = {
-- bosh = {
-- enabled = false;
-- };
-- websocket = {
-- enabled = false;
-- };
--}
-- https://ssl-config.mozilla.org/#server=haproxy&version=2.1&config=intermediate&openssl=1.1.0g&guideline=5.4 ssl = {
protocol = "tlsv1_2+";
ciphers = "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POL> }
unlimited_jids = {
"focus@auth.jitsi-localhost",
"jvb@auth.jitsi-localhost" }
VirtualHost "jitsi-localhost"
authentication = "token" -- do not delete me
-- Properties below are modified by jitsi-meet-tokens package config
-- and authentication above is switched to "token"
app_id="fake-app-id"
app_secret="fake-app-secret"
-- Assign this host a certificate for TLS, otherwise it would use the one
-- set in the global section (if any).
-- Note that old-style SSL on port 5223 only supports one certificate, and will always
-- use the global one.
ssl = {
key = "/etc/prosody/certs/jitsi-localhost.key";
certificate = "/etc/prosody/certs/jitsi-localhost.crt";
}
av_moderation_component = "avmoderation.jitsi-localhost"
speakerstats_component = "speakerstats.jitsi-localhost"
end_conference_component = "endconference.jitsi-localhost"
-- we need bosh
modules_enabled = {
"bosh";
"ping"; -- Enable mod_ping
"speakerstats";
"external_services";
"conference_duration";
"end_conference";
"muc_lobby_rooms";
"muc_breakout_rooms";
"av_moderation";
"room_metadata";
}
c2s_require_encryption = false
lobby_muc = "lobby.jitsi-localhost"
breakout_rooms_muc = "breakout.jitsi-localhost"
room_metadata_component = "metadata.jitsi-localhost"
main_muc = "conference.jitsi-localhost"
-- muc_lobby_whitelist = { "recorder.jitsi-localhost" } -- Here we can whitelist jibri to enter lobby enabled rooms
Component "conference.jitsi-localhost" "muc"
restrict_room_creation = true
storage = "memory"
modules_enabled = {
"muc_hide_all";
"muc_meeting_id";
"muc_domain_mapper";
"polls";
--"token_verification";
"muc_rate_limit";
"muc_password_whitelist";
}
admins = { "focus@auth.jitsi-localhost" }
muc_password_whitelist = {
"focus@auth.jitsi-localhost"
}
muc_room_locking = false
muc_room_default_public_jids = true
Component "breakout.jitsi-localhost" "muc"
restrict_room_creation = true
storage = "memory"
modules_enabled = {
"muc_hide_all";
"muc_meeting_id";
"muc_domain_mapper";
"muc_rate_limit";
"polls";
}
admins = { "focus@auth.jitsi-localhost" }
muc_room_locking = false
muc_room_default_public_jids = true
-- internal muc component Component "internal.auth.jitsi-localhost" "muc"
storage = "memory"
modules_enabled = {
"muc_hide_all";
"ping";
}
admins = { "focus@auth.jitsi-localhost", "jvb@auth.jitsi-localhost" }
muc_room_locking = false
muc_room_default_public_jids = true
VirtualHost "auth.jitsi-localhost"
ssl = {
key = "/etc/prosody/certs/auth.jitsi-localhost.key";
certificate = "/etc/prosody/certs/auth.jitsi-localhost.crt";
}
modules_enabled = {
"limits_exception";
"smacks";
}
authentication = "internal_hashed"
smacks_hibernation_time = 15;
-- Proxy to jicofo's user JID, so that it doesn't have to register as a component. Component "focus.jitsi-localhost" "client_proxy"
target_address = "focus@auth.jitsi-localhost"
Component "speakerstats.jitsi-localhost" "speakerstats_component"
muc_component = "conference.jitsi-localhost"
Component "endconference.jitsi-localhost" "end_conference"
muc_component = "conference.jitsi-localhost"
Component "avmoderation.jitsi-localhost" "av_moderation_component"
muc_component = "conference.jitsi-localhost"
Component "lobby.jitsi-localhost" "muc"
storage = "memory"
restrict_room_creation = true
muc_room_locking = false
muc_room_default_public_jids = true
modules_enabled = {
"muc_hide_all";
"muc_rate_limit";
"polls";
}
Component "metadata.jitsi-localhost" "room_metadata_component"
muc_component = "conference.jitsi-localhost"
breakout_rooms_component = "breakout.jitsi-localhost"
Подробнее здесь: [url]https://stackoverflow.com/questions/79370814/jitsi-meet-conf-for-1-to-1-video-call[/url]
Ответить
1 сообщение
• Страница 1 из 1
Перейти
- Кемерово-IT
- ↳ Javascript
- ↳ C#
- ↳ JAVA
- ↳ Elasticsearch aggregation
- ↳ Python
- ↳ Php
- ↳ Android
- ↳ Html
- ↳ Jquery
- ↳ C++
- ↳ IOS
- ↳ CSS
- ↳ Excel
- ↳ Linux
- ↳ Apache
- ↳ MySql
- Детский мир
- Для души
- ↳ Музыкальные инструменты даром
- ↳ Печатная продукция даром
- Внешняя красота и здоровье
- ↳ Одежда и обувь для взрослых даром
- ↳ Товары для здоровья
- ↳ Физкультура и спорт
- Техника - даром!
- ↳ Автомобилистам
- ↳ Компьютерная техника
- ↳ Плиты: газовые и электрические
- ↳ Холодильники
- ↳ Стиральные машины
- ↳ Телевизоры
- ↳ Телефоны, смартфоны, плашеты
- ↳ Швейные машинки
- ↳ Прочая электроника и техника
- ↳ Фототехника
- Ремонт и интерьер
- ↳ Стройматериалы, инструмент
- ↳ Мебель и предметы интерьера даром
- ↳ Cантехника
- Другие темы
- ↳ Разное даром
- ↳ Давай меняться!
- ↳ Отдам\возьму за копеечку
- ↳ Работа и подработка в Кемерове
- ↳ Давай с тобой поговорим...
Мобильная версия