Search
Preparing search index...
The search index is not available
Edu Store Typescript API Reference for Web
Options
All
Public
Public/Protected
All
Inherited
Menu
Edu Store Typescript API Reference for Web
"agora-rte-sdk/src/user/index"
AgoraRteLocalUser
Class AgoraRteLocalUser
Hierarchy
AgoraRteLocalUser
Index
Constructors
constructor
Properties
logger
rtc
Token
scene
Id
stream
Uuid
sub
Stream
user
Name
user
Properties
user
Role
user
Uuid
Methods
delete
Local
Media
Stream
delete
Local
Screen
Stream
delete
Scene
Properties
delete
User
Properties
destroy
publish
Stream
To
Cdn
send
Custom
Channel
Message
send
Custom
Peer
Message
send
Room
Message
set
Scene
Properties
set
User
Properties
setup
Remote
Video
to
Data
update
Local
Media
State
update
Local
Media
Stream
update
Remote
Media
Stream
Constructors
constructor
new
Agora
Rte
Local
User
(
scene
:
AgoraRteScene
, __namedParameters
:
{
rtc
:
AGRtcManager
;
rtcToken
:
string
;
sceneId
:
string
;
streamUuid
:
string
;
userName
:
string
;
userProperties
:
any
;
userRole
:
string
;
userUuid
:
string
}
)
:
AgoraRteLocalUser
Parameters
scene:
AgoraRteScene
__namedParameters:
{
rtc
:
AGRtcManager
;
rtcToken
:
string
;
sceneId
:
string
;
streamUuid
:
string
;
userName
:
string
;
userProperties
:
any
;
userRole
:
string
;
userUuid
:
string
}
rtc
:
AGRtcManager
rtc
Token
:
string
scene
Id
:
string
stream
Uuid
:
string
user
Name
:
string
user
Properties
:
any
user
Role
:
string
user
Uuid
:
string
Returns
AgoraRteLocalUser
Properties
logger
logger
:
"agora-rte-sdk/src/core/logger/type"
.
Logger
Readonly
rtc
Token
rtc
Token
:
string
Readonly
scene
Id
scene
Id
:
string
Readonly
stream
Uuid
stream
Uuid
:
string
Optional
sub
Stream
sub
Stream
?:
{
streamUuid
:
string
}
Type declaration
stream
Uuid
:
string
Readonly
user
Name
user
Name
:
string
Readonly
user
Properties
user
Properties
:
any
Readonly
user
Role
user
Role
:
string
Readonly
user
Uuid
user
Uuid
:
string
Methods
delete
Local
Media
Stream
delete
Local
Media
Stream
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
delete
Local
Screen
Stream
delete
Local
Screen
Stream
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
delete
Scene
Properties
delete
Scene
Properties
(
properties
:
string
[]
, cause
:
any
)
:
Promise
<
any
>
Parameters
properties:
string
[]
cause:
any
Returns
Promise
<
any
>
delete
User
Properties
delete
User
Properties
(
properties
:
string
[]
, cause
:
any
)
:
Promise
<
any
>
Parameters
properties:
string
[]
cause:
any
Returns
Promise
<
any
>
destroy
destroy
(
)
:
void
Returns
void
publish
Stream
To
Cdn
publish
Stream
To
Cdn
(
videoEncoderConfg
?:
AGVideoEncoderConfigurations
)
:
Promise
<
any
>
Parameters
Optional
videoEncoderConfg:
AGVideoEncoderConfigurations
Returns
Promise
<
any
>
send
Custom
Channel
Message
send
Custom
Channel
Message
(
cmd
:
string
, data
:
Record
<
string
,
any
>
, sync
?:
boolean
)
:
Promise
<
any
>
Parameters
cmd:
string
data:
Record
<
string
,
any
>
Optional
sync:
boolean
Returns
Promise
<
any
>
send
Custom
Peer
Message
send
Custom
Peer
Message
(
cmd
:
string
, data
:
Record
<
string
,
any
>
, toUserUuid
:
string
, ack
?:
boolean
)
:
Promise
<
any
>
Parameters
cmd:
string
data:
Record
<
string
,
any
>
toUserUuid:
string
Optional
ack:
boolean
Returns
Promise
<
any
>
send
Room
Message
send
Room
Message
(
message
:
string
)
:
Promise
<
any
>
Parameters
message:
string
Returns
Promise
<
any
>
set
Scene
Properties
set
Scene
Properties
(
properties
:
any
, cause
:
any
)
:
Promise
<
any
>
Parameters
properties:
any
cause:
any
Returns
Promise
<
any
>
set
User
Properties
set
User
Properties
(
properties
:
any
, cause
:
any
)
:
Promise
<
any
>
Parameters
properties:
any
cause:
any
Returns
Promise
<
any
>
setup
Remote
Video
setup
Remote
Video
(
canvas
:
AgoraRtcVideoCanvas
)
:
void
Parameters
canvas:
AgoraRtcVideoCanvas
Returns
void
to
Data
to
Data
(
)
:
AgoraUser
Returns
AgoraUser
update
Local
Media
State
update
Local
Media
State
(
__namedParameters
:
{
audioSourceState
?:
AgoraRteMediaSourceState
;
videoSourceState
?:
AgoraRteMediaSourceState
}
, connectionType
?:
AGRtcConnectionType
)
:
Promise
<
any
>
Parameters
__namedParameters:
{
audioSourceState
?:
AgoraRteMediaSourceState
;
videoSourceState
?:
AgoraRteMediaSourceState
}
Optional
audio
Source
State
?:
AgoraRteMediaSourceState
Optional
video
Source
State
?:
AgoraRteMediaSourceState
Optional
connectionType:
AGRtcConnectionType
Returns
Promise
<
any
>
update
Local
Media
Stream
update
Local
Media
Stream
(
__namedParameters
:
{
audioSourceType
?:
AgoraRteAudioSourceType
;
publishAudio
?:
AgoraRteMediaPublishState
;
publishVideo
?:
AgoraRteMediaPublishState
;
videoSourceType
?:
AgoraRteVideoSourceType
}
, connectionType
?:
AGRtcConnectionType
)
:
Promise
<
any
>
Parameters
__namedParameters:
{
audioSourceType
?:
AgoraRteAudioSourceType
;
publishAudio
?:
AgoraRteMediaPublishState
;
publishVideo
?:
AgoraRteMediaPublishState
;
videoSourceType
?:
AgoraRteVideoSourceType
}
Optional
audio
Source
Type
?:
AgoraRteAudioSourceType
Optional
publish
Audio
?:
AgoraRteMediaPublishState
Optional
publish
Video
?:
AgoraRteMediaPublishState
Optional
video
Source
Type
?:
AgoraRteVideoSourceType
Optional
connectionType:
AGRtcConnectionType
Returns
Promise
<
any
>
update
Remote
Media
Stream
update
Remote
Media
Stream
(
userUuid
:
string
, streamUuid
:
string
, __namedParameters
:
{
publishAudio
?:
AgoraRteMediaPublishState
;
publishVideo
?:
AgoraRteMediaPublishState
}
, connectionType
?:
AGRtcConnectionType
)
:
Promise
<
any
>
Parameters
userUuid:
string
streamUuid:
string
__namedParameters:
{
publishAudio
?:
AgoraRteMediaPublishState
;
publishVideo
?:
AgoraRteMediaPublishState
}
Optional
publish
Audio
?:
AgoraRteMediaPublishState
Optional
publish
Video
?:
AgoraRteMediaPublishState
Optional
connectionType:
AGRtcConnectionType
Returns
Promise
<
any
>
Exports
"agora-
edu-
core/src/configs/index"
"agora-
edu-
core/src/event-
center"
"agora-
edu-
core/src/index"
"agora-
edu-
core/src/log-
reporter"
"agora-
edu-
core/src/services/api"
"agora-
edu-
core/src/services/error"
"agora-
edu-
core/src/services/report-
v2"
"agora-
edu-
core/src/stores/domain/common/base"
"agora-
edu-
core/src/stores/domain/common/cloud-
drive/index"
"agora-
edu-
core/src/stores/domain/common/cloud-
drive/struct"
"agora-
edu-
core/src/stores/domain/common/cloud-
drive/type"
"agora-
edu-
core/src/stores/domain/common/cloud-
drive/utils"
"agora-
edu-
core/src/stores/domain/common/connection"
"agora-
edu-
core/src/stores/domain/common/group/index"
"agora-
edu-
core/src/stores/domain/common/group/type"
"agora-
edu-
core/src/stores/domain/common/hand-
up/index"
"agora-
edu-
core/src/stores/domain/common/hand-
up/type"
"agora-
edu-
core/src/stores/domain/common/index"
"agora-
edu-
core/src/stores/domain/common/media/index"
"agora-
edu-
core/src/stores/domain/common/media/type"
"agora-
edu-
core/src/stores/domain/common/message/index"
"agora-
edu-
core/src/stores/domain/common/message/struct"
"agora-
edu-
core/src/stores/domain/common/message/type"
"agora-
edu-
core/src/stores/domain/common/recording/index"
"agora-
edu-
core/src/stores/domain/common/recording/type"
"agora-
edu-
core/src/stores/domain/common/report/index"
"agora-
edu-
core/src/stores/domain/common/room/command-
handler"
"agora-
edu-
core/src/stores/domain/common/room/index"
"agora-
edu-
core/src/stores/domain/common/room/type"
"agora-
edu-
core/src/stores/domain/common/statistics/index"
"agora-
edu-
core/src/stores/domain/common/stream/index"
"agora-
edu-
core/src/stores/domain/common/stream/struct"
"agora-
edu-
core/src/stores/domain/common/user/index"
"agora-
edu-
core/src/stores/domain/common/user/struct"
"agora-
edu-
core/src/stores/domain/common/user/type"
"agora-
edu-
core/src/stores/domain/common/widget/controller"
"agora-
edu-
core/src/stores/domain/common/widget/helper"
"agora-
edu-
core/src/stores/domain/common/widget/index"
"agora-
edu-
core/src/stores/domain/common/widget/struct"
"agora-
edu-
core/src/stores/domain/common/widget/type"
"agora-
edu-
core/src/stores/domain/index"
"agora-
edu-
core/src/stores/domain/interactive/index"
"agora-
edu-
core/src/stores/domain/lecture/index"
"agora-
edu-
core/src/stores/domain/one-
on-
one/index"
"agora-
edu-
core/src/stores/index"
"agora-
edu-
core/src/type"
"agora-
edu-
core/src/utils/batch"
"agora-
edu-
core/src/utils/collection"
"agora-
edu-
core/src/utils/error"
"agora-
edu-
core/src/utils/index"
"agora-
rte-
sdk/src/configs/index"
"agora-
rte-
sdk/src/core/decorator/bound/index"
"agora-
rte-
sdk/src/core/decorator/index"
"agora-
rte-
sdk/src/core/decorator/lodash/index"
"agora-
rte-
sdk/src/core/decorator/log/handler"
"agora-
rte-
sdk/src/core/decorator/log/index"
"agora-
rte-
sdk/src/core/decorator/log/log-
serializer"
"agora-
rte-
sdk/src/core/decorator/log/logger"
"agora-
rte-
sdk/src/core/decorator/proxy"
"agora-
rte-
sdk/src/core/decorator/type"
"agora-
rte-
sdk/src/core/engine/index"
"agora-
rte-
sdk/src/core/log-
upload/handler"
"agora-
rte-
sdk/src/core/log-
upload/scheduler"
"agora-
rte-
sdk/src/core/log-
upload/type"
"agora-
rte-
sdk/src/core/logger/constants"
"agora-
rte-
sdk/src/core/logger/hijack"
"agora-
rte-
sdk/src/core/logger/index"
"agora-
rte-
sdk/src/core/logger/logger-
impl"
"agora-
rte-
sdk/src/core/logger/manager-
impl"
"agora-
rte-
sdk/src/core/logger/type"
"agora-
rte-
sdk/src/core/media-
player/index"
"agora-
rte-
sdk/src/core/media-
player/stream-
media-
player"
"agora-
rte-
sdk/src/core/media-
player/type"
"agora-
rte-
sdk/src/core/media/control"
"agora-
rte-
sdk/src/core/media/loopback"
"agora-
rte-
sdk/src/core/media/player"
"agora-
rte-
sdk/src/core/media/track"
"agora-
rte-
sdk/src/core/media/type"
"agora-
rte-
sdk/src/core/processor/message-
handler"
"agora-
rte-
sdk/src/core/processor/sequence-
msg/data"
"agora-
rte-
sdk/src/core/processor/sequence-
msg/message-
parser"
"agora-
rte-
sdk/src/core/processor/sequence-
msg/synchronizer"
"agora-
rte-
sdk/src/core/processor/struct"
"agora-
rte-
sdk/src/core/processor/type"
"agora-
rte-
sdk/src/core/rtc/adapter/base"
"agora-
rte-
sdk/src/core/rtc/adapter/electron/device"
"agora-
rte-
sdk/src/core/rtc/adapter/electron/index"
"agora-
rte-
sdk/src/core/rtc/adapter/electron/stats"
"agora-
rte-
sdk/src/core/rtc/adapter/electron/thread"
"agora-
rte-
sdk/src/core/rtc/adapter/index"
"agora-
rte-
sdk/src/core/rtc/adapter/web/client"
"agora-
rte-
sdk/src/core/rtc/adapter/web/device"
"agora-
rte-
sdk/src/core/rtc/adapter/web/dispatcher"
"agora-
rte-
sdk/src/core/rtc/adapter/web/index"
"agora-
rte-
sdk/src/core/rtc/adapter/web/player"
"agora-
rte-
sdk/src/core/rtc/adapter/web/stats"
"agora-
rte-
sdk/src/core/rtc/adapter/web/thread"
"agora-
rte-
sdk/src/core/rtc/canvas"
"agora-
rte-
sdk/src/core/rtc/channel"
"agora-
rte-
sdk/src/core/rtc/index"
"agora-
rte-
sdk/src/core/rtc/type"
"agora-
rte-
sdk/src/core/rtm/index"
"agora-
rte-
sdk/src/core/rtm/type"
"agora-
rte-
sdk/src/core/schedule/index"
"agora-
rte-
sdk/src/core/schedule/scheduler"
"agora-
rte-
sdk/src/core/schedule/task"
"agora-
rte-
sdk/src/core/services/api"
"agora-
rte-
sdk/src/core/services/base"
"agora-
rte-
sdk/src/core/services/domain-
region-
map"
"agora-
rte-
sdk/src/core/services/fallback-
request-
handler"
"agora-
rte-
sdk/src/core/services/report"
"agora-
rte-
sdk/src/core/upload/index"
"agora-
rte-
sdk/src/core/upload/scheduler"
"agora-
rte-
sdk/src/core/upload/type"
"agora-
rte-
sdk/src/core/utils/electron-
log-
file"
"agora-
rte-
sdk/src/core/utils/error"
"agora-
rte-
sdk/src/core/utils/events"
"agora-
rte-
sdk/src/core/utils/file-
reader"
"agora-
rte-
sdk/src/core/utils/http-
client"
"agora-
rte-
sdk/src/core/utils/interceptor"
"agora-
rte-
sdk/src/core/utils/networkutils"
"agora-
rte-
sdk/src/core/utils/race-
condition"
"agora-
rte-
sdk/src/core/utils/thread"
"agora-
rte-
sdk/src/core/utils/types"
"agora-
rte-
sdk/src/core/utils/utils"
"agora-
rte-
sdk/src/core/worker/constants"
"agora-
rte-
sdk/src/core/worker/handler/binary"
"agora-
rte-
sdk/src/core/worker/handler/db"
"agora-
rte-
sdk/src/core/worker/handler/log"
"agora-
rte-
sdk/src/core/worker/handler/reply"
"agora-
rte-
sdk/src/core/worker/index"
"agora-
rte-
sdk/src/core/worker/interactor"
"agora-
rte-
sdk/src/core/worker/mutex"
"agora-
rte-
sdk/src/core/worker/type"
"agora-
rte-
sdk/src/core/worker/worker-
entry"
"agora-
rte-
sdk/src/core/worker/worker-
factory"
"agora-
rte-
sdk/src/core/worker/worker-
installer"
"agora-
rte-
sdk/src/index"
"agora-
rte-
sdk/src/scene/index"
"agora-
rte-
sdk/src/scene/state-
sync"
"agora-
rte-
sdk/src/type"
"agora-
rte-
sdk/src/user/index"
Agora
Rte
Local
User
constructor
logger
rtc
Token
scene
Id
stream
Uuid
sub
Stream
user
Name
user
Properties
user
Role
user
Uuid
delete
Local
Media
Stream
delete
Local
Screen
Stream
delete
Scene
Properties
delete
User
Properties
destroy
publish
Stream
To
Cdn
send
Custom
Channel
Message
send
Custom
Peer
Message
send
Room
Message
set
Scene
Properties
set
User
Properties
setup
Remote
Video
to
Data
update
Local
Media
State
update
Local
Media
Stream
update
Remote
Media
Stream