@100mslive/hms-video-store 0.12.7-alpha.2 → 0.12.7-alpha.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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.12.7-alpha.2",
2
+ "version": "0.12.7-alpha.3",
3
3
  "license": "MIT",
4
4
  "repository": {
5
5
  "type": "git",
@@ -73,5 +73,5 @@
73
73
  "conferencing",
74
74
  "100ms"
75
75
  ],
76
- "gitHead": "d1abe3be1c61075152b1aca862f5b1fd10aa4a1b"
76
+ "gitHead": "a8f673eb5b3724688c21718a824ed9d7c63b30cc"
77
77
  }
@@ -150,7 +150,7 @@ export class RoomUpdateManager {
150
150
  return hls;
151
151
  }
152
152
  notification.variants.forEach((variant: HLSVariant, index: number) => {
153
- if (variant.url) {
153
+ if (variant.state !== HMSStreamingState.INITIALISED) {
154
154
  hls.variants.push({
155
155
  meetingURL: variant?.meetingURL,
156
156
  url: variant?.url,
@@ -189,7 +189,7 @@ export class RoomUpdateManager {
189
189
  // only checking for zeroth variant intialized
190
190
  const isInitialised =
191
191
  hlsNotification?.variants && hlsNotification.variants.length > 0
192
- ? hlsNotification.variants[0].state === HMSStreamingState.INITIALISED
192
+ ? hlsNotification.variants.some(variant => variant.state === HMSStreamingState.INITIALISED)
193
193
  : false;
194
194
  // handling for initialized state
195
195
  if (isInitialised) {