[Web] Use web client over file:// urls #297
Labels
ADO Linked
This issue has an ADO Item on our ADO.
Bug
Something isn't working
Calling
Issue involves Calling functionality.
JavaScript
Issues involving the JavaScript SDK
Describe the bug
The web SDK requires HTTPS or localhost, as WebRTC APIs require a secure context.
file:// URLs are also considered secure, but are not allowed by the SDK.
The SDK currently throws an exception if
"https:" !== location.protocol && "localhost" !== location.hostname
Expected behavior
The web SDK should work if opened through a file:// URL.
The text was updated successfully, but these errors were encountered: