@whereby.com/media 2.8.6 → 2.8.7

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
@@ -3035,17 +3035,6 @@ class P2pRtcManager {
3035
3035
  const peerConnectionConfig = {
3036
3036
  iceServers: this._features.turnServersOn ? this._turnServers : this._iceServers,
3037
3037
  };
3038
- const constraints = { optional: [] };
3039
- constraints.optional.push({ rtcStatsRoomSessionId: this._roomSessionId });
3040
- constraints.optional.push({ rtcStatsClientId: this._selfId });
3041
- constraints.optional.push({ rtcStatsPeerId: peerConnectionId });
3042
- constraints.optional.push({ rtcStatsConferenceId: this._roomName });
3043
- if (browserName$1 === "chrome") {
3044
- constraints.optional.push({
3045
- googCpuOveruseDetection: true,
3046
- });
3047
- peerConnectionConfig.sdpSemantics = "unified-plan";
3048
- }
3049
3038
  peerConnectionConfig.iceServers = turnServerOverride(peerConnectionConfig.iceServers, this._features.turnServerOverrideHost);
3050
3039
  external_stun_servers(peerConnectionConfig, this._features);
3051
3040
  maybeTurnOnly(peerConnectionConfig, this._features);
package/dist/index.mjs CHANGED
@@ -3014,17 +3014,6 @@ class P2pRtcManager {
3014
3014
  const peerConnectionConfig = {
3015
3015
  iceServers: this._features.turnServersOn ? this._turnServers : this._iceServers,
3016
3016
  };
3017
- const constraints = { optional: [] };
3018
- constraints.optional.push({ rtcStatsRoomSessionId: this._roomSessionId });
3019
- constraints.optional.push({ rtcStatsClientId: this._selfId });
3020
- constraints.optional.push({ rtcStatsPeerId: peerConnectionId });
3021
- constraints.optional.push({ rtcStatsConferenceId: this._roomName });
3022
- if (browserName$1 === "chrome") {
3023
- constraints.optional.push({
3024
- googCpuOveruseDetection: true,
3025
- });
3026
- peerConnectionConfig.sdpSemantics = "unified-plan";
3027
- }
3028
3017
  peerConnectionConfig.iceServers = turnServerOverride(peerConnectionConfig.iceServers, this._features.turnServerOverrideHost);
3029
3018
  external_stun_servers(peerConnectionConfig, this._features);
3030
3019
  maybeTurnOnly(peerConnectionConfig, this._features);
@@ -3014,17 +3014,6 @@ class P2pRtcManager {
3014
3014
  const peerConnectionConfig = {
3015
3015
  iceServers: this._features.turnServersOn ? this._turnServers : this._iceServers,
3016
3016
  };
3017
- const constraints = { optional: [] };
3018
- constraints.optional.push({ rtcStatsRoomSessionId: this._roomSessionId });
3019
- constraints.optional.push({ rtcStatsClientId: this._selfId });
3020
- constraints.optional.push({ rtcStatsPeerId: peerConnectionId });
3021
- constraints.optional.push({ rtcStatsConferenceId: this._roomName });
3022
- if (browserName$1 === "chrome") {
3023
- constraints.optional.push({
3024
- googCpuOveruseDetection: true,
3025
- });
3026
- peerConnectionConfig.sdpSemantics = "unified-plan";
3027
- }
3028
3017
  peerConnectionConfig.iceServers = turnServerOverride(peerConnectionConfig.iceServers, this._features.turnServerOverrideHost);
3029
3018
  external_stun_servers(peerConnectionConfig, this._features);
3030
3019
  maybeTurnOnly(peerConnectionConfig, this._features);
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.8.6",
4
+ "version": "2.8.7",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/whereby/sdk",
7
7
  "repository": {
@@ -62,8 +62,8 @@
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",
66
65
  "@whereby.com/prettier-config": "0.1.0",
66
+ "@whereby.com/jest-config": "0.1.0",
67
67
  "@whereby.com/rollup-config": "0.1.1",
68
68
  "@whereby.com/tsconfig": "0.1.0"
69
69
  },