stephenlb / webrtc-sdk

WebRTC Simple Calling API + Mobile SDK - A simplified approach to RTCPeerConnection for mobile and web video calling apps.

Home Page:https://stephenlb.github.io/webrtc-sdk/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

It doesn't work.

Feuerhamster opened this issue · comments

Hello,

Ive seen this easy Web-RTC application on this site: https://www.pubnub.com/blog/2014-10-21-building-a-webrtc-video-and-voice-chat-application/

But this demo site doesn't work.
When i put the call link into another browser, it do nothing.
What can i do?

var phone = PHONE({
    number        : '1234567890',
    publish_key   : 'pub-c-561a7378-fa06-4c50-a331-5c0056d0163c', <-- Chnage
    subscribe_key : 'sub-c-17b7db8a-3915-11e4-9868-02ee2ddab7fe', <-- Change
    media         : { audio : true, video : true },
    ssl           : true
})

One of the simple changes you might have over looked is to change your Pub / Sub Keys.

Also, where are you attempting to run this project? Are you using the simple python server in the repo?
You can try making this project your GitHub pages, https://pages.github.com to have the project live and it's easier to share with friends.

I've run the project on a local Xampp Server.
But on the demo page it doesn't work too.

That link you shared is not a https / ssl page. Try this instance. https://www.pubnub.com/developers/demos/webrtc/