Quickblox does not work with subdomain URL

I have several URLs for the same domain, but there is an additional domain in its contents, like the following

admin.projectname.com 
doctor.projectname.com
etc..

Here the quickblox call does not work with these URLs and gives the following error:

NavigatorUserMediaError {
    name: "PermissionDeniedError",
    message: "Only secure origins are allowed.",
    constraintName: ""
} app.js:577 4

I am using quickblox and found some solution like quickblox, works only with localhost and https SSL , but I want it to work with this type of URL.

It already works with localhost, but I want to run it with the localhost virtual domain.

Please help me with this. let me know if any request.

+4
source share
1 answer

UserMedia, . , HTTPS , , localhost.

, SSL- ( ) , , --unsafely-treat-insecure-origin-as-secure="admin.projectname.com".

. https://www.chromium.org/Home/chromium-security/deprecating-powerful-features-on-insecure-origins .

+2

Source: https://habr.com/ru/post/1652943/


All Articles