Skip to content

Commit

Permalink
Merge pull request #2452 from 100mslive/main
Browse files Browse the repository at this point in the history
backmerge: main to qa
  • Loading branch information
ygit authored Dec 13, 2024
2 parents 8abafcf + a3c4428 commit 105b2e2
Show file tree
Hide file tree
Showing 4 changed files with 173 additions and 58 deletions.
4 changes: 2 additions & 2 deletions docs/api-reference/javascript/v2/classes/HMSReactiveStore.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,13 @@ all data related to the corresponding HMS Room.

**triggerOnSubscribe**(): `void`

By default store.subscribe does not call the handler with the current state at time of subscription,
By default, store.subscribe does not call the handler with the current state at time of subscription,
this behaviour can be modified by calling this function. What it means is that instead of calling the
handler only for changes which happen post subscription we'll also call it exactly once at the time
of subscription with the current state. This behaviour is similar to that of BehaviourSubject in RxJS.
This will be an irreversible change

Note: you don't need this if you're using our react hooks, it takes care of this requirement.
Note: you don't need this if you're using our React hooks, it takes care of this requirement.

#### Returns

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ nav: '4.4'

---

### jitter

**jitter**: `number`

---

### packetsLost

**packetsLost**: `number`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ Make sure this URL leads the joiner straight to the room without any preview scr

`Optional` **metadata**: `string`

additional metadata for this URL for example - landscape/portrait, the field is not currently supported
additional metadata for this URL for example - landscape/portrait
Loading

0 comments on commit 105b2e2

Please sign in to comment.