GleasonK / AndroidRTC

An example of WebRTC natively on Android using PubNub for signaling.

Home Page:http://kevingleason.me/AndroidRTC/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

http://kevingleason.me/AndroidRTC/ not works

felizarazol opened this issue · comments

When running the code on this page, the following error message:
pubnub.min.js:60 Mixed Content: The page at 'https://kevingleason.me/AndroidRTC/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://ps2.pubnub.com/time/0?uuid=ExteBAn123&pnsdk=PubNub-JS-Web%2F3.6.7'. This request has been blocked; the content must be served over HTTPS.

same here

commented

for me also,same problem,

A quick fix is to host it somewhere and modify pubnub-dev.js line 967 to this:
var ORIGIN = 'https://' + (setup['origin'] || 'pubsub.pubnub.com');
This makes sure that it uses https instead of http.