@livekit/components-js-docs 0.0.4 → 0.0.5
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/encryptionstatusobservable.md +12 -0
- package/generated-docs/core/index.md +1 -0
- package/generated-docs/react/hook/usechat.md +7 -1
- package/generated-docs/react/hook/usechattoggle.md +10 -1
- package/generated-docs/react/hook/useclearpinbutton.md +9 -1
- package/generated-docs/react/hook/useconnectionqualityindicator.md +63 -1
- package/generated-docs/react/hook/useconnectionstate.md +3 -1
- package/generated-docs/react/hook/usecreatelayoutcontext.md +3 -1
- package/generated-docs/react/hook/usedatachannel.md +3 -1
- package/generated-docs/react/hook/usedatachannel_1.md +3 -1
- package/generated-docs/react/hook/usedisconnectbutton.md +9 -1
- package/generated-docs/react/hook/useensurecreatelayoutcontext.md +3 -1
- package/generated-docs/react/hook/useensurelayoutcontext.md +3 -1
- package/generated-docs/react/hook/useensureparticipant.md +3 -1
- package/generated-docs/react/hook/useensureroom.md +3 -1
- package/generated-docs/react/hook/useensuretrackreference.md +3 -1
- package/generated-docs/react/hook/usefocustoggle.md +9 -1
- package/generated-docs/react/hook/usegridlayout.md +5 -1
- package/generated-docs/react/hook/useismuted.md +3 -1
- package/generated-docs/react/hook/useisspeaking.md +3 -1
- package/generated-docs/react/hook/uselayoutcontext.md +3 -1
- package/generated-docs/react/hook/uselivekitroom.md +6 -1
- package/generated-docs/react/hook/uselocalparticipant.md +12 -1
- package/generated-docs/react/hook/uselocalparticipantpermissions.md +3 -1
- package/generated-docs/react/hook/usemaybelayoutcontext.md +3 -1
- package/generated-docs/react/hook/usemaybeparticipantcontext.md +3 -1
- package/generated-docs/react/hook/usemayberoomcontext.md +3 -1
- package/generated-docs/react/hook/usemaybetrackcontext.md +3 -1
- package/generated-docs/react/hook/usemediadevices.md +3 -1
- package/generated-docs/react/hook/usemediadeviceselect.md +8 -1
- package/generated-docs/react/hook/usemediatrack.md +9 -1
- package/generated-docs/react/hook/usemediatrackbyname.md +9 -1
- package/generated-docs/react/hook/useparticipantcontext.md +3 -1
- package/generated-docs/react/hook/useparticipantinfo.md +7 -1
- package/generated-docs/react/hook/useparticipantpermissions.md +3 -1
- package/generated-docs/react/hook/useparticipants.md +3 -1
- package/generated-docs/react/hook/useparticipanttile.md +5 -1
- package/generated-docs/react/hook/usepinnedtracks.md +3 -1
- package/generated-docs/react/hook/usepreviewdevice.md +7 -1
- package/generated-docs/react/hook/useremoteparticipant.md +3 -1
- package/generated-docs/react/hook/useremoteparticipants.md +3 -1
- package/generated-docs/react/hook/useroomcontext.md +3 -1
- package/generated-docs/react/hook/useroominfo.md +6 -1
- package/generated-docs/react/hook/usesortedparticipants.md +3 -1
- package/generated-docs/react/hook/usespeakingparticipants.md +3 -1
- package/generated-docs/react/hook/usetoken.md +3 -1
- package/generated-docs/react/hook/usetrackcontext.md +3 -1
- package/generated-docs/react/hook/usetrackmutedindicator.md +6 -1
- package/generated-docs/react/hook/usetracks.md +3 -1
- package/generated-docs/react/hook/usetracktoggle.md +9 -1
- package/generated-docs/react/hook/usevisualstableupdate.md +3 -1
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
# encryptionStatusObservable
|
|
4
|
+
|
|
5
|
+
**Signature:**
|
|
6
|
+
|
|
7
|
+
```typescript
|
|
8
|
+
export declare function encryptionStatusObservable(
|
|
9
|
+
room: Room,
|
|
10
|
+
participant: Participant,
|
|
11
|
+
): Observable<boolean>;
|
|
12
|
+
```
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
| [cssPrefix](./core/cssprefix.md) | |
|
|
33
33
|
| [DataSendOptions](./core/datasendoptions.md) | |
|
|
34
34
|
| [DataTopic](./core/datatopic.md) | |
|
|
35
|
+
| [encryptionStatusObservable(room, participant)](./core/encryptionstatusobservable.md) | |
|
|
35
36
|
| [getTrackByIdentifier(options)](./core/gettrackbyidentifier.md) | |
|
|
36
37
|
| [getTrackReferenceId(trackReference)](./core/gettrackreferenceid.md) | Returns a id to identify the <code>TrackReference</code> based on participant and source. |
|
|
37
38
|
| [getTrackReferenceSource(trackReference)](./core/gettrackreferencesource.md) | Returns the Source of the TrackReference. |
|
|
@@ -20,4 +20,10 @@ import { useChat } from '@livekit/components-react';
|
|
|
20
20
|
|
|
21
21
|
## Returns
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
```typescript
|
|
24
|
+
{
|
|
25
|
+
send: ((message: string) => Promise<void>) | undefined;
|
|
26
|
+
chatMessages: ReceivedChatMessage[];
|
|
27
|
+
isSending: boolean;
|
|
28
|
+
}
|
|
29
|
+
```
|
|
@@ -17,4 +17,13 @@ import { useChatToggle } from '@livekit/components-react';
|
|
|
17
17
|
|
|
18
18
|
## Returns
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
```typescript
|
|
21
|
+
{
|
|
22
|
+
mergedProps: React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
23
|
+
className: string;
|
|
24
|
+
onClick: () => void;
|
|
25
|
+
'aria-pressed': string;
|
|
26
|
+
'data-lk-unread-msgs': string;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
```
|
|
@@ -17,4 +17,12 @@ import { useClearPinButton } from '@livekit/components-react';
|
|
|
17
17
|
|
|
18
18
|
## Returns
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
```typescript
|
|
21
|
+
{
|
|
22
|
+
buttonProps: ClearPinButtonProps & {
|
|
23
|
+
className: string;
|
|
24
|
+
disabled: boolean;
|
|
25
|
+
onClick: () => void;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
```
|
|
@@ -17,4 +17,66 @@ import { useConnectionQualityIndicator } from '@livekit/components-react';
|
|
|
17
17
|
|
|
18
18
|
## Returns
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
```typescript
|
|
21
|
+
{
|
|
22
|
+
className: 'lk-rotate' |
|
|
23
|
+
'lk-audio-conference' |
|
|
24
|
+
'lk-audio-conference-stage' |
|
|
25
|
+
'lk-audio-container' |
|
|
26
|
+
'lk-button' |
|
|
27
|
+
'lk-button-group' |
|
|
28
|
+
'lk-button-group-container' |
|
|
29
|
+
'lk-camera-off-note' |
|
|
30
|
+
'lk-chat' |
|
|
31
|
+
'lk-chat-entry' |
|
|
32
|
+
'lk-chat-form' |
|
|
33
|
+
'lk-chat-form-input' |
|
|
34
|
+
'lk-chat-messages' |
|
|
35
|
+
'lk-control-bar' |
|
|
36
|
+
'lk-focus-layout-wrapper' |
|
|
37
|
+
'lk-form-control' |
|
|
38
|
+
'lk-grid-layout-wrapper' |
|
|
39
|
+
'lk-join-button' |
|
|
40
|
+
'lk-list' |
|
|
41
|
+
'lk-message-body' |
|
|
42
|
+
'lk-meta-data' |
|
|
43
|
+
'lk-participant-name' |
|
|
44
|
+
'lk-prejoin' |
|
|
45
|
+
'lk-timestamp' |
|
|
46
|
+
'lk-username-container' |
|
|
47
|
+
'lk-video-conference' |
|
|
48
|
+
'lk-video-conference-inner' |
|
|
49
|
+
'lk-video-container' |
|
|
50
|
+
'lk-audio-visualizer' |
|
|
51
|
+
'lk-button-group-menu' |
|
|
52
|
+
'lk-button-menu' |
|
|
53
|
+
'lk-carousel' |
|
|
54
|
+
'lk-chat-toggle' |
|
|
55
|
+
'lk-connection-quality' |
|
|
56
|
+
'lk-device-menu' |
|
|
57
|
+
'lk-device-menu-heading' |
|
|
58
|
+
'lk-disconnect-button' |
|
|
59
|
+
'lk-focus-layout' |
|
|
60
|
+
'lk-focus-toggle-button' |
|
|
61
|
+
'lk-focused-participant' |
|
|
62
|
+
'lk-grid-layout' |
|
|
63
|
+
'lk-media-device-select' |
|
|
64
|
+
'lk-pagination-control' |
|
|
65
|
+
'lk-pagination-count' |
|
|
66
|
+
'lk-pagination-indicator' |
|
|
67
|
+
'lk-participant-media-audio' |
|
|
68
|
+
'lk-participant-media-video' |
|
|
69
|
+
'lk-participant-metadata' |
|
|
70
|
+
'lk-participant-metadata-item' |
|
|
71
|
+
'lk-participant-placeholder' |
|
|
72
|
+
'lk-participant-tile' |
|
|
73
|
+
'lk-pip-track' |
|
|
74
|
+
'lk-room-container' |
|
|
75
|
+
'lk-spinner' |
|
|
76
|
+
'lk-start-audio-button' |
|
|
77
|
+
'lk-toast' |
|
|
78
|
+
'lk-track-muted-indicator-camera' |
|
|
79
|
+
'lk-track-muted-indicator-microphone';
|
|
80
|
+
quality: ConnectionQuality;
|
|
81
|
+
}
|
|
82
|
+
```
|
|
@@ -17,4 +17,12 @@ import { useDisconnectButton } from '@livekit/components-react';
|
|
|
17
17
|
|
|
18
18
|
## Returns
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
```typescript
|
|
21
|
+
{
|
|
22
|
+
buttonProps: DisconnectButtonProps & {
|
|
23
|
+
className: string;
|
|
24
|
+
onClick: () => void;
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
```
|
|
@@ -17,4 +17,12 @@ import { useFocusToggle } from '@livekit/components-react';
|
|
|
17
17
|
|
|
18
18
|
## Returns
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
```typescript
|
|
21
|
+
{
|
|
22
|
+
mergedProps: React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
23
|
+
className: string;
|
|
24
|
+
onClick: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
25
|
+
};
|
|
26
|
+
inFocus: boolean;
|
|
27
|
+
}
|
|
28
|
+
```
|
|
@@ -19,4 +19,15 @@ import { useLocalParticipant } from '@livekit/components-react';
|
|
|
19
19
|
|
|
20
20
|
## Returns
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
```typescript
|
|
23
|
+
{
|
|
24
|
+
isMicrophoneEnabled: boolean;
|
|
25
|
+
isScreenShareEnabled: boolean;
|
|
26
|
+
isCameraEnabled: boolean;
|
|
27
|
+
microphoneTrack: TrackPublication | undefined;
|
|
28
|
+
cameraTrack: TrackPublication | undefined;
|
|
29
|
+
lastMicrophoneError: Error | undefined;
|
|
30
|
+
lastCameraError: Error | undefined;
|
|
31
|
+
localParticipant: LocalParticipant;
|
|
32
|
+
}
|
|
33
|
+
```
|
|
@@ -12,4 +12,6 @@ import { useLocalParticipantPermissions } from '@livekit/components-react';
|
|
|
12
12
|
|
|
13
13
|
## Returns
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
```typescript
|
|
16
|
+
import('livekit-client/dist/src/proto/livekit_models_pb').ParticipantPermission | undefined;
|
|
17
|
+
```
|
|
@@ -17,4 +17,11 @@ import { useMediaDeviceSelect } from '@livekit/components-react';
|
|
|
17
17
|
|
|
18
18
|
## Returns
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
```typescript
|
|
21
|
+
{
|
|
22
|
+
devices: MediaDeviceInfo[];
|
|
23
|
+
className: string;
|
|
24
|
+
activeDeviceId: string;
|
|
25
|
+
setActiveMediaDevice: (id: string, options?: import("@livekit/components-core").SetMediaDeviceOptions | undefined) => Promise<void>;
|
|
26
|
+
}
|
|
27
|
+
```
|
|
@@ -23,4 +23,12 @@ import { useMediaTrack } from '@livekit/components-react';
|
|
|
23
23
|
|
|
24
24
|
## Returns
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
```typescript
|
|
27
|
+
{
|
|
28
|
+
publication: import('livekit-client').TrackPublication | undefined;
|
|
29
|
+
isMuted: boolean | undefined;
|
|
30
|
+
isSubscribed: boolean | undefined;
|
|
31
|
+
track: import('livekit-client').Track | undefined;
|
|
32
|
+
elementProps: React.HTMLAttributes<HTMLElement>;
|
|
33
|
+
}
|
|
34
|
+
```
|
|
@@ -23,4 +23,12 @@ import { useMediaTrackByName } from '@livekit/components-react';
|
|
|
23
23
|
|
|
24
24
|
## Returns
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
```typescript
|
|
27
|
+
{
|
|
28
|
+
publication: import('livekit-client').TrackPublication | undefined;
|
|
29
|
+
isMuted: boolean | undefined;
|
|
30
|
+
isSubscribed: boolean | undefined;
|
|
31
|
+
track: import('livekit-client').Track | undefined;
|
|
32
|
+
elementProps: import('react').HTMLAttributes<HTMLElement>;
|
|
33
|
+
}
|
|
34
|
+
```
|
|
@@ -17,4 +17,10 @@ import { useParticipantInfo } from '@livekit/components-react';
|
|
|
17
17
|
|
|
18
18
|
## Returns
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
```typescript
|
|
21
|
+
{
|
|
22
|
+
identity: string;
|
|
23
|
+
name: string | undefined;
|
|
24
|
+
metadata: string | undefined;
|
|
25
|
+
}
|
|
26
|
+
```
|
|
@@ -17,4 +17,6 @@ import { useParticipantPermissions } from '@livekit/components-react';
|
|
|
17
17
|
|
|
18
18
|
## Returns
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
```typescript
|
|
21
|
+
import('livekit-client/dist/src/proto/livekit_models_pb').ParticipantPermission | undefined;
|
|
22
|
+
```
|
|
@@ -19,4 +19,6 @@ import { useParticipants } from '@livekit/components-react';
|
|
|
19
19
|
|
|
20
20
|
## Returns
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
```typescript
|
|
23
|
+
(import("livekit-client").RemoteParticipant | import("livekit-client").LocalParticipant)[]
|
|
24
|
+
```
|
|
@@ -23,4 +23,10 @@ import { usePreviewDevice } from '@livekit/components-react';
|
|
|
23
23
|
|
|
24
24
|
## Returns
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
```typescript
|
|
27
|
+
{
|
|
28
|
+
selectedDevice: MediaDeviceInfo | undefined;
|
|
29
|
+
localTrack: T | undefined;
|
|
30
|
+
deviceError: Error | null;
|
|
31
|
+
}
|
|
32
|
+
```
|
|
@@ -17,4 +17,12 @@ import { useTrackToggle } from '@livekit/components-react';
|
|
|
17
17
|
|
|
18
18
|
## Returns
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
```typescript
|
|
21
|
+
{
|
|
22
|
+
toggle: ((forceState?: boolean | undefined) => void) | ((forceState?: boolean | undefined, captureOptions?: import("@livekit/components-core").CaptureOptionsBySource<T> | undefined) => Promise<void>);
|
|
23
|
+
enabled: boolean;
|
|
24
|
+
pending: boolean;
|
|
25
|
+
track: import("livekit-client").LocalTrackPublication | undefined;
|
|
26
|
+
buttonProps: React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
27
|
+
}
|
|
28
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livekit/components-js-docs",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"description": "Automatically generated documentation pages for LiveKit Components JS. Intended to be consumed by the documentation page.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"yalc:publish": "yalc publish --private --push --replace",
|