@wazo/sdk 0.37.5 → 0.37.6

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 (41) hide show
  1. package/dist/wazo-sdk.js +1 -1
  2. package/esm/__tests__/web-rtc-client.test.js +4 -0
  3. package/esm/checker/Checker.js +4 -0
  4. package/esm/checker/checks/index.js +4 -0
  5. package/esm/checker/checks/webrtc-transport.js +4 -0
  6. package/esm/checker/checks/webrtc.js +4 -0
  7. package/esm/index.js +4 -0
  8. package/esm/simple/Auth.js +4 -0
  9. package/esm/simple/Configuration.js +4 -0
  10. package/esm/simple/Phone.js +4 -0
  11. package/esm/simple/index.js +4 -0
  12. package/esm/simple/room/LocalParticipant.js +4 -0
  13. package/esm/simple/room/Participant.js +4 -0
  14. package/esm/simple/room/RemoteParticipant.js +4 -0
  15. package/esm/simple/room/Room.js +4 -0
  16. package/esm/simple/room/SipRoom.js +4 -0
  17. package/esm/simple/room/Stream.js +4 -0
  18. package/esm/simple/room/__tests__/RemoteParticipant.test.js +4 -0
  19. package/esm/simple/utils.js +4 -0
  20. package/esm/web-rtc-client.js +4 -0
  21. package/lib/__tests__/web-rtc-client.test.js +4 -0
  22. package/lib/checker/Checker.js +4 -0
  23. package/lib/checker/checks/index.js +4 -0
  24. package/lib/checker/checks/webrtc-transport.js +4 -0
  25. package/lib/checker/checks/webrtc.js +4 -0
  26. package/lib/index.js +4 -0
  27. package/lib/simple/Auth.js +4 -0
  28. package/lib/simple/Configuration.js +4 -0
  29. package/lib/simple/Phone.js +4 -0
  30. package/lib/simple/index.js +4 -0
  31. package/lib/simple/room/LocalParticipant.js +4 -0
  32. package/lib/simple/room/Participant.js +4 -0
  33. package/lib/simple/room/RemoteParticipant.js +4 -0
  34. package/lib/simple/room/Room.js +4 -0
  35. package/lib/simple/room/SipRoom.js +4 -0
  36. package/lib/simple/room/Stream.js +4 -0
  37. package/lib/simple/room/__tests__/RemoteParticipant.test.js +4 -0
  38. package/lib/simple/utils.js +4 -0
  39. package/lib/web-rtc-client.js +4 -0
  40. package/package.json +1 -1
  41. package/src/web-rtc-client.js +4 -0
@@ -7045,6 +7045,8 @@ class WebRTCClient extends Emitter {
7045
7045
  }
7046
7046
  options.sessionDescriptionHandlerOptions = {
7047
7047
  constraints: options.constraints,
7048
+ hold: true,
7049
+ conference: isConference,
7048
7050
  };
7049
7051
 
7050
7052
  // Send re-INVITE
@@ -7087,6 +7089,8 @@ class WebRTCClient extends Emitter {
7087
7089
  }
7088
7090
  options.sessionDescriptionHandlerOptions = {
7089
7091
  constraints: options.constraints,
7092
+ hold: false,
7093
+ conference: isConference,
7090
7094
  };
7091
7095
 
7092
7096
  // Send re-INVITE
@@ -5802,6 +5802,8 @@ class WebRTCClient extends Emitter {
5802
5802
  }
5803
5803
  options.sessionDescriptionHandlerOptions = {
5804
5804
  constraints: options.constraints,
5805
+ hold: true,
5806
+ conference: isConference,
5805
5807
  };
5806
5808
 
5807
5809
  // Send re-INVITE
@@ -5844,6 +5846,8 @@ class WebRTCClient extends Emitter {
5844
5846
  }
5845
5847
  options.sessionDescriptionHandlerOptions = {
5846
5848
  constraints: options.constraints,
5849
+ hold: false,
5850
+ conference: isConference,
5847
5851
  };
5848
5852
 
5849
5853
  // Send re-INVITE
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wazo/sdk",
3
- "version": "0.37.5",
3
+ "version": "0.37.6",
4
4
  "description": "Wazo's JavaScript Software Development Kit.",
5
5
  "main": "dist/wazo-sdk.js",
6
6
  "author": "Wazo (http://wazo.io)",
@@ -706,6 +706,8 @@ export default class WebRTCClient extends Emitter {
706
706
  }
707
707
  options.sessionDescriptionHandlerOptions = {
708
708
  constraints: options.constraints,
709
+ hold: true,
710
+ conference: isConference,
709
711
  };
710
712
 
711
713
  // Send re-INVITE
@@ -748,6 +750,8 @@ export default class WebRTCClient extends Emitter {
748
750
  }
749
751
  options.sessionDescriptionHandlerOptions = {
750
752
  constraints: options.constraints,
753
+ hold: false,
754
+ conference: isConference,
751
755
  };
752
756
 
753
757
  // Send re-INVITE