@signalwire/js 3.15.0-dev.202209201134.39ff206.0 → 3.15.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.
package/dist/index.esm.js CHANGED
@@ -153,8 +153,10 @@ var makeLayoutChangedHandler = ({ localOverlay, rootElement }) => async ({ layou
153
153
  myLayer.id = localOverlay.id;
154
154
  const localVideo = buildVideo();
155
155
  localVideo.srcObject = localStream;
156
+ localVideo.disablePictureInPicture = true;
156
157
  localVideo.style.width = "100%";
157
158
  localVideo.style.height = "100%";
159
+ localVideo.style.pointerEvents = "none";
158
160
  myLayer.appendChild(localVideo);
159
161
  const mcuLayers = rootElement.querySelector(".mcuLayers");
160
162
  const exists = mcuLayers == null ? void 0 : mcuLayers.querySelector(`#${myLayer.id}`);
@@ -1282,7 +1284,7 @@ var JWTSession = class extends BaseJWTSession {
1282
1284
  }));
1283
1285
  this.options = options;
1284
1286
  __publicField(this, "WebSocketConstructor", WebSocket);
1285
- __publicField(this, "agent", "@signalwire/js/browser/3.15.0-dev.202209201134.39ff206.0");
1287
+ __publicField(this, "agent", "@signalwire/js/browser/3.15.0");
1286
1288
  }
1287
1289
  get allowHijack() {
1288
1290
  return this.options._hijack;
@@ -1630,12 +1632,6 @@ var RoomSession = function(roomOptions) {
1630
1632
  "stopMicrophoneWhileMuted",
1631
1633
  "speakerId"
1632
1634
  ]);
1633
- const deprecatedParams = ["audio", "video"];
1634
- deprecatedParams.forEach((param) => {
1635
- if (param in roomOptions) {
1636
- getLogger8().warn(`The '${param}' parameter on the RoomSession constructor is deprecated. Set it on the '.join()' function instead.`);
1637
- }
1638
- });
1639
1635
  const client = createClient(userOptions);
1640
1636
  const room = client.rooms.makeRoomObject({
1641
1637
  negotiateAudio: true,