@livekit/components-js-docs 0.1.22 → 0.1.24
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/addmediatimestamptotranscription.md +22 -0
- package/generated-docs/core/allparticipantevents.md +2 -2
- package/generated-docs/core/allparticipantroomevents.md +2 -2
- package/generated-docs/core/allremoteparticipantevents.md +2 -2
- package/generated-docs/core/allremoteparticipantroomevents.md +2 -2
- package/generated-docs/core/cssprefix.md +2 -2
- package/generated-docs/core/datatopic.md +2 -2
- package/generated-docs/core/dedupesegments.md +22 -0
- package/generated-docs/core/defaultuserchoices.md +2 -2
- package/generated-docs/core/didactivesegmentschange.md +19 -0
- package/generated-docs/core/getactivetranscriptionsegments.md +23 -0
- package/generated-docs/core/grid_layouts.md +2 -2
- package/generated-docs/core/index.md +128 -120
- package/generated-docs/core/log.md +2 -2
- package/generated-docs/core/participanttrackevents.md +2 -2
- package/generated-docs/core/pin_default_state.md +2 -2
- package/generated-docs/core/receivedtranscriptionsegment.md +19 -0
- package/generated-docs/core/trackeventselector.md +19 -0
- package/generated-docs/core/tracksynctimeobserver.md +16 -0
- package/generated-docs/core/tracktranscriptionobserver.md +18 -0
- package/generated-docs/core/widget_default_state.md +2 -2
- package/generated-docs/react/audiotrack.md +2 -2
- package/generated-docs/react/audiovisualizer.md +2 -2
- package/generated-docs/react/chatentry.md +2 -2
- package/generated-docs/react/chattoggle.md +2 -2
- package/generated-docs/react/clearpinbutton.md +2 -2
- package/generated-docs/react/{layoutcontext.md → component/layoutcontext.md} +4 -4
- package/generated-docs/react/{livekitroom.md → component/livekitroom.md} +4 -8
- package/generated-docs/react/{participantcontext.md → component/participantcontext.md} +4 -4
- package/generated-docs/react/{roomcontext.md → component/roomcontext.md} +4 -4
- package/generated-docs/react/{trackrefcontext.md → component/trackrefcontext.md} +4 -4
- package/generated-docs/react/connectionqualityindicator.md +2 -2
- package/generated-docs/react/connectionstate.md +2 -2
- package/generated-docs/react/disconnectbutton.md +2 -2
- package/generated-docs/react/focustoggle.md +2 -2
- package/generated-docs/react/hook/useisencrypted.md +3 -0
- package/generated-docs/react/hook/usetracktranscription.md +34 -0
- package/generated-docs/react/index.md +9 -6
- package/generated-docs/react/mediadeviceselect.md +2 -2
- package/generated-docs/react/meta-data.json +1 -1
- package/generated-docs/react/participantaudiotile.md +2 -2
- package/generated-docs/react/participantname.md +2 -2
- package/generated-docs/react/participanttile.md +2 -2
- package/generated-docs/react/roomname.md +2 -2
- package/generated-docs/react/startaudio.md +2 -2
- package/generated-docs/react/trackmutedindicator.md +2 -2
- package/generated-docs/react/tracktoggle.md +2 -2
- package/generated-docs/react/tracktranscriptionoptions.buffersize.md +17 -0
- package/generated-docs/react/tracktranscriptionoptions.md +24 -0
- package/generated-docs/react/useisencryptedoptions.md +24 -0
- package/generated-docs/react/useisencryptedoptions.room.md +13 -0
- package/generated-docs/react/videotrack.md +2 -2
- package/package.json +2 -2
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
{
|
|
3
|
+
"title": "addMediaTimestampToTranscription",
|
|
4
|
+
"linkToSource": "https://github.com/livekit/components-js/blob/main/packages/core/src/helper/transcriptions.ts"
|
|
5
|
+
}
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
9
|
+
|
|
10
|
+
# addMediaTimestampToTranscription
|
|
11
|
+
|
|
12
|
+
**Signature:**
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
export declare function addMediaTimestampToTranscription(
|
|
16
|
+
segment: TranscriptionSegment,
|
|
17
|
+
timestamps: {
|
|
18
|
+
timestamp: number;
|
|
19
|
+
rtpTimestamp?: number;
|
|
20
|
+
}
|
|
21
|
+
): ReceivedTranscriptionSegment;
|
|
22
|
+
```
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
{
|
|
3
|
-
"title": "allParticipantEvents
|
|
3
|
+
"title": "allParticipantEvents",
|
|
4
4
|
"linkToSource": "https://github.com/livekit/components-js/blob/main/packages/core/src/helper/eventGroups.ts"
|
|
5
5
|
}
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
9
9
|
|
|
10
|
-
# allParticipantEvents
|
|
10
|
+
# allParticipantEvents
|
|
11
11
|
|
|
12
12
|
**Signature:**
|
|
13
13
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
{
|
|
3
|
-
"title": "allParticipantRoomEvents
|
|
3
|
+
"title": "allParticipantRoomEvents",
|
|
4
4
|
"linkToSource": "https://github.com/livekit/components-js/blob/main/packages/core/src/helper/eventGroups.ts"
|
|
5
5
|
}
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
9
9
|
|
|
10
|
-
# allParticipantRoomEvents
|
|
10
|
+
# allParticipantRoomEvents
|
|
11
11
|
|
|
12
12
|
**Signature:**
|
|
13
13
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
{
|
|
3
|
-
"title": "allRemoteParticipantEvents
|
|
3
|
+
"title": "allRemoteParticipantEvents",
|
|
4
4
|
"linkToSource": "https://github.com/livekit/components-js/blob/main/packages/core/src/helper/eventGroups.ts"
|
|
5
5
|
}
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
9
9
|
|
|
10
|
-
# allRemoteParticipantEvents
|
|
10
|
+
# allRemoteParticipantEvents
|
|
11
11
|
|
|
12
12
|
**Signature:**
|
|
13
13
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
{
|
|
3
|
-
"title": "allRemoteParticipantRoomEvents
|
|
3
|
+
"title": "allRemoteParticipantRoomEvents",
|
|
4
4
|
"linkToSource": "https://github.com/livekit/components-js/blob/main/packages/core/src/helper/eventGroups.ts"
|
|
5
5
|
}
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
9
9
|
|
|
10
|
-
# allRemoteParticipantRoomEvents
|
|
10
|
+
# allRemoteParticipantRoomEvents
|
|
11
11
|
|
|
12
12
|
**Signature:**
|
|
13
13
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
{
|
|
3
|
-
"title": "cssPrefix
|
|
3
|
+
"title": "cssPrefix",
|
|
4
4
|
"linkToSource": "https://github.com/livekit/components-js/blob/main/packages/core/src/constants.ts"
|
|
5
5
|
}
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
9
9
|
|
|
10
|
-
# cssPrefix
|
|
10
|
+
# cssPrefix
|
|
11
11
|
|
|
12
12
|
**Signature:**
|
|
13
13
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
{
|
|
3
|
-
"title": "DataTopic
|
|
3
|
+
"title": "DataTopic",
|
|
4
4
|
"linkToSource": "https://github.com/livekit/components-js/blob/main/packages/core/src/observables/dataChannel.ts"
|
|
5
5
|
}
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
9
9
|
|
|
10
|
-
# DataTopic
|
|
10
|
+
# DataTopic
|
|
11
11
|
|
|
12
12
|
**Signature:**
|
|
13
13
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
{
|
|
3
|
+
"title": "dedupeSegments",
|
|
4
|
+
"linkToSource": "https://github.com/livekit/components-js/blob/main/packages/core/src/helper/transcriptions.ts"
|
|
5
|
+
}
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
9
|
+
|
|
10
|
+
# dedupeSegments
|
|
11
|
+
|
|
12
|
+
**Signature:**
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
export declare function dedupeSegments<T extends TranscriptionSegment>(
|
|
16
|
+
prevSegments: T[],
|
|
17
|
+
newSegments: T[],
|
|
18
|
+
windowSize: number
|
|
19
|
+
): T[];
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
{% partial file="p_usage.md" variables={exampleCount: 0} /%}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
{
|
|
3
|
-
"title": "defaultUserChoices
|
|
3
|
+
"title": "defaultUserChoices",
|
|
4
4
|
"linkToSource": "https://github.com/livekit/components-js/blob/main/packages/core/src/persistent-storage/user-choices.ts"
|
|
5
5
|
}
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
9
9
|
|
|
10
|
-
# defaultUserChoices
|
|
10
|
+
# defaultUserChoices
|
|
11
11
|
|
|
12
12
|
**Signature:**
|
|
13
13
|
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
{
|
|
3
|
+
"title": "didActiveSegmentsChange",
|
|
4
|
+
"linkToSource": "https://github.com/livekit/components-js/blob/main/packages/core/src/helper/transcriptions.ts"
|
|
5
|
+
}
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
9
|
+
|
|
10
|
+
# didActiveSegmentsChange
|
|
11
|
+
|
|
12
|
+
**Signature:**
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
export declare function didActiveSegmentsChange<T extends TranscriptionSegment>(
|
|
16
|
+
prevActive: T[],
|
|
17
|
+
newActive: T[]
|
|
18
|
+
): boolean;
|
|
19
|
+
```
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
{
|
|
3
|
+
"title": "getActiveTranscriptionSegments",
|
|
4
|
+
"linkToSource": "https://github.com/livekit/components-js/blob/main/packages/core/src/helper/transcriptions.ts"
|
|
5
|
+
}
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
9
|
+
|
|
10
|
+
# getActiveTranscriptionSegments
|
|
11
|
+
|
|
12
|
+
**Signature:**
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
export declare function getActiveTranscriptionSegments(
|
|
16
|
+
segments: ReceivedTranscriptionSegment[],
|
|
17
|
+
syncTimes: {
|
|
18
|
+
timestamp: number;
|
|
19
|
+
rtpTimestamp?: number;
|
|
20
|
+
},
|
|
21
|
+
maxAge?: number
|
|
22
|
+
): ReceivedTranscriptionSegment[];
|
|
23
|
+
```
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
{
|
|
3
|
-
"title": "GRID_LAYOUTS
|
|
3
|
+
"title": "GRID_LAYOUTS",
|
|
4
4
|
"linkToSource": "https://github.com/livekit/components-js/blob/main/packages/core/src/helper/grid-layouts.ts"
|
|
5
5
|
}
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
9
9
|
|
|
10
|
-
# GRID_LAYOUTS
|
|
10
|
+
# GRID_LAYOUTS
|
|
11
11
|
|
|
12
12
|
**Signature:**
|
|
13
13
|
|