I'm trying to develop a "video conferencing" site.
I'm using PeerJs.
Browsers require that the site page be HTTPS
.
The problem is that when you call biblioteca PeerJs
, it has a call HTTP e não HTTPS
.
Then it returns the error:
peer.js: 861 Mixed Content: The page at ' link ?' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint ' link '. This request has been blocked; the content must be served over HTTPS
That is, the PeerJs library itself does not allow you to complete the site, as all calls should be HTTPS, and within the PeerJs library it calls HTTP.
Has anyone ever experienced this situation using PeerJs or something similar to solve?
Is there another way to solve this problem?