@whereby.com/media 2.7.2 → 2.7.3

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/dist/index.cjs CHANGED
@@ -2987,7 +2987,7 @@ class P2pRtcManager {
2987
2987
  return { type: original.type, sdp: original.sdpU };
2988
2988
  }
2989
2989
  _transformOutgoingSdp(original) {
2990
- return { type: original.type, sdpU: original.sdp };
2990
+ return { type: original.type, sdpU: original.sdp, sdp: original.sdp };
2991
2991
  }
2992
2992
  _createSession({ clientId, initialBandwidth, isOfferer, peerConnectionId, shouldAddLocalVideo, }) {
2993
2993
  if (!peerConnectionId) {
package/dist/index.d.cts CHANGED
@@ -382,6 +382,7 @@ type RtcEvents = {
382
382
  remote_stream_track_removed: void;
383
383
  };
384
384
  type UnifiedPlanSDP = {
385
+ sdp: string;
385
386
  sdpU: string;
386
387
  type: RTCSdpType;
387
388
  };
package/dist/index.d.mts CHANGED
@@ -382,6 +382,7 @@ type RtcEvents = {
382
382
  remote_stream_track_removed: void;
383
383
  };
384
384
  type UnifiedPlanSDP = {
385
+ sdp: string;
385
386
  sdpU: string;
386
387
  type: RTCSdpType;
387
388
  };
package/dist/index.d.ts CHANGED
@@ -382,6 +382,7 @@ type RtcEvents = {
382
382
  remote_stream_track_removed: void;
383
383
  };
384
384
  type UnifiedPlanSDP = {
385
+ sdp: string;
385
386
  sdpU: string;
386
387
  type: RTCSdpType;
387
388
  };
package/dist/index.mjs CHANGED
@@ -2966,7 +2966,7 @@ class P2pRtcManager {
2966
2966
  return { type: original.type, sdp: original.sdpU };
2967
2967
  }
2968
2968
  _transformOutgoingSdp(original) {
2969
- return { type: original.type, sdpU: original.sdp };
2969
+ return { type: original.type, sdpU: original.sdp, sdp: original.sdp };
2970
2970
  }
2971
2971
  _createSession({ clientId, initialBandwidth, isOfferer, peerConnectionId, shouldAddLocalVideo, }) {
2972
2972
  if (!peerConnectionId) {
@@ -2966,7 +2966,7 @@ class P2pRtcManager {
2966
2966
  return { type: original.type, sdp: original.sdpU };
2967
2967
  }
2968
2968
  _transformOutgoingSdp(original) {
2969
- return { type: original.type, sdpU: original.sdp };
2969
+ return { type: original.type, sdpU: original.sdp, sdp: original.sdp };
2970
2970
  }
2971
2971
  _createSession({ clientId, initialBandwidth, isOfferer, peerConnectionId, shouldAddLocalVideo, }) {
2972
2972
  if (!peerConnectionId) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@whereby.com/media",
3
3
  "description": "Media library for Whereby",
4
- "version": "2.7.2",
4
+ "version": "2.7.3",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/whereby/sdk",
7
7
  "repository": {
@@ -62,9 +62,9 @@
62
62
  "process": "^0.11.10",
63
63
  "typescript": "^5.8.3",
64
64
  "@whereby.com/eslint-config": "0.1.0",
65
+ "@whereby.com/jest-config": "0.1.0",
65
66
  "@whereby.com/prettier-config": "0.1.0",
66
67
  "@whereby.com/rollup-config": "0.1.1",
67
- "@whereby.com/jest-config": "0.1.0",
68
68
  "@whereby.com/tsconfig": "0.1.0"
69
69
  },
70
70
  "engines": {