@livekit/components-js-docs 0.1.8 → 0.1.10
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/generated-docs/core/captureoptionsbysource.md +4 -4
- package/generated-docs/core/createmediadeviceobserver.md +1 -1
- package/generated-docs/core/defaultuserchoices.md +16 -0
- package/generated-docs/core/index.md +5 -4
- package/generated-docs/core/localuserchoices.md +0 -2
- package/generated-docs/core/participanttrackevents.md +16 -0
- package/generated-docs/core/participanttrackidentifier.md +23 -0
- package/generated-docs/core/participanttracksobservable.md +19 -0
- package/generated-docs/core/sendmessage.md +1 -2
- package/generated-docs/core/setupdatamessagehandler.md +1 -1
- package/generated-docs/core/widgetstate.md +1 -0
- package/generated-docs/react/audiotrackprops.md +0 -4
- package/generated-docs/react/audiovisualizerprops.md +3 -4
- package/generated-docs/react/component/audiotrack.md +0 -36
- package/generated-docs/react/component/audiovisualizer.md +0 -9
- package/generated-docs/react/component/focuslayout.md +0 -9
- package/generated-docs/react/component/focuslayoutcontainer.md +0 -20
- package/generated-docs/react/component/focustoggle.md +0 -18
- package/generated-docs/react/component/participantaudiotile.md +0 -27
- package/generated-docs/react/component/participanttile.md +0 -27
- package/generated-docs/react/component/prejoin.md +0 -9
- package/generated-docs/react/component/trackmutedindicator.md +2 -22
- package/generated-docs/react/component/videoconference.md +5 -0
- package/generated-docs/react/component/videotrack.md +0 -36
- package/generated-docs/react/controlbarcontrols.md +1 -0
- package/generated-docs/react/focuslayoutcontainerprops.md +0 -7
- package/generated-docs/react/focuslayoutprops.md +0 -1
- package/generated-docs/react/focustoggleprops.md +3 -5
- package/generated-docs/react/hook/usefocustoggle.md +0 -14
- package/generated-docs/react/hook/usemediadevices.md +2 -1
- package/generated-docs/react/hook/useparticipanttile.md +0 -21
- package/generated-docs/react/hook/useparticipanttracks.md +34 -0
- package/generated-docs/react/hook/usepreviewtracks.md +1 -1
- package/generated-docs/react/hook/usetrackbyname.md +5 -9
- package/generated-docs/react/index.md +76 -88
- package/generated-docs/react/layoutcontexttype.md +1 -1
- package/generated-docs/react/localuserchoices.md +0 -2
- package/generated-docs/react/meta-data.json +1 -1
- package/generated-docs/react/participanttileprops.md +0 -3
- package/generated-docs/react/prejoinprops.md +0 -1
- package/generated-docs/react/trackmutedindicatorprops.md +4 -6
- package/generated-docs/react/trackmutedindicatorprops.trackref.md +1 -1
- package/generated-docs/react/usefocustoggleprops.md +4 -6
- package/generated-docs/react/useparticipanttileprops.md +0 -3
- package/generated-docs/react/usetrackshookreturntype.md +2 -2
- package/generated-docs/react/videoconferenceprops.md +1 -0
- package/generated-docs/react/videoconferenceprops.settingscomponent.md +15 -0
- package/generated-docs/react/videotrackprops.md +0 -4
- package/generated-docs/react/widgetstate.md +1 -0
- package/package.json +2 -2
- package/generated-docs/core/datasendoptions.md +0 -19
- package/generated-docs/core/isparticipantsourcepinned.md +0 -32
- package/generated-docs/core/trackidentifier.md +0 -24
- package/generated-docs/react/audiotrackprops.name.md +0 -23
- package/generated-docs/react/audiotrackprops.participant.md +0 -23
- package/generated-docs/react/audiotrackprops.publication.md +0 -23
- package/generated-docs/react/audiotrackprops.source.md +0 -23
- package/generated-docs/react/audiovisualizerprops.participant.md +0 -23
- package/generated-docs/react/carouselview.md +0 -26
- package/generated-docs/react/focuslayoutcontainerprops.focustrack.md +0 -23
- package/generated-docs/react/focuslayoutcontainerprops.participants.md +0 -23
- package/generated-docs/react/focuslayoutprops.track.md +0 -23
- package/generated-docs/react/focustoggleprops.participant.md +0 -23
- package/generated-docs/react/focustoggleprops.tracksource.md +0 -23
- package/generated-docs/react/hook/useensuretrackreference.md +0 -39
- package/generated-docs/react/hook/useismuted_1.md +0 -40
- package/generated-docs/react/hook/usemaybetrackcontext.md +0 -34
- package/generated-docs/react/hook/usemediatrack.md +0 -49
- package/generated-docs/react/hook/usemediatrackbyname.md +0 -49
- package/generated-docs/react/hook/usetrack.md +0 -38
- package/generated-docs/react/hook/usetrackcontext.md +0 -34
- package/generated-docs/react/hook/usetrackmutedindicator_1.md +0 -40
- package/generated-docs/react/participanttileprops.participant.md +0 -23
- package/generated-docs/react/participanttileprops.publication.md +0 -23
- package/generated-docs/react/participanttileprops.source.md +0 -23
- package/generated-docs/react/prejoinprops.showe2eeoptions.md +0 -23
- package/generated-docs/react/trackcontext.md +0 -26
- package/generated-docs/react/trackmutedindicatorprops.participant.md +0 -23
- package/generated-docs/react/trackmutedindicatorprops.source.md +0 -23
- package/generated-docs/react/usefocustoggleprops.participant.md +0 -23
- package/generated-docs/react/usefocustoggleprops.tracksource.md +0 -23
- package/generated-docs/react/usemediatrackoptions.element.md +0 -13
- package/generated-docs/react/usemediatrackoptions.md +0 -25
- package/generated-docs/react/usemediatrackoptions.props.md +0 -13
- package/generated-docs/react/useparticipanttileprops.participant.md +0 -23
- package/generated-docs/react/useparticipanttileprops.publication.md +0 -23
- package/generated-docs/react/useparticipanttileprops.source.md +0 -23
- package/generated-docs/react/usetrackmutedindicatoroptions.md +0 -24
- package/generated-docs/react/usetrackmutedindicatoroptions.participant.md +0 -23
- package/generated-docs/react/usetrackoptions.element.md +0 -13
- package/generated-docs/react/usetrackoptions.md +0 -25
- package/generated-docs/react/usetrackoptions.props.md +0 -13
- package/generated-docs/react/videotrackprops.name.md +0 -23
- package/generated-docs/react/videotrackprops.participant.md +0 -23
- package/generated-docs/react/videotrackprops.publication.md +0 -23
- package/generated-docs/react/videotrackprops.source.md +0 -23
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
{
|
|
3
|
-
"title": "useMaybeTrackContext",
|
|
4
|
-
"linkToSource": "https://github.com/livekit/components-js/blob/main/packages/react/src/context/track-reference-context.ts"
|
|
5
|
-
}
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
9
|
-
|
|
10
|
-
# useMaybeTrackContext
|
|
11
|
-
|
|
12
|
-
{% callout type="caution" variation="normal" %}
|
|
13
|
-
|
|
14
|
-
This API is deprecated:
|
|
15
|
-
|
|
16
|
-
`useMaybeTrackContext` has been renamed to `useMaybeTrackRefContext`<!-- -->, use this as a drop in replacement.
|
|
17
|
-
|
|
18
|
-
{% /callout %}
|
|
19
|
-
|
|
20
|
-
Returns a track reference from the `TrackContext` if it exists, otherwise `undefined`<!-- -->.
|
|
21
|
-
|
|
22
|
-
## Import
|
|
23
|
-
|
|
24
|
-
```typescript
|
|
25
|
-
import { useMaybeTrackContext } from "@livekit/components-react";
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
{% partial file="p_usage.md" variables={exampleCount: 0} /%}
|
|
29
|
-
|
|
30
|
-
## Returns
|
|
31
|
-
|
|
32
|
-
```typescript
|
|
33
|
-
TrackReferenceOrPlaceholder | undefined;
|
|
34
|
-
```
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
{
|
|
3
|
-
"title": "useMediaTrack",
|
|
4
|
-
"linkToSource": "https://github.com/livekit/components-js/blob/main/packages/react/src/hooks/useMediaTrack.ts"
|
|
5
|
-
}
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
9
|
-
|
|
10
|
-
# useMediaTrack
|
|
11
|
-
|
|
12
|
-
{% callout type="caution" variation="normal" %}
|
|
13
|
-
|
|
14
|
-
This API is deprecated:
|
|
15
|
-
|
|
16
|
-
use `useTrack` instead
|
|
17
|
-
|
|
18
|
-
{% /callout %}
|
|
19
|
-
|
|
20
|
-
## Import
|
|
21
|
-
|
|
22
|
-
```typescript
|
|
23
|
-
import { useMediaTrack } from "@livekit/components-react";
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
{% partial file="p_usage.md" variables={exampleCount: 0} /%}
|
|
27
|
-
|
|
28
|
-
## Properties
|
|
29
|
-
|
|
30
|
-
{% parameter name="source" type="VideoSource | AudioSource" optional=false %}
|
|
31
|
-
{% /parameter %}
|
|
32
|
-
|
|
33
|
-
{% parameter name="options" type="UseMediaTrackOptions" optional=true %}
|
|
34
|
-
{% /parameter %}
|
|
35
|
-
|
|
36
|
-
{% parameter name="participant" type="Participant" optional=true %}
|
|
37
|
-
{% /parameter %}
|
|
38
|
-
|
|
39
|
-
## Returns
|
|
40
|
-
|
|
41
|
-
```typescript
|
|
42
|
-
{
|
|
43
|
-
publication: import("livekit-client").TrackPublication | undefined;
|
|
44
|
-
isMuted: boolean | undefined;
|
|
45
|
-
isSubscribed: boolean | undefined;
|
|
46
|
-
track: import("livekit-client").Track | undefined;
|
|
47
|
-
elementProps: React.HTMLAttributes<HTMLElement>;
|
|
48
|
-
}
|
|
49
|
-
```
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
{
|
|
3
|
-
"title": "useMediaTrackByName",
|
|
4
|
-
"linkToSource": "https://github.com/livekit/components-js/blob/main/packages/react/src/hooks/useMediaTrackByName.ts"
|
|
5
|
-
}
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
9
|
-
|
|
10
|
-
# useMediaTrackByName
|
|
11
|
-
|
|
12
|
-
{% callout type="caution" variation="normal" %}
|
|
13
|
-
|
|
14
|
-
This API is deprecated:
|
|
15
|
-
|
|
16
|
-
This function will be removed in a future version, use `useTrackByName` instead.
|
|
17
|
-
|
|
18
|
-
{% /callout %}
|
|
19
|
-
|
|
20
|
-
## Import
|
|
21
|
-
|
|
22
|
-
```typescript
|
|
23
|
-
import { useMediaTrackByName } from "@livekit/components-react";
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
{% partial file="p_usage.md" variables={exampleCount: 0} /%}
|
|
27
|
-
|
|
28
|
-
## Properties
|
|
29
|
-
|
|
30
|
-
{% parameter name="name" type="string" optional=false %}
|
|
31
|
-
{% /parameter %}
|
|
32
|
-
|
|
33
|
-
{% parameter name="options" type="UseMediaTrackOptions" optional=true %}
|
|
34
|
-
{% /parameter %}
|
|
35
|
-
|
|
36
|
-
{% parameter name="participant" type="Participant" optional=true %}
|
|
37
|
-
{% /parameter %}
|
|
38
|
-
|
|
39
|
-
## Returns
|
|
40
|
-
|
|
41
|
-
```typescript
|
|
42
|
-
{
|
|
43
|
-
publication: import("livekit-client").TrackPublication | undefined;
|
|
44
|
-
isMuted: boolean | undefined;
|
|
45
|
-
isSubscribed: boolean | undefined;
|
|
46
|
-
track: import("livekit-client").Track | undefined;
|
|
47
|
-
elementProps: import("react").HTMLAttributes<HTMLElement>;
|
|
48
|
-
}
|
|
49
|
-
```
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
{
|
|
3
|
-
"title": "useTrack",
|
|
4
|
-
"linkToSource": "https://github.com/livekit/components-js/blob/main/packages/react/src/hooks/useTrack.ts"
|
|
5
|
-
}
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
9
|
-
|
|
10
|
-
# useTrack
|
|
11
|
-
|
|
12
|
-
## Import
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import { useTrack } from "@livekit/components-react";
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
{% partial file="p_usage.md" variables={exampleCount: 0} /%}
|
|
19
|
-
|
|
20
|
-
## Properties
|
|
21
|
-
|
|
22
|
-
{% parameter name="trackRef" type="TrackIdentifier" optional=false %}
|
|
23
|
-
{% /parameter %}
|
|
24
|
-
|
|
25
|
-
{% parameter name="options" type="UseTrackOptions" optional=true %}
|
|
26
|
-
{% /parameter %}
|
|
27
|
-
|
|
28
|
-
## Returns
|
|
29
|
-
|
|
30
|
-
```typescript
|
|
31
|
-
{
|
|
32
|
-
publication: import("livekit-client").TrackPublication | undefined;
|
|
33
|
-
isMuted: boolean | undefined;
|
|
34
|
-
isSubscribed: boolean | undefined;
|
|
35
|
-
track: import("livekit-client").Track | undefined;
|
|
36
|
-
elementProps: React.HTMLAttributes<HTMLElement>;
|
|
37
|
-
}
|
|
38
|
-
```
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
{
|
|
3
|
-
"title": "useTrackContext",
|
|
4
|
-
"linkToSource": "https://github.com/livekit/components-js/blob/main/packages/react/src/context/track-reference-context.ts"
|
|
5
|
-
}
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
9
|
-
|
|
10
|
-
# useTrackContext
|
|
11
|
-
|
|
12
|
-
{% callout type="caution" variation="normal" %}
|
|
13
|
-
|
|
14
|
-
This API is deprecated:
|
|
15
|
-
|
|
16
|
-
`useTrackContext` has been renamed to `useTrackRefContext`<!-- -->, use this as a drop in replacement.
|
|
17
|
-
|
|
18
|
-
{% /callout %}
|
|
19
|
-
|
|
20
|
-
Ensures that a track reference is provided via context. If not inside a `TrackRefContext`<!-- -->, an error is thrown.
|
|
21
|
-
|
|
22
|
-
## Import
|
|
23
|
-
|
|
24
|
-
```typescript
|
|
25
|
-
import { useTrackContext } from "@livekit/components-react";
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
{% partial file="p_usage.md" variables={exampleCount: 0} /%}
|
|
29
|
-
|
|
30
|
-
## Returns
|
|
31
|
-
|
|
32
|
-
```typescript
|
|
33
|
-
TrackReferenceOrPlaceholder;
|
|
34
|
-
```
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
{
|
|
3
|
-
"title": "useTrackMutedIndicator",
|
|
4
|
-
"linkToSource": "https://github.com/livekit/components-js/blob/main/packages/react/src/hooks/useTrackMutedIndicator.ts"
|
|
5
|
-
}
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
9
|
-
|
|
10
|
-
# useTrackMutedIndicator
|
|
11
|
-
|
|
12
|
-
{% callout type="caution" variation="normal" %}
|
|
13
|
-
|
|
14
|
-
This API is deprecated:
|
|
15
|
-
|
|
16
|
-
This overload will be removed in a future version, pass in trackRef instead.
|
|
17
|
-
|
|
18
|
-
{% /callout %}
|
|
19
|
-
|
|
20
|
-
## Import
|
|
21
|
-
|
|
22
|
-
```typescript
|
|
23
|
-
import { useTrackMutedIndicator } from "@livekit/components-react";
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
{% partial file="p_usage.md" variables={exampleCount: 0} /%}
|
|
27
|
-
|
|
28
|
-
## Properties
|
|
29
|
-
|
|
30
|
-
{% parameter name="source" type="Track.Source" optional=false %}
|
|
31
|
-
{% /parameter %}
|
|
32
|
-
|
|
33
|
-
{% parameter name="options" type="UseTrackMutedIndicatorOptions" optional=true %}
|
|
34
|
-
{% /parameter %}
|
|
35
|
-
|
|
36
|
-
## Returns
|
|
37
|
-
|
|
38
|
-
```typescript
|
|
39
|
-
TrackMutedIndicatorReturnType;
|
|
40
|
-
```
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
{ "title": "ParticipantTileProps.participant property" }
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
6
|
-
|
|
7
|
-
# ParticipantTileProps.participant property
|
|
8
|
-
|
|
9
|
-
{% callout type="caution" variation="normal" %}
|
|
10
|
-
|
|
11
|
-
This API is deprecated:
|
|
12
|
-
|
|
13
|
-
This parameter will be removed in a future version use `trackRef` instead.
|
|
14
|
-
|
|
15
|
-
{% /callout %}
|
|
16
|
-
|
|
17
|
-
**Signature:**
|
|
18
|
-
|
|
19
|
-
```typescript
|
|
20
|
-
participant?: Participant;
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
{% partial file="p_usage.md" variables={exampleCount: 0} /%}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
{ "title": "ParticipantTileProps.publication property" }
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
6
|
-
|
|
7
|
-
# ParticipantTileProps.publication property
|
|
8
|
-
|
|
9
|
-
{% callout type="caution" variation="normal" %}
|
|
10
|
-
|
|
11
|
-
This API is deprecated:
|
|
12
|
-
|
|
13
|
-
This parameter will be removed in a future version use `trackRef` instead.
|
|
14
|
-
|
|
15
|
-
{% /callout %}
|
|
16
|
-
|
|
17
|
-
**Signature:**
|
|
18
|
-
|
|
19
|
-
```typescript
|
|
20
|
-
publication?: TrackPublication;
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
{% partial file="p_usage.md" variables={exampleCount: 0} /%}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
{ "title": "ParticipantTileProps.source property" }
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
6
|
-
|
|
7
|
-
# ParticipantTileProps.source property
|
|
8
|
-
|
|
9
|
-
{% callout type="caution" variation="normal" %}
|
|
10
|
-
|
|
11
|
-
This API is deprecated:
|
|
12
|
-
|
|
13
|
-
This parameter will be removed in a future version use `trackRef` instead.
|
|
14
|
-
|
|
15
|
-
{% /callout %}
|
|
16
|
-
|
|
17
|
-
**Signature:**
|
|
18
|
-
|
|
19
|
-
```typescript
|
|
20
|
-
source?: Track.Source;
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
{% partial file="p_usage.md" variables={exampleCount: 0} /%}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
{ "title": "PreJoinProps.showE2EEOptions property" }
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
6
|
-
|
|
7
|
-
# PreJoinProps.showE2EEOptions property
|
|
8
|
-
|
|
9
|
-
{% callout type="caution" variation="normal" %}
|
|
10
|
-
|
|
11
|
-
This API is deprecated:
|
|
12
|
-
|
|
13
|
-
E2EE options will be removed from PreJoin in a future version \*
|
|
14
|
-
|
|
15
|
-
{% /callout %}
|
|
16
|
-
|
|
17
|
-
**Signature:**
|
|
18
|
-
|
|
19
|
-
```typescript
|
|
20
|
-
showE2EEOptions?: boolean;
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
{% partial file="p_usage.md" variables={exampleCount: 0} /%}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
{
|
|
3
|
-
"title": "TrackContext variable",
|
|
4
|
-
"linkToSource": "https://github.com/livekit/components-js/blob/main/packages/react/src/context/track-reference-context.ts"
|
|
5
|
-
}
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
9
|
-
|
|
10
|
-
# TrackContext variable
|
|
11
|
-
|
|
12
|
-
{% callout type="caution" variation="normal" %}
|
|
13
|
-
|
|
14
|
-
This API is deprecated:
|
|
15
|
-
|
|
16
|
-
`TrackContext` has been renamed to `TrackRefContext`<!-- -->, use this as a drop in replacement.
|
|
17
|
-
|
|
18
|
-
{% /callout %}
|
|
19
|
-
|
|
20
|
-
**Signature:**
|
|
21
|
-
|
|
22
|
-
```typescript
|
|
23
|
-
TrackContext: React.Context<TrackReferenceOrPlaceholder | undefined>;
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
{% partial file="p_usage.md" variables={exampleCount: 0} /%}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
{ "title": "TrackMutedIndicatorProps.participant property" }
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
6
|
-
|
|
7
|
-
# TrackMutedIndicatorProps.participant property
|
|
8
|
-
|
|
9
|
-
{% callout type="caution" variation="normal" %}
|
|
10
|
-
|
|
11
|
-
This API is deprecated:
|
|
12
|
-
|
|
13
|
-
This parameter will be removed in a future version use `trackRef` instead.
|
|
14
|
-
|
|
15
|
-
{% /callout %}
|
|
16
|
-
|
|
17
|
-
**Signature:**
|
|
18
|
-
|
|
19
|
-
```typescript
|
|
20
|
-
participant?: Participant;
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
{% partial file="p_usage.md" variables={exampleCount: 0} /%}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
{ "title": "TrackMutedIndicatorProps.source property" }
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
6
|
-
|
|
7
|
-
# TrackMutedIndicatorProps.source property
|
|
8
|
-
|
|
9
|
-
{% callout type="caution" variation="normal" %}
|
|
10
|
-
|
|
11
|
-
This API is deprecated:
|
|
12
|
-
|
|
13
|
-
This parameter will be removed in a future version use `trackRef` instead.
|
|
14
|
-
|
|
15
|
-
{% /callout %}
|
|
16
|
-
|
|
17
|
-
**Signature:**
|
|
18
|
-
|
|
19
|
-
```typescript
|
|
20
|
-
source?: Track.Source;
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
{% partial file="p_usage.md" variables={exampleCount: 0} /%}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
{ "title": "UseFocusToggleProps.participant property" }
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
6
|
-
|
|
7
|
-
# UseFocusToggleProps.participant property
|
|
8
|
-
|
|
9
|
-
{% callout type="caution" variation="normal" %}
|
|
10
|
-
|
|
11
|
-
This API is deprecated:
|
|
12
|
-
|
|
13
|
-
This parameter will be removed in a future version use `trackRef` instead.
|
|
14
|
-
|
|
15
|
-
{% /callout %}
|
|
16
|
-
|
|
17
|
-
**Signature:**
|
|
18
|
-
|
|
19
|
-
```typescript
|
|
20
|
-
participant?: Participant;
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
{% partial file="p_usage.md" variables={exampleCount: 0} /%}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
{ "title": "UseFocusToggleProps.trackSource property" }
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
6
|
-
|
|
7
|
-
# UseFocusToggleProps.trackSource property
|
|
8
|
-
|
|
9
|
-
{% callout type="caution" variation="normal" %}
|
|
10
|
-
|
|
11
|
-
This API is deprecated:
|
|
12
|
-
|
|
13
|
-
This parameter will be removed in a future version use `trackRef` instead.
|
|
14
|
-
|
|
15
|
-
{% /callout %}
|
|
16
|
-
|
|
17
|
-
**Signature:**
|
|
18
|
-
|
|
19
|
-
```typescript
|
|
20
|
-
trackSource?: Track.Source;
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
{% partial file="p_usage.md" variables={exampleCount: 0} /%}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
{ "title": "UseMediaTrackOptions.element property" }
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
6
|
-
|
|
7
|
-
# UseMediaTrackOptions.element property
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
element?: React.RefObject<HTMLMediaElement>;
|
|
13
|
-
```
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
{
|
|
3
|
-
"title": "UseMediaTrackOptions interface",
|
|
4
|
-
"linkToSource": "https://github.com/livekit/components-js/blob/main/packages/react/src/hooks/useMediaTrack.ts"
|
|
5
|
-
}
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
9
|
-
|
|
10
|
-
# UseMediaTrackOptions interface
|
|
11
|
-
|
|
12
|
-
**Signature:**
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
export interface UseMediaTrackOptions
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
{% partial file="p_usage.md" variables={exampleCount: 0} /%}
|
|
19
|
-
|
|
20
|
-
## Properties
|
|
21
|
-
|
|
22
|
-
| Property | Type | Description |
|
|
23
|
-
| --------------------------------------------------- | ---------------------------------------------------------------- | ------------ |
|
|
24
|
-
| [element?](./react/usemediatrackoptions.element.md) | React.RefObject<HTMLMediaElement> | _(Optional)_ |
|
|
25
|
-
| [props?](./react/usemediatrackoptions.props.md) | React.HTMLAttributes<HTMLVideoElement \| HTMLAudioElement> | _(Optional)_ |
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
{ "title": "UseMediaTrackOptions.props property" }
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
6
|
-
|
|
7
|
-
# UseMediaTrackOptions.props property
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
props?: React.HTMLAttributes<HTMLVideoElement | HTMLAudioElement>;
|
|
13
|
-
```
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
{ "title": "UseParticipantTileProps.participant property" }
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
6
|
-
|
|
7
|
-
# UseParticipantTileProps.participant property
|
|
8
|
-
|
|
9
|
-
{% callout type="caution" variation="normal" %}
|
|
10
|
-
|
|
11
|
-
This API is deprecated:
|
|
12
|
-
|
|
13
|
-
This parameter will be removed in a future version use `trackRef` instead.
|
|
14
|
-
|
|
15
|
-
{% /callout %}
|
|
16
|
-
|
|
17
|
-
**Signature:**
|
|
18
|
-
|
|
19
|
-
```typescript
|
|
20
|
-
participant?: Participant;
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
{% partial file="p_usage.md" variables={exampleCount: 0} /%}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
{ "title": "UseParticipantTileProps.publication property" }
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
6
|
-
|
|
7
|
-
# UseParticipantTileProps.publication property
|
|
8
|
-
|
|
9
|
-
{% callout type="caution" variation="normal" %}
|
|
10
|
-
|
|
11
|
-
This API is deprecated:
|
|
12
|
-
|
|
13
|
-
This parameter will be removed in a future version use `trackRef` instead.
|
|
14
|
-
|
|
15
|
-
{% /callout %}
|
|
16
|
-
|
|
17
|
-
**Signature:**
|
|
18
|
-
|
|
19
|
-
```typescript
|
|
20
|
-
publication?: TrackPublication;
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
{% partial file="p_usage.md" variables={exampleCount: 0} /%}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
{ "title": "UseParticipantTileProps.source property" }
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
6
|
-
|
|
7
|
-
# UseParticipantTileProps.source property
|
|
8
|
-
|
|
9
|
-
{% callout type="caution" variation="normal" %}
|
|
10
|
-
|
|
11
|
-
This API is deprecated:
|
|
12
|
-
|
|
13
|
-
This parameter will be removed in a future version use `trackRef` instead.
|
|
14
|
-
|
|
15
|
-
{% /callout %}
|
|
16
|
-
|
|
17
|
-
**Signature:**
|
|
18
|
-
|
|
19
|
-
```typescript
|
|
20
|
-
source?: Track.Source;
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
{% partial file="p_usage.md" variables={exampleCount: 0} /%}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
{
|
|
3
|
-
"title": "UseTrackMutedIndicatorOptions interface",
|
|
4
|
-
"linkToSource": "https://github.com/livekit/components-js/blob/main/packages/react/src/hooks/useTrackMutedIndicator.ts"
|
|
5
|
-
}
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
9
|
-
|
|
10
|
-
# UseTrackMutedIndicatorOptions interface
|
|
11
|
-
|
|
12
|
-
**Signature:**
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
export interface UseTrackMutedIndicatorOptions
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
{% partial file="p_usage.md" variables={exampleCount: 0} /%}
|
|
19
|
-
|
|
20
|
-
## Properties
|
|
21
|
-
|
|
22
|
-
| Property | Type | Description |
|
|
23
|
-
| -------------------------------------------------------------------- | ----------- | ------------ |
|
|
24
|
-
| [participant?](./react/usetrackmutedindicatoroptions.participant.md) | Participant | _(Optional)_ |
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
{ "title": "UseTrackMutedIndicatorOptions.participant property" }
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
6
|
-
|
|
7
|
-
# UseTrackMutedIndicatorOptions.participant property
|
|
8
|
-
|
|
9
|
-
{% callout type="caution" variation="normal" %}
|
|
10
|
-
|
|
11
|
-
This API is deprecated:
|
|
12
|
-
|
|
13
|
-
This parameter will be removed in a future version use `trackRef` instead.
|
|
14
|
-
|
|
15
|
-
{% /callout %}
|
|
16
|
-
|
|
17
|
-
**Signature:**
|
|
18
|
-
|
|
19
|
-
```typescript
|
|
20
|
-
participant?: Participant;
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
{% partial file="p_usage.md" variables={exampleCount: 0} /%}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
{ "title": "UseTrackOptions.element property" }
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
6
|
-
|
|
7
|
-
# UseTrackOptions.element property
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
element?: React.RefObject<HTMLMediaElement>;
|
|
13
|
-
```
|