@exotel-npm-dev/webrtc-client-sdk 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Changelog ADDED
@@ -0,0 +1,9 @@
1
+ Change Log
2
+
3
+ ## 17 Aug,2023
4
+ -[VWS-15] upgrade webrtc-core-sdk to 1.0.6
5
+
6
+ ## 21 Jul,2023
7
+
8
+ ### fixes
9
+ - [VWS-14] upgrade webrtc-core-sdk to 1.0.5
@@ -0,0 +1,4 @@
1
+ #openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem
2
+
3
+ rm -rf dist;cd ..;npm uninstall @exotel-npm-dev/webrtc-core-sdk;npm install ../webrtc-core-sdk;npm run build;cp -r dist demo-non-npm/;cd demo-non-npm;
4
+ http-server -S -C ~/pki/cert.pem -K ~/pki/key.pem
@@ -29,6 +29,9 @@ function registerToggle() {
29
29
  function CallListenerCallback(callObj, eventType, phone) {
30
30
  call = exWebClient.getCall();
31
31
  document.getElementById("call_status").innerHTML = eventType +" "+phone;
32
+ if(eventType == "incoming") {
33
+ acceptCall();
34
+ }
32
35
  }
33
36
 
34
37
  function RegisterEventCallBack (state, phone){
@@ -37,6 +40,7 @@ function CallListenerCallback(callObj, eventType, phone) {
37
40
  document.getElementById("registerButton").innerHTML = "UNREGISTER";
38
41
  } else {
39
42
  document.getElementById("registerButton").innerHTML = "REGISTER";
43
+
40
44
  }
41
45
 
42
46
  }
@@ -0,0 +1 @@
1
+ export default __webpack_public_path__ + "2fbb7f0f87f09e54287f342b151bcc44.wav";