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
Rtc
Stats
fetch
Session
State
fetch
Session
Usage
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
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
>
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
Rtc
Stats
fetch
Session
State
fetch
Session
Usage
send
Message
start
from
Room
LiveKit Agents
Loading...