@vonage/client-sdk 1.6.0 → 1.6.1-alpha.0

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.
@@ -33561,7 +33561,7 @@ function requireClientsdkClientcore () {
33561
33561
  setMetadataFor(Failed, 'Failed', classMeta, StateTransition);
33562
33562
  //endregion
33563
33563
  function BuildKonfig() {
33564
- this.g1d_1 = '1.6.0';
33564
+ this.g1d_1 = '1.6.1-alpha.0';
33565
33565
  }
33566
33566
  var BuildKonfig_instance;
33567
33567
  function CoreClientWithMedia() {
@@ -74232,6 +74232,9 @@ function requireClientsdkClientcore () {
74232
74232
  function getPeerConnection(id) {
74233
74233
  return this.media.getPeerConnection(id);
74234
74234
  }
74235
+ function getAudioElement() {
74236
+ return this.media.getAudioElement();
74237
+ }
74235
74238
  function serverCall(context) {
74236
74239
  var tmp0_safe_receiver = get_jsonNullable(context);
74237
74240
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : toMap_0(tmp0_safe_receiver);
@@ -80979,6 +80982,7 @@ function requireClientsdkClientcore () {
80979
80982
  protoOf(CombinedClientJS).getConversation = getConversation;
80980
80983
  protoOf(CombinedClientJS).getUser = getUser;
80981
80984
  protoOf(CombinedClientJS).getPeerConnection = getPeerConnection;
80985
+ protoOf(CombinedClientJS).getAudioElement = getAudioElement;
80982
80986
  protoOf(CombinedClientJS).serverCall = serverCall;
80983
80987
  protoOf(CombinedClientJS).reconnectCall = reconnectCall;
80984
80988
  protoOf(CombinedClientJS).getLeg = getLeg;
@@ -85777,6 +85781,9 @@ class MediaClient {
85777
85781
  }
85778
85782
  });
85779
85783
  }
85784
+ getAudioElement() {
85785
+ return this.audio;
85786
+ }
85780
85787
  getPeerConnection(id) {
85781
85788
  const pc = this.pcs.get(id);
85782
85789
  return pc;
@@ -90225,6 +90232,16 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
90225
90232
  getPeerConnection(id) {
90226
90233
  return super.getPeerConnection(id);
90227
90234
  }
90235
+ /**
90236
+ * Get the HTML Audio Element for the SDK.
90237
+ * It can be used to route output to other devices.
90238
+ *
90239
+ * @experimental
90240
+ * @group Voice
90241
+ */
90242
+ getAudioElement() {
90243
+ return super.getAudioElement();
90244
+ }
90228
90245
  /**
90229
90246
  * Get the Leg for a call
90230
90247
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vonage/client-sdk",
3
- "version": "1.6.0",
3
+ "version": "1.6.1-alpha.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "module": "dist/client/index.mjs",