@exotel-npm-dev/webrtc-client-sdk 1.0.10 → 1.0.12
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 +4 -1
- package/Makefile +16 -0
- package/Readme +23 -0
- package/dist/exotelsdk.js +492 -221
- package/dist/exotelsdk.js.map +1 -1
- package/package.json +4 -4
- package/src/api/callAPI/Call.js +1 -2
- package/src/api/omAPI/Diagnostics.js +120 -121
- package/src/api/omAPI/DiagnosticsListener.js +13 -12
- package/src/api/registerAPI/RegisterListener.js +12 -12
- package/src/listeners/CallListener.js +10 -10
- package/src/listeners/Callback.js +132 -132
- package/src/listeners/ExWebClient.js +25 -18
- package/src/listeners/ExotelVoiceClientListener.js +9 -9
- package/src/listeners/SessionListeners.js +110 -110
- package/src/api/omAPI/WebrtcLogger.js +0 -55
package/Changelog
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
Change Log
|
|
2
|
+
## v1.0.12 01 September, 2024
|
|
3
|
+
-[VST-807] Added real-time selection for microphone and speaker devices, and implemented callbacks to notify the application when a device change occurs. also added logger callback
|
|
4
|
+
|
|
2
5
|
## v1.0.10 24 March 2024
|
|
3
6
|
-[VST-609] added DTMF support in SDK
|
|
4
7
|
|
package/Makefile
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
build:dep
|
|
2
|
+
npm run build
|
|
3
|
+
cp -r ../webrtc-core-sdk/src/static/* dist/
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
build-local:
|
|
7
|
+
npm uninstall @exotel-npm-dev/webrtc-core-sdk
|
|
8
|
+
npm install ../webrtc-core-sdk
|
|
9
|
+
npm run build
|
|
10
|
+
cp -r ../webrtc-core-sdk/src/static/* dist/
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
dep:
|
|
14
|
+
npm uninstall @exotel-npm-dev/webrtc-core-sdk
|
|
15
|
+
npm install @exotel-npm-dev/webrtc-core-sdk@latest
|
|
16
|
+
|
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/`.
|