Preparing search index...
The search index is not available
LiveKit Agents
LiveKit Agents
agents
voice
RemoteSession
Class RemoteSession
Experimental
Hierarchy
TypedEventEmitter
<
RemoteSessionCallbacks
,
this
>
RemoteSession
Index
Constructors
constructor
Methods
close
fetch
Agent
Info
fetch
Chat
History
fetch
Framework
Info
fetch
Rtc
Stats
fetch
Session
State
fetch
Session
Usage
finalize
Simulation
send
Message
start
from
Room
Constructors
constructor
new
Remote
Session
(
transport
)
:
RemoteSession
Parameters
transport
:
SessionTransport
Returns
RemoteSession
Methods
close
close
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
fetch
Agent
Info
fetch
Agent
Info
(
)
:
Promise
<
SessionResponse_GetAgentInfoResponse
>
Returns
Promise
<
SessionResponse_GetAgentInfoResponse
>
fetch
Chat
History
fetch
Chat
History
(
)
:
Promise
<
SessionResponse_GetChatHistoryResponse
>
Returns
Promise
<
SessionResponse_GetChatHistoryResponse
>
fetch
Framework
Info
fetch
Framework
Info
(
)
:
Promise
<
SessionResponse_GetFrameworkInfoResponse
>
Returns
Promise
<
SessionResponse_GetFrameworkInfoResponse
>
fetch
Rtc
Stats
fetch
Rtc
Stats
(
)
:
Promise
<
SessionResponse_GetRTCStatsResponse
>
Returns
Promise
<
SessionResponse_GetRTCStatsResponse
>
fetch
Session
State
fetch
Session
State
(
)
:
Promise
<
SessionResponse_GetSessionStateResponse
>
Returns
Promise
<
SessionResponse_GetSessionStateResponse
>
fetch
Session
Usage
fetch
Session
Usage
(
)
:
Promise
<
SessionResponse_GetSessionUsageResponse
>
Returns
Promise
<
SessionResponse_GetSessionUsageResponse
>
finalize
Simulation
finalize
Simulation
(
__namedParameters
)
:
Promise
<
SessionResponse_FinalizeSimulationResponse
>
Parameters
__namedParameters
:
{
provisionalReason
?:
string
;
provisionalSuccess
:
boolean
;
timeout
?:
number
;
}
Optional
provisional
Reason
?:
string
provisional
Success
:
boolean
Optional
timeout
?:
number
Returns
Promise
<
SessionResponse_FinalizeSimulationResponse
>
send
Message
send
Message
(
text
,
responseTimeout
?
)
:
Promise
<
SessionResponse_RunInputResponse
>
Parameters
text
:
string
responseTimeout
:
number
= 60000
Returns
Promise
<
SessionResponse_RunInputResponse
>
start
start
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Static
from
Room
from
Room
(
room
,
roomIO
)
:
RemoteSession
Parameters
room
:
Room
roomIO
:
RoomIO
Returns
RemoteSession
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
constructor
close
fetch
Agent
Info
fetch
Chat
History
fetch
Framework
Info
fetch
Rtc
Stats
fetch
Session
State
fetch
Session
Usage
finalize
Simulation
send
Message
start
from
Room
LiveKit Agents
Loading...