webrtc - How to hook into XirSys' signaling server instead of Priologic -


i'm using easyrtc develop video chat app. ice configuration set following guide on xirsys site:

easyrtc.on("geticeconfig", function(connectionobj, callback){   var iceconfig = [];    request.post('https://api.xirsys.com/geticeservers', {     form: {         ident: '***',         secret: '***',         domain: '***',         application: 'default',         room: 'default',         secure: 1     },   },   function (error, response, body) {     console.log(arguments);     if (!error && response.statuscode == 200) {         iceconfig = json.parse(body).d.iceservers;         console.log(iceconfig);         callback(null, iceconfig);     }     else {         console.log(error);     }   }); }); 

it's working, can run easyrtc demos there's no stun/turn hit in xirsys console. suspect because app still using public signaling server priologic.

the documentation on xirsys' site mentions "later tutorial" how change signaling server couldn't find any.

does know how it?

thanks.

update problem seems persist after migrating new platform version , changing request above with:

request({             url: 'https://service.xirsys.com/ice',             qs: {                 ident: '***',                 secret: '***',                 domain: '***',                 application: "default",                 room: "default",                 secure: 1             },             json: true         },         function(error, response, body) {             if (!error && response.statuscode == 200) {                 iceconfig = body.d.iceservers;                 callback(null, iceconfig);             } else {                 console.log(error);             }         }); 

i answered question directly via email, consistency, update here well.

the new xirsys platform went live, yesterday, has full usage monitoring capabilities within dashboard. please give go, remember meters not update until 10 minutes after disconnection turn server. also, may use wireshark or other network sniffer, accurately see how connections failing / working.

many thanks, lee cto @ xirsys


Comments

Popular posts from this blog

How to connect android app to App engine -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

php - display validation error message next to the textbox in codeigniter -