@livekit/components-js-docs 0.1.71 → 0.1.73
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.
|
@@ -19,21 +19,17 @@ import { useIsMuted } from "@livekit/components-react";
|
|
|
19
19
|
|
|
20
20
|
## Usage
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
With a track reference
|
|
23
23
|
|
|
24
24
|
```tsx
|
|
25
25
|
const isMuted = useIsMuted(track);
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
-
### With a track source / participant
|
|
29
|
-
|
|
30
|
-
```tsx
|
|
31
|
-
const isMuted = useIsMuted("camera", { participant });
|
|
32
|
-
```
|
|
33
|
-
|
|
34
28
|
## Properties
|
|
35
29
|
|
|
36
30
|
{% parameter name="trackRef" type="TrackReferenceOrPlaceholder" optional=false %}
|
|
31
|
+
A `TrackReference` indicating the track to monitor.
|
|
32
|
+
|
|
37
33
|
{% /parameter %}
|
|
38
34
|
|
|
39
35
|
## Returns
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livekit/components-js-docs",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.73",
|
|
4
4
|
"description": "Automatically generated documentation pages for LiveKit Components JS. Intended to be consumed by the documentation page.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"directory": "/docs/beta-docs"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@livekit/components-react": "2.9.
|
|
11
|
+
"@livekit/components-react": "2.9.20"
|
|
12
12
|
},
|
|
13
13
|
"author": "",
|
|
14
14
|
"license": "Apache-2.0",
|