@exotel-npm-dev/webrtc-client-sdk 1.0.10 → 1.0.11

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/Readme ADDED
@@ -0,0 +1,23 @@
1
+ # Demonstrations
2
+ ## Building
3
+ index.html require exotel sdk bundle.
4
+ Steps to generating webrtc core bundle.
5
+ * go to webrtc client sdk
6
+ `cd <path>/webrtc-client-sdk`
7
+
8
+ * generate core bundle
9
+ ```
10
+ npm install
11
+ npm run build
12
+ ```
13
+
14
+ * `exotelsdk.js` will generate in `dist` directory along with wav files.
15
+ ## Running
16
+ The demos will run in Chrome, Firefox, or other web browsers which supports WebRTC.
17
+ In your web browser, open the `index.html` file in this directory to run the demos.
18
+ ## Development
19
+ This demonstration are build on simple html which provides some basic functionality via a simple interface.
20
+ ## Issues
21
+ ### ringtone not playing
22
+ 1. remove the wav files from `../dist/`.
23
+ 2. copy the wav files from `../assets/sounds` and paste to `demo-non-npm/dist/`.
package/dist/exotelsdk.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * WebRTC CLient SIP version 1.0.10
3
+ * WebRTC CLient SIP version 1.0.11
4
4
  *
5
5
  */
6
6
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -20916,7 +20916,7 @@ function postInit(onInitDoneCallback) {
20916
20916
  }
20917
20917
 
20918
20918
  const dtmf = digit;
20919
- const duration = 2000;
20919
+ const duration = 240;
20920
20920
  const body = {
20921
20921
  contentDisposition: "render",
20922
20922
  contentType: "application/dtmf-relay",