[mirotalksfu] - add check users from enpoint, improve rec, update dep

هذا الالتزام موجود في:
Miroslav Pejic
2024-02-21 13:24:54 +01:00
الأصل 99a9cd7241
التزام e13c3e5cd5
5 ملفات معدلة مع 50 إضافات و33 حذوفات

عرض الملف

@@ -57,10 +57,14 @@ module.exports = {
/*
Host Protection (default: false)
To enhance host security, enable host protection - user auth and provide valid
usernames and passwords in the users array.
usernames and passwords in the users array or active users_from_db using users_api_endpoint for check.
*/
protected: false,
user_auth: false,
users_from_db: false,
//users_api_endpoint: 'http://localhost:9000/api/v1/user/isAuth',
users_api_endpoint: 'https://webrtc.mirotalk.com/api/v1/user/isAuth',
users_api_secret_key: '91bbfac3-5e39-4583-9123-883b72be505c',
users: [
{
username: 'username',