Skip to content

Commit eaebee8

Browse files
authored
Add new explicit session pre connect buffering state (#1231)
1 parent 21bffbb commit eaebee8

File tree

4 files changed

+255
-86
lines changed

4 files changed

+255
-86
lines changed

.changeset/fresh-dingos-smell.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@livekit/components-react': patch
3+
---
4+
5+
Add new explicit agent 'pre-connect-buffering' state and new isConnected / canInteract booleans

packages/react/etc/components-react.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export enum AgentEvent {
9292
// Warning: (ae-forgotten-export) The symbol "AgentSdkStates" needs to be exported by the entry point index.docs.d.ts
9393
//
9494
// @public
95-
export type AgentState = 'disconnected' | 'connecting' | 'failed' | AgentSdkStates;
95+
export type AgentState = 'disconnected' | 'connecting' | 'pre-connect-buffering' | 'failed' | AgentSdkStates;
9696

9797
// @public (undocumented)
9898
export interface AllowAudioPlaybackProps extends React_2.ButtonHTMLAttributes<HTMLButtonElement> {

0 commit comments

Comments
 (0)