@exotel-npm-dev/webrtc-client-sdk 1.0.16 → 1.0.17

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exotel-npm-dev/webrtc-client-sdk",
3
- "version": "1.0.16",
3
+ "version": "1.0.17",
4
4
  "description": "client sdk for webrtc based on webrtc core sdk",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -29,6 +29,6 @@
29
29
  "webpack-cli": "^4.10.0"
30
30
  },
31
31
  "dependencies": {
32
- "@exotel-npm-dev/webrtc-core-sdk": "^1.0.15"
32
+ "@exotel-npm-dev/webrtc-core-sdk": "^1.0.16"
33
33
  }
34
34
  }
@@ -565,6 +565,11 @@ export class ExotelWebClient {
565
565
  webrtcSIPPhone.changeAudioOutputDevice(deviceId, onSuccess, onError);
566
566
  }
567
567
 
568
+ setPreferredCodec(codecName) {
569
+ logger.log("ExWebClient:setPreferredCodec entry");
570
+ webrtcSIPPhone.setPreferredCodec(codecName);
571
+ }
572
+
568
573
  registerLoggerCallback(callback) {
569
574
  logger.registerLoggerCallback(callback);
570
575
  }