xirsys / demo-sharedbrowsing

Shared Browsing Application with Xirsys and Pubnub
0 stars 1 forks source link

How do i specify authKey for pubnub #1

Open rp-happiestbaby opened 7 years ago

rp-happiestbaby commented 7 years ago

Hi, Im getting error {"message":"Forbidden","payload":{"channels":["Channel-webrtc"]},"error":true,"service":"Access Manager","status":403} So I authorized My channel with key "test" Im trying to add authKey in this config but auth key is not included to url

        number        : "Channel-webrtc",
        publish_key   : 'pub-XXXXXXX',
        subscribe_key : 'sub-XXXXXXXXXX',
        onaddstream   : addRemoteVideo,//add custom handling for remote users video.
        authKey       : "test",   
        ssl           : true

Can you help on this ?

jerrychabolla commented 7 years ago

Hey rp,

Unfortunately this example was built on an older version of WebRTC, we have yet to upgrade it to handle a secure environment correctly. We may consider updating this in the future.

rp-happiestbaby commented 7 years ago

To be honest I need html sample working with xirsys and pubnub with just filling key. Do you have one ?