Skip to content

Commit

Permalink
qa branch of webSDK pointing to qa in webSDK application
Browse files Browse the repository at this point in the history
  • Loading branch information
altanai committed Jul 5, 2018
1 parent f1cb89a commit 6eefbfa
Show file tree
Hide file tree
Showing 9 changed files with 16,619 additions and 31,493 deletions.
Binary file modified .DS_Store
Binary file not shown.
2,141 changes: 1,276 additions & 865 deletions v2-0-beta.html

Large diffs are not rendered by default.

2,781 changes: 1,593 additions & 1,188 deletions v2-0.html

Large diffs are not rendered by default.

Binary file modified webApp-plivo/public/.DS_Store
Binary file not shown.
13 changes: 10 additions & 3 deletions webApp-plivo/public/js/customclient.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,14 @@ function onPermissionNeeded(obj){
}

function onConnectionChange(obj){
customAlert( obj.state + " "+ obj.status , "info");
console.log('onConnectionChange: ', obj);
if(obj.state === "connected" ){
customAlert( obj.state , "info");
}else if(obj.state === "disconnected"){
customAlert( obj.state + " "+ obj.eventCode +" "+ obj.eventReason , "info");
}else{
console.log("unknown connection state ");
}
}

function onWebrtcNotSupported() {
Expand Down Expand Up @@ -633,7 +640,7 @@ $('#sendFeedback').click(function(){
return;
}
var sendConsoleLogs = document.getElementById("sendConsoleLogs").checked;
plivoWebSdk.client.sendQualityFeedback(lastCallid,score,comment , sendConsoleLogs);
plivoWebSdk.client.sendQualityFeedback(lastCallid, score , comment , sendConsoleLogs);

customAlert('Quality feedback ',lastCallid);
});
Expand Down Expand Up @@ -764,7 +771,7 @@ micTest.onclick = function(){
clearRecPlayer.onclick = function(){
$('#recPlayerLayout').hide();
}
if(document.querySelector('streamAudioFile')){
if(document.querySelector('#streamAudioFile')){
streamAudioFile.onchange = function(){
if(audioStreamContext){
audioStreamContext.close();
Expand Down
Loading

0 comments on commit 6eefbfa

Please sign in to comment.