@stream-io/video-client 0.2.0 → 0.2.2

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.js CHANGED
@@ -8485,6 +8485,7 @@ const watchCallEnded = (call) => {
8485
8485
  if (call.state.callingState === exports.CallingState.RINGING ||
8486
8486
  call.state.callingState === exports.CallingState.JOINED ||
8487
8487
  call.state.callingState === exports.CallingState.JOINING) {
8488
+ call.state.setMetadata(event.call);
8488
8489
  yield call.leave();
8489
8490
  }
8490
8491
  });
@@ -10511,13 +10512,13 @@ class Call {
10511
10512
  /**
10512
10513
  * Starts the broadcasting of the call.
10513
10514
  */
10514
- this.startBroadcasting = () => __awaiter(this, void 0, void 0, function* () {
10515
+ this.startHLS = () => __awaiter(this, void 0, void 0, function* () {
10515
10516
  return this.streamClient.post(`${this.streamClientBasePath}/start_broadcasting`, {});
10516
10517
  });
10517
10518
  /**
10518
10519
  * Stops the broadcasting of the call.
10519
10520
  */
10520
- this.stopBroadcasting = () => __awaiter(this, void 0, void 0, function* () {
10521
+ this.stopHLS = () => __awaiter(this, void 0, void 0, function* () {
10521
10522
  return this.streamClient.post(`${this.streamClientBasePath}/stop_broadcasting`, {});
10522
10523
  });
10523
10524
  /**
@@ -11900,7 +11901,7 @@ class WSConnectionFallback {
11900
11901
  }
11901
11902
  }
11902
11903
 
11903
- const version = '0.2.0';
11904
+ const version = '0.2.2';
11904
11905
 
11905
11906
  const logger = getLogger(['location']);
11906
11907
  const HINT_URL = `https://hint.stream-io-video.com/`;