@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.es.js CHANGED
@@ -8465,6 +8465,7 @@ const watchCallEnded = (call) => {
8465
8465
  if (call.state.callingState === CallingState.RINGING ||
8466
8466
  call.state.callingState === CallingState.JOINED ||
8467
8467
  call.state.callingState === CallingState.JOINING) {
8468
+ call.state.setMetadata(event.call);
8468
8469
  yield call.leave();
8469
8470
  }
8470
8471
  });
@@ -10491,13 +10492,13 @@ class Call {
10491
10492
  /**
10492
10493
  * Starts the broadcasting of the call.
10493
10494
  */
10494
- this.startBroadcasting = () => __awaiter(this, void 0, void 0, function* () {
10495
+ this.startHLS = () => __awaiter(this, void 0, void 0, function* () {
10495
10496
  return this.streamClient.post(`${this.streamClientBasePath}/start_broadcasting`, {});
10496
10497
  });
10497
10498
  /**
10498
10499
  * Stops the broadcasting of the call.
10499
10500
  */
10500
- this.stopBroadcasting = () => __awaiter(this, void 0, void 0, function* () {
10501
+ this.stopHLS = () => __awaiter(this, void 0, void 0, function* () {
10501
10502
  return this.streamClient.post(`${this.streamClientBasePath}/stop_broadcasting`, {});
10502
10503
  });
10503
10504
  /**
@@ -11880,7 +11881,7 @@ class WSConnectionFallback {
11880
11881
  }
11881
11882
  }
11882
11883
 
11883
- const version = '0.2.0';
11884
+ const version = '0.2.2';
11884
11885
 
11885
11886
  const logger = getLogger(['location']);
11886
11887
  const HINT_URL = `https://hint.stream-io-video.com/`;