@wazo/sdk 0.38.19 → 0.38.20

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 +1 -1
  3. package/esm/checker/Checker.js +1 -1
  4. package/esm/checker/checks/index.js +1 -1
  5. package/esm/checker/checks/webrtc-transport.js +1 -1
  6. package/esm/checker/checks/webrtc.js +1 -1
  7. package/esm/index.js +1 -1
  8. package/esm/simple/Auth.js +1 -1
  9. package/esm/simple/Configuration.js +1 -1
  10. package/esm/simple/Phone.js +1 -1
  11. package/esm/simple/index.js +1 -1
  12. package/esm/simple/room/LocalParticipant.js +1 -1
  13. package/esm/simple/room/Participant.js +1 -1
  14. package/esm/simple/room/RemoteParticipant.js +1 -1
  15. package/esm/simple/room/Room.js +1 -1
  16. package/esm/simple/room/SipRoom.js +1 -1
  17. package/esm/simple/room/Stream.js +1 -1
  18. package/esm/simple/room/__tests__/Participant.test.js +1 -1
  19. package/esm/simple/room/__tests__/RemoteParticipant.test.js +1 -1
  20. package/esm/simple/utils.js +1 -1
  21. package/esm/web-rtc-client.js +1 -1
  22. package/lib/__tests__/web-rtc-client.test.js +1 -1
  23. package/lib/checker/Checker.js +1 -1
  24. package/lib/checker/checks/index.js +1 -1
  25. package/lib/checker/checks/webrtc-transport.js +1 -1
  26. package/lib/checker/checks/webrtc.js +1 -1
  27. package/lib/index.js +1 -1
  28. package/lib/simple/Auth.js +1 -1
  29. package/lib/simple/Configuration.js +1 -1
  30. package/lib/simple/Phone.js +1 -1
  31. package/lib/simple/index.js +1 -1
  32. package/lib/simple/room/LocalParticipant.js +1 -1
  33. package/lib/simple/room/Participant.js +1 -1
  34. package/lib/simple/room/RemoteParticipant.js +1 -1
  35. package/lib/simple/room/Room.js +1 -1
  36. package/lib/simple/room/SipRoom.js +1 -1
  37. package/lib/simple/room/Stream.js +1 -1
  38. package/lib/simple/room/__tests__/Participant.test.js +1 -1
  39. package/lib/simple/room/__tests__/RemoteParticipant.test.js +1 -1
  40. package/lib/simple/utils.js +1 -1
  41. package/lib/web-rtc-client.js +1 -1
  42. package/package.json +1 -1
  43. package/src/web-rtc-client.js +1 -1
@@ -7505,7 +7505,7 @@ class WebRTCClient extends Emitter {
7505
7505
 
7506
7506
  _setupMedias(session , newStream ) {
7507
7507
  // Safari hack, because you cannot call .play() from a non user action
7508
- const sessionId = this.getSipSessionId(session).substr(0, 20);
7508
+ const sessionId = this.getSipSessionId(session);
7509
7509
  const isConference = this.isConference(sessionId);
7510
7510
 
7511
7511
  if (sessionId in this.audioElements) {
@@ -8092,7 +8092,7 @@ class WebRTCClient extends Emitter {
8092
8092
 
8093
8093
  _setupMedias(session , newStream ) {
8094
8094
  // Safari hack, because you cannot call .play() from a non user action
8095
- const sessionId = this.getSipSessionId(session).substr(0, 20);
8095
+ const sessionId = this.getSipSessionId(session);
8096
8096
  const isConference = this.isConference(sessionId);
8097
8097
 
8098
8098
  if (sessionId in this.audioElements) {
@@ -8092,7 +8092,7 @@ class WebRTCClient extends Emitter {
8092
8092
 
8093
8093
  _setupMedias(session , newStream ) {
8094
8094
  // Safari hack, because you cannot call .play() from a non user action
8095
- const sessionId = this.getSipSessionId(session).substr(0, 20);
8095
+ const sessionId = this.getSipSessionId(session);
8096
8096
  const isConference = this.isConference(sessionId);
8097
8097
 
8098
8098
  if (sessionId in this.audioElements) {
@@ -7505,7 +7505,7 @@ class WebRTCClient extends Emitter {
7505
7505
 
7506
7506
  _setupMedias(session , newStream ) {
7507
7507
  // Safari hack, because you cannot call .play() from a non user action
7508
- const sessionId = this.getSipSessionId(session).substr(0, 20);
7508
+ const sessionId = this.getSipSessionId(session);
7509
7509
  const isConference = this.isConference(sessionId);
7510
7510
 
7511
7511
  if (sessionId in this.audioElements) {
@@ -7505,7 +7505,7 @@ class WebRTCClient extends Emitter {
7505
7505
 
7506
7506
  _setupMedias(session , newStream ) {
7507
7507
  // Safari hack, because you cannot call .play() from a non user action
7508
- const sessionId = this.getSipSessionId(session).substr(0, 20);
7508
+ const sessionId = this.getSipSessionId(session);
7509
7509
  const isConference = this.isConference(sessionId);
7510
7510
 
7511
7511
  if (sessionId in this.audioElements) {
package/esm/index.js CHANGED
@@ -8411,7 +8411,7 @@ class WebRTCClient extends Emitter {
8411
8411
 
8412
8412
  _setupMedias(session , newStream ) {
8413
8413
  // Safari hack, because you cannot call .play() from a non user action
8414
- const sessionId = this.getSipSessionId(session).substr(0, 20);
8414
+ const sessionId = this.getSipSessionId(session);
8415
8415
  const isConference = this.isConference(sessionId);
8416
8416
 
8417
8417
  if (sessionId in this.audioElements) {
@@ -8589,7 +8589,7 @@ class WebRTCClient extends Emitter {
8589
8589
 
8590
8590
  _setupMedias(session , newStream ) {
8591
8591
  // Safari hack, because you cannot call .play() from a non user action
8592
- const sessionId = this.getSipSessionId(session).substr(0, 20);
8592
+ const sessionId = this.getSipSessionId(session);
8593
8593
  const isConference = this.isConference(sessionId);
8594
8594
 
8595
8595
  if (sessionId in this.audioElements) {
@@ -8589,7 +8589,7 @@ class WebRTCClient extends Emitter {
8589
8589
 
8590
8590
  _setupMedias(session , newStream ) {
8591
8591
  // Safari hack, because you cannot call .play() from a non user action
8592
- const sessionId = this.getSipSessionId(session).substr(0, 20);
8592
+ const sessionId = this.getSipSessionId(session);
8593
8593
  const isConference = this.isConference(sessionId);
8594
8594
 
8595
8595
  if (sessionId in this.audioElements) {
@@ -8589,7 +8589,7 @@ class WebRTCClient extends Emitter {
8589
8589
 
8590
8590
  _setupMedias(session , newStream ) {
8591
8591
  // Safari hack, because you cannot call .play() from a non user action
8592
- const sessionId = this.getSipSessionId(session).substr(0, 20);
8592
+ const sessionId = this.getSipSessionId(session);
8593
8593
  const isConference = this.isConference(sessionId);
8594
8594
 
8595
8595
  if (sessionId in this.audioElements) {
@@ -8920,7 +8920,7 @@ class WebRTCClient extends Emitter {
8920
8920
 
8921
8921
  _setupMedias(session , newStream ) {
8922
8922
  // Safari hack, because you cannot call .play() from a non user action
8923
- const sessionId = this.getSipSessionId(session).substr(0, 20);
8923
+ const sessionId = this.getSipSessionId(session);
8924
8924
  const isConference = this.isConference(sessionId);
8925
8925
 
8926
8926
  if (sessionId in this.audioElements) {
@@ -8589,7 +8589,7 @@ class WebRTCClient extends Emitter {
8589
8589
 
8590
8590
  _setupMedias(session , newStream ) {
8591
8591
  // Safari hack, because you cannot call .play() from a non user action
8592
- const sessionId = this.getSipSessionId(session).substr(0, 20);
8592
+ const sessionId = this.getSipSessionId(session);
8593
8593
  const isConference = this.isConference(sessionId);
8594
8594
 
8595
8595
  if (sessionId in this.audioElements) {
@@ -8589,7 +8589,7 @@ class WebRTCClient extends Emitter {
8589
8589
 
8590
8590
  _setupMedias(session , newStream ) {
8591
8591
  // Safari hack, because you cannot call .play() from a non user action
8592
- const sessionId = this.getSipSessionId(session).substr(0, 20);
8592
+ const sessionId = this.getSipSessionId(session);
8593
8593
  const isConference = this.isConference(sessionId);
8594
8594
 
8595
8595
  if (sessionId in this.audioElements) {
@@ -8920,7 +8920,7 @@ class WebRTCClient extends Emitter {
8920
8920
 
8921
8921
  _setupMedias(session , newStream ) {
8922
8922
  // Safari hack, because you cannot call .play() from a non user action
8923
- const sessionId = this.getSipSessionId(session).substr(0, 20);
8923
+ const sessionId = this.getSipSessionId(session);
8924
8924
  const isConference = this.isConference(sessionId);
8925
8925
 
8926
8926
  if (sessionId in this.audioElements) {
@@ -8920,7 +8920,7 @@ class WebRTCClient extends Emitter {
8920
8920
 
8921
8921
  _setupMedias(session , newStream ) {
8922
8922
  // Safari hack, because you cannot call .play() from a non user action
8923
- const sessionId = this.getSipSessionId(session).substr(0, 20);
8923
+ const sessionId = this.getSipSessionId(session);
8924
8924
  const isConference = this.isConference(sessionId);
8925
8925
 
8926
8926
  if (sessionId in this.audioElements) {
@@ -8920,7 +8920,7 @@ class WebRTCClient extends Emitter {
8920
8920
 
8921
8921
  _setupMedias(session , newStream ) {
8922
8922
  // Safari hack, because you cannot call .play() from a non user action
8923
- const sessionId = this.getSipSessionId(session).substr(0, 20);
8923
+ const sessionId = this.getSipSessionId(session);
8924
8924
  const isConference = this.isConference(sessionId);
8925
8925
 
8926
8926
  if (sessionId in this.audioElements) {
@@ -8920,7 +8920,7 @@ class WebRTCClient extends Emitter {
8920
8920
 
8921
8921
  _setupMedias(session , newStream ) {
8922
8922
  // Safari hack, because you cannot call .play() from a non user action
8923
- const sessionId = this.getSipSessionId(session).substr(0, 20);
8923
+ const sessionId = this.getSipSessionId(session);
8924
8924
  const isConference = this.isConference(sessionId);
8925
8925
 
8926
8926
  if (sessionId in this.audioElements) {
@@ -8920,7 +8920,7 @@ class WebRTCClient extends Emitter {
8920
8920
 
8921
8921
  _setupMedias(session , newStream ) {
8922
8922
  // Safari hack, because you cannot call .play() from a non user action
8923
- const sessionId = this.getSipSessionId(session).substr(0, 20);
8923
+ const sessionId = this.getSipSessionId(session);
8924
8924
  const isConference = this.isConference(sessionId);
8925
8925
 
8926
8926
  if (sessionId in this.audioElements) {
@@ -8920,7 +8920,7 @@ class WebRTCClient extends Emitter {
8920
8920
 
8921
8921
  _setupMedias(session , newStream ) {
8922
8922
  // Safari hack, because you cannot call .play() from a non user action
8923
- const sessionId = this.getSipSessionId(session).substr(0, 20);
8923
+ const sessionId = this.getSipSessionId(session);
8924
8924
  const isConference = this.isConference(sessionId);
8925
8925
 
8926
8926
  if (sessionId in this.audioElements) {
@@ -8920,7 +8920,7 @@ class WebRTCClient extends Emitter {
8920
8920
 
8921
8921
  _setupMedias(session , newStream ) {
8922
8922
  // Safari hack, because you cannot call .play() from a non user action
8923
- const sessionId = this.getSipSessionId(session).substr(0, 20);
8923
+ const sessionId = this.getSipSessionId(session);
8924
8924
  const isConference = this.isConference(sessionId);
8925
8925
 
8926
8926
  if (sessionId in this.audioElements) {
@@ -7508,7 +7508,7 @@ class WebRTCClient extends Emitter {
7508
7508
 
7509
7509
  _setupMedias(session , newStream ) {
7510
7510
  // Safari hack, because you cannot call .play() from a non user action
7511
- const sessionId = this.getSipSessionId(session).substr(0, 20);
7511
+ const sessionId = this.getSipSessionId(session);
7512
7512
  const isConference = this.isConference(sessionId);
7513
7513
 
7514
7514
  if (sessionId in this.audioElements) {
@@ -7514,7 +7514,7 @@ class WebRTCClient extends Emitter {
7514
7514
 
7515
7515
  _setupMedias(session , newStream ) {
7516
7516
  // Safari hack, because you cannot call .play() from a non user action
7517
- const sessionId = this.getSipSessionId(session).substr(0, 20);
7517
+ const sessionId = this.getSipSessionId(session);
7518
7518
  const isConference = this.isConference(sessionId);
7519
7519
 
7520
7520
  if (sessionId in this.audioElements) {
@@ -8102,7 +8102,7 @@ class WebRTCClient extends Emitter {
8102
8102
 
8103
8103
  _setupMedias(session , newStream ) {
8104
8104
  // Safari hack, because you cannot call .play() from a non user action
8105
- const sessionId = this.getSipSessionId(session).substr(0, 20);
8105
+ const sessionId = this.getSipSessionId(session);
8106
8106
  const isConference = this.isConference(sessionId);
8107
8107
 
8108
8108
  if (sessionId in this.audioElements) {
@@ -8102,7 +8102,7 @@ class WebRTCClient extends Emitter {
8102
8102
 
8103
8103
  _setupMedias(session , newStream ) {
8104
8104
  // Safari hack, because you cannot call .play() from a non user action
8105
- const sessionId = this.getSipSessionId(session).substr(0, 20);
8105
+ const sessionId = this.getSipSessionId(session);
8106
8106
  const isConference = this.isConference(sessionId);
8107
8107
 
8108
8108
  if (sessionId in this.audioElements) {
@@ -7514,7 +7514,7 @@ class WebRTCClient extends Emitter {
7514
7514
 
7515
7515
  _setupMedias(session , newStream ) {
7516
7516
  // Safari hack, because you cannot call .play() from a non user action
7517
- const sessionId = this.getSipSessionId(session).substr(0, 20);
7517
+ const sessionId = this.getSipSessionId(session);
7518
7518
  const isConference = this.isConference(sessionId);
7519
7519
 
7520
7520
  if (sessionId in this.audioElements) {
@@ -7514,7 +7514,7 @@ class WebRTCClient extends Emitter {
7514
7514
 
7515
7515
  _setupMedias(session , newStream ) {
7516
7516
  // Safari hack, because you cannot call .play() from a non user action
7517
- const sessionId = this.getSipSessionId(session).substr(0, 20);
7517
+ const sessionId = this.getSipSessionId(session);
7518
7518
  const isConference = this.isConference(sessionId);
7519
7519
 
7520
7520
  if (sessionId in this.audioElements) {
package/lib/index.js CHANGED
@@ -8422,7 +8422,7 @@ class WebRTCClient extends Emitter {
8422
8422
 
8423
8423
  _setupMedias(session , newStream ) {
8424
8424
  // Safari hack, because you cannot call .play() from a non user action
8425
- const sessionId = this.getSipSessionId(session).substr(0, 20);
8425
+ const sessionId = this.getSipSessionId(session);
8426
8426
  const isConference = this.isConference(sessionId);
8427
8427
 
8428
8428
  if (sessionId in this.audioElements) {
@@ -8601,7 +8601,7 @@ class WebRTCClient extends Emitter {
8601
8601
 
8602
8602
  _setupMedias(session , newStream ) {
8603
8603
  // Safari hack, because you cannot call .play() from a non user action
8604
- const sessionId = this.getSipSessionId(session).substr(0, 20);
8604
+ const sessionId = this.getSipSessionId(session);
8605
8605
  const isConference = this.isConference(sessionId);
8606
8606
 
8607
8607
  if (sessionId in this.audioElements) {
@@ -8599,7 +8599,7 @@ class WebRTCClient extends Emitter {
8599
8599
 
8600
8600
  _setupMedias(session , newStream ) {
8601
8601
  // Safari hack, because you cannot call .play() from a non user action
8602
- const sessionId = this.getSipSessionId(session).substr(0, 20);
8602
+ const sessionId = this.getSipSessionId(session);
8603
8603
  const isConference = this.isConference(sessionId);
8604
8604
 
8605
8605
  if (sessionId in this.audioElements) {
@@ -8599,7 +8599,7 @@ class WebRTCClient extends Emitter {
8599
8599
 
8600
8600
  _setupMedias(session , newStream ) {
8601
8601
  // Safari hack, because you cannot call .play() from a non user action
8602
- const sessionId = this.getSipSessionId(session).substr(0, 20);
8602
+ const sessionId = this.getSipSessionId(session);
8603
8603
  const isConference = this.isConference(sessionId);
8604
8604
 
8605
8605
  if (sessionId in this.audioElements) {
@@ -8930,7 +8930,7 @@ class WebRTCClient extends Emitter {
8930
8930
 
8931
8931
  _setupMedias(session , newStream ) {
8932
8932
  // Safari hack, because you cannot call .play() from a non user action
8933
- const sessionId = this.getSipSessionId(session).substr(0, 20);
8933
+ const sessionId = this.getSipSessionId(session);
8934
8934
  const isConference = this.isConference(sessionId);
8935
8935
 
8936
8936
  if (sessionId in this.audioElements) {
@@ -8599,7 +8599,7 @@ class WebRTCClient extends Emitter {
8599
8599
 
8600
8600
  _setupMedias(session , newStream ) {
8601
8601
  // Safari hack, because you cannot call .play() from a non user action
8602
- const sessionId = this.getSipSessionId(session).substr(0, 20);
8602
+ const sessionId = this.getSipSessionId(session);
8603
8603
  const isConference = this.isConference(sessionId);
8604
8604
 
8605
8605
  if (sessionId in this.audioElements) {
@@ -8599,7 +8599,7 @@ class WebRTCClient extends Emitter {
8599
8599
 
8600
8600
  _setupMedias(session , newStream ) {
8601
8601
  // Safari hack, because you cannot call .play() from a non user action
8602
- const sessionId = this.getSipSessionId(session).substr(0, 20);
8602
+ const sessionId = this.getSipSessionId(session);
8603
8603
  const isConference = this.isConference(sessionId);
8604
8604
 
8605
8605
  if (sessionId in this.audioElements) {
@@ -8930,7 +8930,7 @@ class WebRTCClient extends Emitter {
8930
8930
 
8931
8931
  _setupMedias(session , newStream ) {
8932
8932
  // Safari hack, because you cannot call .play() from a non user action
8933
- const sessionId = this.getSipSessionId(session).substr(0, 20);
8933
+ const sessionId = this.getSipSessionId(session);
8934
8934
  const isConference = this.isConference(sessionId);
8935
8935
 
8936
8936
  if (sessionId in this.audioElements) {
@@ -8932,7 +8932,7 @@ class WebRTCClient extends Emitter {
8932
8932
 
8933
8933
  _setupMedias(session , newStream ) {
8934
8934
  // Safari hack, because you cannot call .play() from a non user action
8935
- const sessionId = this.getSipSessionId(session).substr(0, 20);
8935
+ const sessionId = this.getSipSessionId(session);
8936
8936
  const isConference = this.isConference(sessionId);
8937
8937
 
8938
8938
  if (sessionId in this.audioElements) {
@@ -8930,7 +8930,7 @@ class WebRTCClient extends Emitter {
8930
8930
 
8931
8931
  _setupMedias(session , newStream ) {
8932
8932
  // Safari hack, because you cannot call .play() from a non user action
8933
- const sessionId = this.getSipSessionId(session).substr(0, 20);
8933
+ const sessionId = this.getSipSessionId(session);
8934
8934
  const isConference = this.isConference(sessionId);
8935
8935
 
8936
8936
  if (sessionId in this.audioElements) {
@@ -8930,7 +8930,7 @@ class WebRTCClient extends Emitter {
8930
8930
 
8931
8931
  _setupMedias(session , newStream ) {
8932
8932
  // Safari hack, because you cannot call .play() from a non user action
8933
- const sessionId = this.getSipSessionId(session).substr(0, 20);
8933
+ const sessionId = this.getSipSessionId(session);
8934
8934
  const isConference = this.isConference(sessionId);
8935
8935
 
8936
8936
  if (sessionId in this.audioElements) {
@@ -8930,7 +8930,7 @@ class WebRTCClient extends Emitter {
8930
8930
 
8931
8931
  _setupMedias(session , newStream ) {
8932
8932
  // Safari hack, because you cannot call .play() from a non user action
8933
- const sessionId = this.getSipSessionId(session).substr(0, 20);
8933
+ const sessionId = this.getSipSessionId(session);
8934
8934
  const isConference = this.isConference(sessionId);
8935
8935
 
8936
8936
  if (sessionId in this.audioElements) {
@@ -8930,7 +8930,7 @@ class WebRTCClient extends Emitter {
8930
8930
 
8931
8931
  _setupMedias(session , newStream ) {
8932
8932
  // Safari hack, because you cannot call .play() from a non user action
8933
- const sessionId = this.getSipSessionId(session).substr(0, 20);
8933
+ const sessionId = this.getSipSessionId(session);
8934
8934
  const isConference = this.isConference(sessionId);
8935
8935
 
8936
8936
  if (sessionId in this.audioElements) {
@@ -8932,7 +8932,7 @@ class WebRTCClient extends Emitter {
8932
8932
 
8933
8933
  _setupMedias(session , newStream ) {
8934
8934
  // Safari hack, because you cannot call .play() from a non user action
8935
- const sessionId = this.getSipSessionId(session).substr(0, 20);
8935
+ const sessionId = this.getSipSessionId(session);
8936
8936
  const isConference = this.isConference(sessionId);
8937
8937
 
8938
8938
  if (sessionId in this.audioElements) {
@@ -7519,7 +7519,7 @@ class WebRTCClient extends Emitter {
7519
7519
 
7520
7520
  _setupMedias(session , newStream ) {
7521
7521
  // Safari hack, because you cannot call .play() from a non user action
7522
- const sessionId = this.getSipSessionId(session).substr(0, 20);
7522
+ const sessionId = this.getSipSessionId(session);
7523
7523
  const isConference = this.isConference(sessionId);
7524
7524
 
7525
7525
  if (sessionId in this.audioElements) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wazo/sdk",
3
- "version": "0.38.19",
3
+ "version": "0.38.20",
4
4
  "description": "Wazo's JavaScript Software Development Kit.",
5
5
  "main": "dist/wazo-sdk.js",
6
6
  "author": "Wazo (http://wazo.io)",
@@ -1965,7 +1965,7 @@ export default class WebRTCClient extends Emitter {
1965
1965
 
1966
1966
  _setupMedias(session: Session, newStream: ?MediaStream) {
1967
1967
  // Safari hack, because you cannot call .play() from a non user action
1968
- const sessionId = this.getSipSessionId(session).substr(0, 20);
1968
+ const sessionId = this.getSipSessionId(session);
1969
1969
  const isConference = this.isConference(sessionId);
1970
1970
 
1971
1971
  if (sessionId in this.audioElements) {