@livekit/components-js-docs 0.1.68 → 0.1.70

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.
Files changed (52) hide show
  1. package/generated-docs/core/createdataobserver.md +2 -1
  2. package/generated-docs/core/index.md +5 -0
  3. package/generated-docs/core/participantagentattributes.md +28 -0
  4. package/generated-docs/core/receivedagenttranscriptionmessage.md +21 -0
  5. package/generated-docs/core/receivedchatmessage.md +6 -13
  6. package/generated-docs/core/receivedmessage.md +27 -0
  7. package/generated-docs/core/receivedusertranscriptionmessage.md +21 -0
  8. package/generated-docs/core/sentmessage.md +16 -0
  9. package/generated-docs/react/agentcallbacks.md +28 -0
  10. package/generated-docs/react/agentevent.md +30 -0
  11. package/generated-docs/react/agentstate.md +14 -5
  12. package/generated-docs/react/allowaudioplaybackprops.md +4 -3
  13. package/generated-docs/react/allowaudioplaybackprops.room.md +13 -0
  14. package/generated-docs/react/barvisualizerprops.md +8 -7
  15. package/generated-docs/react/barvisualizerprops.track.md +19 -0
  16. package/generated-docs/react/barvisualizerprops.trackref.md +6 -0
  17. package/generated-docs/react/component/roomaudiorenderer.md +5 -0
  18. package/generated-docs/react/component/sessionprovider.md +24 -0
  19. package/generated-docs/react/component/startaudio.md +5 -0
  20. package/generated-docs/react/hook/useagent.md +35 -0
  21. package/generated-docs/react/hook/useensuresession.md +35 -0
  22. package/generated-docs/react/hook/useevents.md +40 -0
  23. package/generated-docs/react/hook/usemaybesessioncontext.md +30 -0
  24. package/generated-docs/react/hook/useparticipanttracks.md +2 -5
  25. package/generated-docs/react/hook/usepreviewtracks.md +1 -1
  26. package/generated-docs/react/hook/usesession.md +35 -0
  27. package/generated-docs/react/hook/usesessioncontext.md +30 -0
  28. package/generated-docs/react/hook/usesessionmessages.md +33 -0
  29. package/generated-docs/react/hook/usetracktoggle.md +5 -0
  30. package/generated-docs/react/hook/usetranscriptions.md +3 -0
  31. package/generated-docs/react/index.md +174 -151
  32. package/generated-docs/react/messagescallbacks.md +26 -0
  33. package/generated-docs/react/messagesevent.md +28 -0
  34. package/generated-docs/react/meta-data.json +1 -1
  35. package/generated-docs/react/roomaudiorendererprops.md +1 -0
  36. package/generated-docs/{core/receivedchatmessage.from.md → react/roomaudiorendererprops.room.md} +3 -3
  37. package/generated-docs/react/sessioncallbacks.md +28 -0
  38. package/generated-docs/react/sessionconnectoptions.md +31 -0
  39. package/generated-docs/react/sessionevent.md +30 -0
  40. package/generated-docs/react/sessionproviderprops.md +27 -0
  41. package/generated-docs/react/switchactivedeviceoptions.md +24 -0
  42. package/generated-docs/react/useagentreturn.md +22 -0
  43. package/generated-docs/react/usesessionmessagesreturn.md +31 -0
  44. package/generated-docs/react/usesessionreturn.md +27 -0
  45. package/generated-docs/react/usespeakingparticipantsoptions.md +18 -0
  46. package/generated-docs/react/usetextstreamoptions.md +24 -0
  47. package/generated-docs/react/usetracktoggleprops.md +6 -0
  48. package/generated-docs/react/usetracktoggleprops.room.md +13 -0
  49. package/generated-docs/react/usetranscriptionsoptions.md +1 -0
  50. package/generated-docs/react/usetranscriptionsoptions.room.md +19 -0
  51. package/package.json +6 -3
  52. package/generated-docs/core/receivedchatmessage.attributes.md +0 -13
@@ -0,0 +1,26 @@
1
+ ---
2
+ {
3
+ "title": "MessagesCallbacks type",
4
+ "linkToSource": "https://github.com/livekit/components-js/blob/main/packages/react/src/hooks/useSessionMessages.ts"
5
+ }
6
+ ---
7
+
8
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
9
+
10
+ # MessagesCallbacks type
11
+
12
+ {% callout type="note" variation="normal" %}
13
+
14
+ This feature is under active development and may change based on developer feedback and real-world usage.
15
+
16
+ {% /callout %}
17
+
18
+ **Signature:**
19
+
20
+ ```typescript
21
+ export type MessagesCallbacks = {
22
+ [MessagesEvent.MessageReceived]: (message: ReceivedMessage) => void;
23
+ };
24
+ ```
25
+
26
+ **References:** [MessagesEvent.MessageReceived](./react/messagesevent.md)<!-- -->, [ReceivedMessage](./core/receivedmessage.md)
@@ -0,0 +1,28 @@
1
+ ---
2
+ {
3
+ "title": "MessagesEvent enum",
4
+ "linkToSource": "https://github.com/livekit/components-js/blob/main/packages/react/src/hooks/useSessionMessages.ts"
5
+ }
6
+ ---
7
+
8
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
9
+
10
+ # MessagesEvent enum
11
+
12
+ {% callout type="note" variation="normal" %}
13
+
14
+ This feature is under active development and may change based on developer feedback and real-world usage.
15
+
16
+ {% /callout %}
17
+
18
+ **Signature:**
19
+
20
+ ```typescript
21
+ export declare enum MessagesEvent
22
+ ```
23
+
24
+ ## Enumeration Members
25
+
26
+ | Member | Value | Description |
27
+ | --------------- | ---------------------------------------- | ----------------------------------------------------------------------------------------------------- |
28
+ | MessageReceived | <code>&quot;messageReceived&quot;</code> | **_(BETA)_** Emits when a new message is received from a participant args: (message: ReceivedMessage) |
@@ -1 +1 @@
1
- {"components":[{"filename":"audioconference.md","title":"AudioConference"},{"filename":"audiotrack.md","title":"AudioTrack"},{"filename":"audiovisualizer.md","title":"AudioVisualizer"},{"filename":"barvisualizer.md","title":"BarVisualizer"},{"filename":"carousellayout.md","title":"CarouselLayout"},{"filename":"chat.md","title":"Chat"},{"filename":"chatentry.md","title":"ChatEntry"},{"filename":"chattoggle.md","title":"ChatToggle"},{"filename":"clearpinbutton.md","title":"ClearPinButton"},{"filename":"connectionqualityindicator.md","title":"ConnectionQualityIndicator"},{"filename":"connectionstate.md","title":"ConnectionState"},{"filename":"connectionstatetoast.md","title":"ConnectionStateToast"},{"filename":"controlbar.md","title":"ControlBar"},{"filename":"disconnectbutton.md","title":"DisconnectButton"},{"filename":"focuslayout.md","title":"FocusLayout"},{"filename":"focuslayoutcontainer.md","title":"FocusLayoutContainer"},{"filename":"focustoggle.md","title":"FocusToggle"},{"filename":"gridlayout.md","title":"GridLayout"},{"filename":"layoutcontext.md","title":"LayoutContext"},{"filename":"layoutcontextprovider.md","title":"LayoutContextProvider"},{"filename":"livekitroom.md","title":"LiveKitRoom"},{"filename":"mediadevicemenu.md","title":"MediaDeviceMenu"},{"filename":"mediadeviceselect.md","title":"MediaDeviceSelect"},{"filename":"participantaudiotile.md","title":"ParticipantAudioTile"},{"filename":"participantcontext.md","title":"ParticipantContext"},{"filename":"participantcontextifneeded.md","title":"ParticipantContextIfNeeded"},{"filename":"participantloop.md","title":"ParticipantLoop"},{"filename":"participantname.md","title":"ParticipantName"},{"filename":"participanttile.md","title":"ParticipantTile"},{"filename":"prejoin.md","title":"PreJoin"},{"filename":"roomaudiorenderer.md","title":"RoomAudioRenderer"},{"filename":"roomcontext.md","title":"RoomContext"},{"filename":"roomname.md","title":"RoomName"},{"filename":"startaudio.md","title":"StartAudio"},{"filename":"startmediabutton.md","title":"StartMediaButton"},{"filename":"toast.md","title":"Toast"},{"filename":"trackloop.md","title":"TrackLoop"},{"filename":"trackmutedindicator.md","title":"TrackMutedIndicator"},{"filename":"trackrefcontext.md","title":"TrackRefContext"},{"filename":"tracktoggle.md","title":"TrackToggle"},{"filename":"videoconference.md","title":"VideoConference"},{"filename":"videotrack.md","title":"VideoTrack"},{"filename":"voiceassistantcontrolbar.md","title":"VoiceAssistantControlBar"}],"hooks":[{"filename":"useaudioplayback.md","title":"useAudioPlayback"},{"filename":"useaudiowaveform.md","title":"useAudioWaveform"},{"filename":"usechat.md","title":"useChat"},{"filename":"usechattoggle.md","title":"useChatToggle"},{"filename":"useclearpinbutton.md","title":"useClearPinButton"},{"filename":"useconnectionqualityindicator.md","title":"useConnectionQualityIndicator"},{"filename":"useconnectionstate.md","title":"useConnectionState"},{"filename":"usecreatelayoutcontext.md","title":"useCreateLayoutContext"},{"filename":"usedatachannel.md","title":"useDataChannel"},{"filename":"usedisconnectbutton.md","title":"useDisconnectButton"},{"filename":"useensurecreatelayoutcontext.md","title":"useEnsureCreateLayoutContext"},{"filename":"useensurelayoutcontext.md","title":"useEnsureLayoutContext"},{"filename":"useensureparticipant.md","title":"useEnsureParticipant"},{"filename":"useensureroom.md","title":"useEnsureRoom"},{"filename":"useensuretrackref.md","title":"useEnsureTrackRef"},{"filename":"usefacingmode.md","title":"useFacingMode"},{"filename":"usefocustoggle.md","title":"useFocusToggle"},{"filename":"usegridlayout.md","title":"useGridLayout"},{"filename":"useisencrypted.md","title":"useIsEncrypted"},{"filename":"useismuted.md","title":"useIsMuted"},{"filename":"useisrecording.md","title":"useIsRecording"},{"filename":"useisspeaking.md","title":"useIsSpeaking"},{"filename":"usekrispnoisefilter.md","title":"useKrispNoiseFilter"},{"filename":"uselayoutcontext.md","title":"useLayoutContext"},{"filename":"uselivekitroom.md","title":"useLiveKitRoom"},{"filename":"uselocalparticipant.md","title":"useLocalParticipant"},{"filename":"uselocalparticipantpermissions.md","title":"useLocalParticipantPermissions"},{"filename":"usemaybelayoutcontext.md","title":"useMaybeLayoutContext"},{"filename":"usemaybeparticipantcontext.md","title":"useMaybeParticipantContext"},{"filename":"usemayberoomcontext.md","title":"useMaybeRoomContext"},{"filename":"usemaybetrackrefcontext.md","title":"useMaybeTrackRefContext"},{"filename":"usemediadevices.md","title":"useMediaDevices"},{"filename":"usemediadeviceselect.md","title":"useMediaDeviceSelect"},{"filename":"usemultibandtrackvolume.md","title":"useMultibandTrackVolume"},{"filename":"usepagination.md","title":"usePagination"},{"filename":"useparticipantattribute.md","title":"useParticipantAttribute"},{"filename":"useparticipantattributes.md","title":"useParticipantAttributes"},{"filename":"useparticipantcontext.md","title":"useParticipantContext"},{"filename":"useparticipantinfo.md","title":"useParticipantInfo"},{"filename":"useparticipantpermissions.md","title":"useParticipantPermissions"},{"filename":"useparticipants.md","title":"useParticipants"},{"filename":"useparticipanttile.md","title":"useParticipantTile"},{"filename":"useparticipanttracks.md","title":"useParticipantTracks"},{"filename":"usepersistentuserchoices.md","title":"usePersistentUserChoices"},{"filename":"usepinnedtracks.md","title":"usePinnedTracks"},{"filename":"usepreviewdevice.md","title":"usePreviewDevice"},{"filename":"usepreviewtracks.md","title":"usePreviewTracks"},{"filename":"useremoteparticipant.md","title":"useRemoteParticipant"},{"filename":"useremoteparticipants.md","title":"useRemoteParticipants"},{"filename":"useroomcontext.md","title":"useRoomContext"},{"filename":"useroominfo.md","title":"useRoomInfo"},{"filename":"usesequentialroomconnectdisconnect.md","title":"useSequentialRoomConnectDisconnect"},{"filename":"usesortedparticipants.md","title":"useSortedParticipants"},{"filename":"usespeakingparticipants.md","title":"useSpeakingParticipants"},{"filename":"usestartaudio.md","title":"useStartAudio"},{"filename":"usestartvideo.md","title":"useStartVideo"},{"filename":"useswipe.md","title":"useSwipe"},{"filename":"usetextstream.md","title":"useTextStream"},{"filename":"usetoken.md","title":"useToken"},{"filename":"usetrackbyname.md","title":"useTrackByName"},{"filename":"usetrackmutedindicator.md","title":"useTrackMutedIndicator"},{"filename":"usetrackrefcontext.md","title":"useTrackRefContext"},{"filename":"usetracks.md","title":"useTracks"},{"filename":"usetracktoggle.md","title":"useTrackToggle"},{"filename":"usetracktranscription.md","title":"useTrackTranscription"},{"filename":"usetrackvolume.md","title":"useTrackVolume"},{"filename":"usetranscriptions.md","title":"useTranscriptions"},{"filename":"usevisualstableupdate.md","title":"useVisualStableUpdate"},{"filename":"usevoiceassistant.md","title":"useVoiceAssistant"}]}
1
+ {"components":[{"filename":"audioconference.md","title":"AudioConference"},{"filename":"audiotrack.md","title":"AudioTrack"},{"filename":"audiovisualizer.md","title":"AudioVisualizer"},{"filename":"barvisualizer.md","title":"BarVisualizer"},{"filename":"carousellayout.md","title":"CarouselLayout"},{"filename":"chat.md","title":"Chat"},{"filename":"chatentry.md","title":"ChatEntry"},{"filename":"chattoggle.md","title":"ChatToggle"},{"filename":"clearpinbutton.md","title":"ClearPinButton"},{"filename":"connectionqualityindicator.md","title":"ConnectionQualityIndicator"},{"filename":"connectionstate.md","title":"ConnectionState"},{"filename":"connectionstatetoast.md","title":"ConnectionStateToast"},{"filename":"controlbar.md","title":"ControlBar"},{"filename":"disconnectbutton.md","title":"DisconnectButton"},{"filename":"focuslayout.md","title":"FocusLayout"},{"filename":"focuslayoutcontainer.md","title":"FocusLayoutContainer"},{"filename":"focustoggle.md","title":"FocusToggle"},{"filename":"gridlayout.md","title":"GridLayout"},{"filename":"layoutcontext.md","title":"LayoutContext"},{"filename":"layoutcontextprovider.md","title":"LayoutContextProvider"},{"filename":"livekitroom.md","title":"LiveKitRoom"},{"filename":"mediadevicemenu.md","title":"MediaDeviceMenu"},{"filename":"mediadeviceselect.md","title":"MediaDeviceSelect"},{"filename":"participantaudiotile.md","title":"ParticipantAudioTile"},{"filename":"participantcontext.md","title":"ParticipantContext"},{"filename":"participantcontextifneeded.md","title":"ParticipantContextIfNeeded"},{"filename":"participantloop.md","title":"ParticipantLoop"},{"filename":"participantname.md","title":"ParticipantName"},{"filename":"participanttile.md","title":"ParticipantTile"},{"filename":"prejoin.md","title":"PreJoin"},{"filename":"roomaudiorenderer.md","title":"RoomAudioRenderer"},{"filename":"roomcontext.md","title":"RoomContext"},{"filename":"roomname.md","title":"RoomName"},{"filename":"sessionprovider.md","title":"SessionProvider"},{"filename":"startaudio.md","title":"StartAudio"},{"filename":"startmediabutton.md","title":"StartMediaButton"},{"filename":"toast.md","title":"Toast"},{"filename":"trackloop.md","title":"TrackLoop"},{"filename":"trackmutedindicator.md","title":"TrackMutedIndicator"},{"filename":"trackrefcontext.md","title":"TrackRefContext"},{"filename":"tracktoggle.md","title":"TrackToggle"},{"filename":"videoconference.md","title":"VideoConference"},{"filename":"videotrack.md","title":"VideoTrack"},{"filename":"voiceassistantcontrolbar.md","title":"VoiceAssistantControlBar"}],"hooks":[{"filename":"useagent.md","title":"useAgent"},{"filename":"useaudioplayback.md","title":"useAudioPlayback"},{"filename":"useaudiowaveform.md","title":"useAudioWaveform"},{"filename":"usechat.md","title":"useChat"},{"filename":"usechattoggle.md","title":"useChatToggle"},{"filename":"useclearpinbutton.md","title":"useClearPinButton"},{"filename":"useconnectionqualityindicator.md","title":"useConnectionQualityIndicator"},{"filename":"useconnectionstate.md","title":"useConnectionState"},{"filename":"usecreatelayoutcontext.md","title":"useCreateLayoutContext"},{"filename":"usedatachannel.md","title":"useDataChannel"},{"filename":"usedisconnectbutton.md","title":"useDisconnectButton"},{"filename":"useensurecreatelayoutcontext.md","title":"useEnsureCreateLayoutContext"},{"filename":"useensurelayoutcontext.md","title":"useEnsureLayoutContext"},{"filename":"useensureparticipant.md","title":"useEnsureParticipant"},{"filename":"useensureroom.md","title":"useEnsureRoom"},{"filename":"useensuresession.md","title":"useEnsureSession"},{"filename":"useensuretrackref.md","title":"useEnsureTrackRef"},{"filename":"useevents.md","title":"useEvents"},{"filename":"usefacingmode.md","title":"useFacingMode"},{"filename":"usefocustoggle.md","title":"useFocusToggle"},{"filename":"usegridlayout.md","title":"useGridLayout"},{"filename":"useisencrypted.md","title":"useIsEncrypted"},{"filename":"useismuted.md","title":"useIsMuted"},{"filename":"useisrecording.md","title":"useIsRecording"},{"filename":"useisspeaking.md","title":"useIsSpeaking"},{"filename":"usekrispnoisefilter.md","title":"useKrispNoiseFilter"},{"filename":"uselayoutcontext.md","title":"useLayoutContext"},{"filename":"uselivekitroom.md","title":"useLiveKitRoom"},{"filename":"uselocalparticipant.md","title":"useLocalParticipant"},{"filename":"uselocalparticipantpermissions.md","title":"useLocalParticipantPermissions"},{"filename":"usemaybelayoutcontext.md","title":"useMaybeLayoutContext"},{"filename":"usemaybeparticipantcontext.md","title":"useMaybeParticipantContext"},{"filename":"usemayberoomcontext.md","title":"useMaybeRoomContext"},{"filename":"usemaybesessioncontext.md","title":"useMaybeSessionContext"},{"filename":"usemaybetrackrefcontext.md","title":"useMaybeTrackRefContext"},{"filename":"usemediadevices.md","title":"useMediaDevices"},{"filename":"usemediadeviceselect.md","title":"useMediaDeviceSelect"},{"filename":"usemultibandtrackvolume.md","title":"useMultibandTrackVolume"},{"filename":"usepagination.md","title":"usePagination"},{"filename":"useparticipantattribute.md","title":"useParticipantAttribute"},{"filename":"useparticipantattributes.md","title":"useParticipantAttributes"},{"filename":"useparticipantcontext.md","title":"useParticipantContext"},{"filename":"useparticipantinfo.md","title":"useParticipantInfo"},{"filename":"useparticipantpermissions.md","title":"useParticipantPermissions"},{"filename":"useparticipants.md","title":"useParticipants"},{"filename":"useparticipanttile.md","title":"useParticipantTile"},{"filename":"useparticipanttracks.md","title":"useParticipantTracks"},{"filename":"usepersistentuserchoices.md","title":"usePersistentUserChoices"},{"filename":"usepinnedtracks.md","title":"usePinnedTracks"},{"filename":"usepreviewdevice.md","title":"usePreviewDevice"},{"filename":"usepreviewtracks.md","title":"usePreviewTracks"},{"filename":"useremoteparticipant.md","title":"useRemoteParticipant"},{"filename":"useremoteparticipants.md","title":"useRemoteParticipants"},{"filename":"useroomcontext.md","title":"useRoomContext"},{"filename":"useroominfo.md","title":"useRoomInfo"},{"filename":"usesequentialroomconnectdisconnect.md","title":"useSequentialRoomConnectDisconnect"},{"filename":"usesession.md","title":"useSession"},{"filename":"usesessioncontext.md","title":"useSessionContext"},{"filename":"usesessionmessages.md","title":"useSessionMessages"},{"filename":"usesortedparticipants.md","title":"useSortedParticipants"},{"filename":"usespeakingparticipants.md","title":"useSpeakingParticipants"},{"filename":"usestartaudio.md","title":"useStartAudio"},{"filename":"usestartvideo.md","title":"useStartVideo"},{"filename":"useswipe.md","title":"useSwipe"},{"filename":"usetextstream.md","title":"useTextStream"},{"filename":"usetoken.md","title":"useToken"},{"filename":"usetrackbyname.md","title":"useTrackByName"},{"filename":"usetrackmutedindicator.md","title":"useTrackMutedIndicator"},{"filename":"usetrackrefcontext.md","title":"useTrackRefContext"},{"filename":"usetracks.md","title":"useTracks"},{"filename":"usetracktoggle.md","title":"useTrackToggle"},{"filename":"usetracktranscription.md","title":"useTrackTranscription"},{"filename":"usetrackvolume.md","title":"useTrackVolume"},{"filename":"usetranscriptions.md","title":"useTranscriptions"},{"filename":"usevisualstableupdate.md","title":"useVisualStableUpdate"},{"filename":"usevoiceassistant.md","title":"useVoiceAssistant"}]}
@@ -20,4 +20,5 @@ export interface RoomAudioRendererProps
20
20
  | Property | Type | Description |
21
21
  | --------------------------------------------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
22
22
  | [muted?](./react/roomaudiorendererprops.muted.md) | boolean | _(Optional)_ If set to <code>true</code>, mutes all audio tracks rendered by the component. |
23
+ | [room?](./react/roomaudiorendererprops.room.md) | Room | _(Optional)_ |
23
24
  | [volume?](./react/roomaudiorendererprops.volume.md) | number | _(Optional)_ Sets the volume for all audio tracks rendered by this component. By default, the range is between <code>0.0</code> and <code>1.0</code>. |
@@ -1,13 +1,13 @@
1
1
  ---
2
- { "title": "ReceivedChatMessage.from property" }
2
+ { "title": "RoomAudioRendererProps.room property" }
3
3
  ---
4
4
 
5
5
  <!-- Do not edit this file. It is automatically generated by API Documenter. -->
6
6
 
7
- # ReceivedChatMessage.from property
7
+ # RoomAudioRendererProps.room property
8
8
 
9
9
  **Signature:**
10
10
 
11
11
  ```typescript
12
- from?: Participant;
12
+ room?: Room;
13
13
  ```
@@ -0,0 +1,28 @@
1
+ ---
2
+ {
3
+ "title": "SessionCallbacks type",
4
+ "linkToSource": "https://github.com/livekit/components-js/blob/main/packages/react/src/hooks/useSession.ts"
5
+ }
6
+ ---
7
+
8
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
9
+
10
+ # SessionCallbacks type
11
+
12
+ {% callout type="note" variation="normal" %}
13
+
14
+ This feature is under active development and may change based on developer feedback and real-world usage.
15
+
16
+ {% /callout %}
17
+
18
+ **Signature:**
19
+
20
+ ```typescript
21
+ export type SessionCallbacks = {
22
+ [SessionEvent.ConnectionStateChanged]: (newAgentConnectionState: ConnectionState) => void;
23
+ [SessionEvent.MediaDevicesError]: (error: Error) => void;
24
+ [SessionEvent.EncryptionError]: (error: Error) => void;
25
+ };
26
+ ```
27
+
28
+ **References:** [SessionEvent.ConnectionStateChanged](./react/sessionevent.md)<!-- -->, [SessionEvent.MediaDevicesError](./react/sessionevent.md)<!-- -->, [SessionEvent.EncryptionError](./react/sessionevent.md)
@@ -0,0 +1,31 @@
1
+ ---
2
+ {
3
+ "title": "SessionConnectOptions type",
4
+ "linkToSource": "https://github.com/livekit/components-js/blob/main/packages/react/src/hooks/useSession.ts"
5
+ }
6
+ ---
7
+
8
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
9
+
10
+ # SessionConnectOptions type
11
+
12
+ {% callout type="note" variation="normal" %}
13
+
14
+ This feature is under active development and may change based on developer feedback and real-world usage.
15
+
16
+ {% /callout %}
17
+
18
+ **Signature:**
19
+
20
+ ```typescript
21
+ export type SessionConnectOptions = {
22
+ signal?: AbortSignal;
23
+ tracks?: {
24
+ microphone?: {
25
+ enabled?: boolean;
26
+ publishOptions?: TrackPublishOptions;
27
+ };
28
+ };
29
+ roomConnectOptions?: RoomConnectOptions;
30
+ };
31
+ ```
@@ -0,0 +1,30 @@
1
+ ---
2
+ {
3
+ "title": "SessionEvent enum",
4
+ "linkToSource": "https://github.com/livekit/components-js/blob/main/packages/react/src/hooks/useSession.ts"
5
+ }
6
+ ---
7
+
8
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
9
+
10
+ # SessionEvent enum
11
+
12
+ {% callout type="note" variation="normal" %}
13
+
14
+ This feature is under active development and may change based on developer feedback and real-world usage.
15
+
16
+ {% /callout %}
17
+
18
+ **Signature:**
19
+
20
+ ```typescript
21
+ export declare enum SessionEvent
22
+ ```
23
+
24
+ ## Enumeration Members
25
+
26
+ | Member | Value | Description |
27
+ | ---------------------- | ----------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
28
+ | ConnectionStateChanged | <code>&quot;connectionStateChanged&quot;</code> | **_(BETA)_** |
29
+ | EncryptionError | <code>&quot;encryptionError&quot;</code> | **_(BETA)_** Emits when an error is received while decrypting frame received frame information. args: (error: Error) |
30
+ | MediaDevicesError | <code>&quot;mediaDevicesError&quot;</code> | **_(BETA)_** Emits when an error is encountered while attempting to create a track. Use MediaDeviceFailure.getFailure(error) to get the reason of failure. args: (error: Error, kind: MediaDeviceKind) |
@@ -0,0 +1,27 @@
1
+ ---
2
+ {
3
+ "title": "SessionProviderProps type",
4
+ "linkToSource": "https://github.com/livekit/components-js/blob/main/packages/react/src/components/SessionProvider.tsx"
5
+ }
6
+ ---
7
+
8
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
9
+
10
+ # SessionProviderProps type
11
+
12
+ {% callout type="note" variation="normal" %}
13
+
14
+ This feature is under active development and may change based on developer feedback and real-world usage.
15
+
16
+ {% /callout %}
17
+
18
+ **Signature:**
19
+
20
+ ```typescript
21
+ export type SessionProviderProps = {
22
+ session: UseSessionReturn;
23
+ children: React.ReactNode;
24
+ };
25
+ ```
26
+
27
+ **References:** [UseSessionReturn](./react/usesessionreturn.md)
@@ -0,0 +1,24 @@
1
+ ---
2
+ {
3
+ "title": "SwitchActiveDeviceOptions type",
4
+ "linkToSource": "https://github.com/livekit/components-js/blob/main/packages/react/src/hooks/useSession.ts"
5
+ }
6
+ ---
7
+
8
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
9
+
10
+ # SwitchActiveDeviceOptions type
11
+
12
+ {% callout type="note" variation="normal" %}
13
+
14
+ This feature is under active development and may change based on developer feedback and real-world usage.
15
+
16
+ {% /callout %}
17
+
18
+ **Signature:**
19
+
20
+ ```typescript
21
+ export type SwitchActiveDeviceOptions = {
22
+ exact?: boolean;
23
+ };
24
+ ```
@@ -0,0 +1,22 @@
1
+ ---
2
+ {
3
+ "title": "UseAgentReturn type",
4
+ "linkToSource": "https://github.com/livekit/components-js/blob/main/packages/react/src/hooks/useAgent.ts"
5
+ }
6
+ ---
7
+
8
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
9
+
10
+ # UseAgentReturn type
11
+
12
+ {% callout type="note" variation="normal" %}
13
+
14
+ This feature is under active development and may change based on developer feedback and real-world usage.
15
+
16
+ {% /callout %}
17
+
18
+ **Signature:**
19
+
20
+ ```typescript
21
+ export type UseAgentReturn = AgentStateCases & AgentActions;
22
+ ```
@@ -0,0 +1,31 @@
1
+ ---
2
+ {
3
+ "title": "UseSessionMessagesReturn type",
4
+ "linkToSource": "https://github.com/livekit/components-js/blob/main/packages/react/src/hooks/useSessionMessages.ts"
5
+ }
6
+ ---
7
+
8
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
9
+
10
+ # UseSessionMessagesReturn type
11
+
12
+ {% callout type="note" variation="normal" %}
13
+
14
+ This feature is under active development and may change based on developer feedback and real-world usage.
15
+
16
+ {% /callout %}
17
+
18
+ **Signature:**
19
+
20
+ ```typescript
21
+ export type UseSessionMessagesReturn = {
22
+ messages: Array<ReceivedMessage>;
23
+ isSending: boolean;
24
+ send: (message: string, options?: SendTextOptions) => Promise<ReceivedChatMessage>;
25
+ internal: {
26
+ emitter: TypedEventEmitter<MessagesCallbacks>;
27
+ };
28
+ };
29
+ ```
30
+
31
+ **References:** [ReceivedMessage](./core/receivedmessage.md)<!-- -->, [ReceivedChatMessage](./core/receivedchatmessage.md)<!-- -->, [MessagesCallbacks](./react/messagescallbacks.md)
@@ -0,0 +1,27 @@
1
+ ---
2
+ {
3
+ "title": "UseSessionReturn type",
4
+ "linkToSource": "https://github.com/livekit/components-js/blob/main/packages/react/src/hooks/useSession.ts"
5
+ }
6
+ ---
7
+
8
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
9
+
10
+ # UseSessionReturn type
11
+
12
+ {% callout type="note" variation="normal" %}
13
+
14
+ This feature is under active development and may change based on developer feedback and real-world usage.
15
+
16
+ {% /callout %}
17
+
18
+ **Signature:**
19
+
20
+ ```typescript
21
+ export type UseSessionReturn = (
22
+ | SessionStateConnecting
23
+ | SessionStateConnected
24
+ | SessionStateDisconnected
25
+ ) &
26
+ SessionActions;
27
+ ```
@@ -0,0 +1,18 @@
1
+ ---
2
+ {
3
+ "title": "UseSpeakingParticipantsOptions type",
4
+ "linkToSource": "https://github.com/livekit/components-js/blob/main/packages/react/src/hooks/useSpeakingParticipants.ts"
5
+ }
6
+ ---
7
+
8
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
9
+
10
+ # UseSpeakingParticipantsOptions type
11
+
12
+ **Signature:**
13
+
14
+ ```typescript
15
+ export type UseSpeakingParticipantsOptions = {
16
+ room?: Room;
17
+ };
18
+ ```
@@ -0,0 +1,24 @@
1
+ ---
2
+ {
3
+ "title": "UseTextStreamOptions type",
4
+ "linkToSource": "https://github.com/livekit/components-js/blob/main/packages/react/src/hooks/useTextStream.ts"
5
+ }
6
+ ---
7
+
8
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
9
+
10
+ # UseTextStreamOptions type
11
+
12
+ {% callout type="note" variation="normal" %}
13
+
14
+ This feature is under active development and may change based on developer feedback and real-world usage.
15
+
16
+ {% /callout %}
17
+
18
+ **Signature:**
19
+
20
+ ```typescript
21
+ export type UseTextStreamOptions = {
22
+ room?: Room;
23
+ };
24
+ ```
@@ -16,3 +16,9 @@ export interface UseTrackToggleProps<T extends ToggleSource> extends Omit<TrackT
16
16
  ```
17
17
 
18
18
  **Extends:** Omit&lt;[TrackToggleProps](./react/tracktoggleprops.md)<!-- -->&lt;T&gt;, 'showIcon'&gt;
19
+
20
+ ## Properties
21
+
22
+ | Property | Type | Description |
23
+ | -------------------------------------------- | ---- | ------------ |
24
+ | [room?](./react/usetracktoggleprops.room.md) | Room | _(Optional)_ |
@@ -0,0 +1,13 @@
1
+ ---
2
+ { "title": "UseTrackToggleProps.room property" }
3
+ ---
4
+
5
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
6
+
7
+ # UseTrackToggleProps.room property
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ room?: Room;
13
+ ```
@@ -26,4 +26,5 @@ export interface UseTranscriptionsOptions
26
26
  | Property | Type | Description |
27
27
  | ----------------------------------------------------------------------------------- | ---------- | ------------------------- |
28
28
  | [participantIdentities?](./react/usetranscriptionsoptions.participantidentities.md) | string\[\] | **_(BETA)_** _(Optional)_ |
29
+ | [room?](./react/usetranscriptionsoptions.room.md) | Room | **_(BETA)_** _(Optional)_ |
29
30
  | [trackSids?](./react/usetranscriptionsoptions.tracksids.md) | string\[\] | **_(BETA)_** _(Optional)_ |
@@ -0,0 +1,19 @@
1
+ ---
2
+ { "title": "UseTranscriptionsOptions.room property" }
3
+ ---
4
+
5
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
6
+
7
+ # UseTranscriptionsOptions.room property
8
+
9
+ {% callout type="note" variation="normal" %}
10
+
11
+ This feature is under active development and may change based on developer feedback and real-world usage.
12
+
13
+ {% /callout %}
14
+
15
+ **Signature:**
16
+
17
+ ```typescript
18
+ room?: Room;
19
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livekit/components-js-docs",
3
- "version": "0.1.68",
3
+ "version": "0.1.70",
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.15"
11
+ "@livekit/components-react": "2.9.17"
12
12
  },
13
13
  "author": "",
14
14
  "license": "Apache-2.0",
@@ -19,5 +19,8 @@
19
19
  "files": [
20
20
  "generated-docs",
21
21
  "meta-data.json"
22
- ]
22
+ ],
23
+ "publishConfig": {
24
+ "access": "public"
25
+ }
23
26
  }
@@ -1,13 +0,0 @@
1
- ---
2
- { "title": "ReceivedChatMessage.attributes property" }
3
- ---
4
-
5
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
6
-
7
- # ReceivedChatMessage.attributes property
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- attributes?: Record<string, string>;
13
- ```