@wazo/sdk 0.38.21 → 0.38.22

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.
Files changed (43) hide show
  1. package/dist/wazo-sdk.js +1 -1
  2. package/esm/__tests__/web-rtc-client.test.js +0 -2
  3. package/esm/checker/Checker.js +0 -2
  4. package/esm/checker/checks/index.js +0 -2
  5. package/esm/checker/checks/webrtc-transport.js +0 -2
  6. package/esm/checker/checks/webrtc.js +0 -2
  7. package/esm/index.js +0 -2
  8. package/esm/simple/Auth.js +0 -2
  9. package/esm/simple/Configuration.js +0 -2
  10. package/esm/simple/Phone.js +0 -2
  11. package/esm/simple/index.js +0 -2
  12. package/esm/simple/room/LocalParticipant.js +0 -2
  13. package/esm/simple/room/Participant.js +0 -2
  14. package/esm/simple/room/RemoteParticipant.js +0 -2
  15. package/esm/simple/room/Room.js +0 -2
  16. package/esm/simple/room/SipRoom.js +0 -2
  17. package/esm/simple/room/Stream.js +0 -2
  18. package/esm/simple/room/__tests__/Participant.test.js +0 -2
  19. package/esm/simple/room/__tests__/RemoteParticipant.test.js +0 -2
  20. package/esm/simple/utils.js +0 -2
  21. package/esm/web-rtc-client.js +0 -2
  22. package/lib/__tests__/web-rtc-client.test.js +0 -2
  23. package/lib/checker/Checker.js +0 -2
  24. package/lib/checker/checks/index.js +0 -2
  25. package/lib/checker/checks/webrtc-transport.js +0 -2
  26. package/lib/checker/checks/webrtc.js +0 -2
  27. package/lib/index.js +0 -2
  28. package/lib/simple/Auth.js +0 -2
  29. package/lib/simple/Configuration.js +0 -2
  30. package/lib/simple/Phone.js +0 -2
  31. package/lib/simple/index.js +0 -2
  32. package/lib/simple/room/LocalParticipant.js +0 -2
  33. package/lib/simple/room/Participant.js +0 -2
  34. package/lib/simple/room/RemoteParticipant.js +0 -2
  35. package/lib/simple/room/Room.js +0 -2
  36. package/lib/simple/room/SipRoom.js +0 -2
  37. package/lib/simple/room/Stream.js +0 -2
  38. package/lib/simple/room/__tests__/Participant.test.js +0 -2
  39. package/lib/simple/room/__tests__/RemoteParticipant.test.js +0 -2
  40. package/lib/simple/utils.js +0 -2
  41. package/lib/web-rtc-client.js +0 -2
  42. package/package.json +1 -1
  43. package/src/web-rtc-client.js +0 -2
@@ -5668,7 +5668,6 @@ class WebRTCClient extends Emitter {
5668
5668
 
5669
5669
 
5670
5670
 
5671
-
5672
5671
 
5673
5672
 
5674
5673
 
@@ -5777,7 +5776,6 @@ class WebRTCClient extends Emitter {
5777
5776
 
5778
5777
  configureMedia(media ) {
5779
5778
  this.hasAudio = !!media.audio;
5780
- this.audioContext = this._isWeb() ? new (window.AudioContext || window.webkitAudioContext)() : null;
5781
5779
  this.audioStreams = {};
5782
5780
  this.audioElements = {};
5783
5781
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wazo/sdk",
3
- "version": "0.38.21",
3
+ "version": "0.38.22",
4
4
  "description": "Wazo's JavaScript Software Development Kit.",
5
5
  "main": "dist/wazo-sdk.js",
6
6
  "author": "Wazo (http://wazo.io)",
@@ -114,7 +114,6 @@ export default class WebRTCClient extends Emitter {
114
114
  audio: Object | boolean;
115
115
  audioElements: { [string]: HTMLAudioElement };
116
116
  video: Object | boolean;
117
- audioContext: ?AudioContext;
118
117
  audioStreams: Object;
119
118
  audioOutputDeviceId: ?string;
120
119
  audioOutputVolume: number;
@@ -223,7 +222,6 @@ export default class WebRTCClient extends Emitter {
223
222
 
224
223
  configureMedia(media: MediaConfig) {
225
224
  this.hasAudio = !!media.audio;
226
- this.audioContext = this._isWeb() ? new (window.AudioContext || window.webkitAudioContext)() : null;
227
225
  this.audioStreams = {};
228
226
  this.audioElements = {};
229
227
  }