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/core/media/control"
AgoraMediaControl
Class AgoraMediaControl
Hierarchy
AGEventEmitter
AgoraMediaControl
Index
Constructors
constructor
Accessors
camera
microphone
player
screen
Methods
create
Camera
Video
Track
create
Loopback
Device
create
Microphone
Audio
Track
create
Screen
Share
Track
create
Stream
Media
Track
create
Stream
Player
emit
get
Audio
Playback
List
get
Audio
Recording
List
get
Current
Frame
Data
get
Display
Devices
get
Video
Camera
List
get
Window
Devices
has
Screen
Share
Permission
is
Screen
Device
Enumerate
Supported
off
on
once
remove
All
Event
Listeners
set
Beauty
Effect
Options
start
Audio
Playback
Device
Test
start
Audio
Recording
Device
Test
stop
Audio
Playback
Device
Test
stop
Audio
Recording
Device
Test
take
Snapshot
Constructors
constructor
new
Agora
Media
Control
(
rtc
:
AGRtcManager
)
:
AgoraMediaControl
Parameters
rtc:
AGRtcManager
Returns
AgoraMediaControl
Accessors
camera
get
camera
(
)
:
undefined
|
AgoraRteCameraVideoTrack
Returns
undefined
|
AgoraRteCameraVideoTrack
microphone
get
microphone
(
)
:
undefined
|
AgoraRteMicrophoneAudioTrack
Returns
undefined
|
AgoraRteMicrophoneAudioTrack
player
get
player
(
)
:
undefined
|
AgoraRteStreamPlayer
Returns
undefined
|
AgoraRteStreamPlayer
screen
get
screen
(
)
:
undefined
|
AgoraRteScreenShareTrack
Returns
undefined
|
AgoraRteScreenShareTrack
Methods
create
Camera
Video
Track
create
Camera
Video
Track
(
)
:
AgoraRteCameraVideoTrack
Returns
AgoraRteCameraVideoTrack
create
Loopback
Device
create
Loopback
Device
(
)
:
AgoraRteLoopbackDevice
Returns
AgoraRteLoopbackDevice
create
Microphone
Audio
Track
create
Microphone
Audio
Track
(
)
:
AgoraRteMicrophoneAudioTrack
Returns
AgoraRteMicrophoneAudioTrack
create
Screen
Share
Track
create
Screen
Share
Track
(
)
:
AgoraRteScreenShareTrack
Returns
AgoraRteScreenShareTrack
create
Stream
Media
Track
create
Stream
Media
Track
(
)
:
AgoraRteStreamMediaTrack
Returns
AgoraRteStreamMediaTrack
create
Stream
Player
create
Stream
Player
(
)
:
AgoraRteStreamPlayer
Returns
AgoraRteStreamPlayer
emit
emit
(
evt
:
string
,
...
args
:
any
[]
)
:
AgoraMediaControl
Parameters
evt:
string
Rest
...
args:
any
[]
Returns
AgoraMediaControl
get
Audio
Playback
List
get
Audio
Playback
List
(
)
:
AGRtcDeviceInfo
[]
Returns
AGRtcDeviceInfo
[]
get
Audio
Recording
List
get
Audio
Recording
List
(
)
:
AGRtcDeviceInfo
[]
Returns
AGRtcDeviceInfo
[]
get
Current
Frame
Data
get
Current
Frame
Data
(
channelName
:
string
, streamUuid
:
string
, isLocal
:
boolean
)
:
ImageData
Parameters
channelName:
string
streamUuid:
string
isLocal:
boolean
Returns
ImageData
get
Display
Devices
get
Display
Devices
(
)
:
Promise
<
AGScreenShareDevice
[]
>
Returns
Promise
<
AGScreenShareDevice
[]
>
get
Video
Camera
List
get
Video
Camera
List
(
)
:
AGRtcDeviceInfo
[]
Returns
AGRtcDeviceInfo
[]
get
Window
Devices
get
Window
Devices
(
)
:
Promise
<
AGScreenShareDevice
[]
>
Returns
Promise
<
AGScreenShareDevice
[]
>
has
Screen
Share
Permission
has
Screen
Share
Permission
(
)
:
boolean
Returns
boolean
is
Screen
Device
Enumerate
Supported
is
Screen
Device
Enumerate
Supported
(
)
:
boolean
Returns
boolean
off
off
(
evt
:
string
, cb
:
CallableFunction
)
:
AgoraMediaControl
Parameters
evt:
string
cb:
CallableFunction
Returns
AgoraMediaControl
on
on
(
evt
:
string
, cb
:
CallableFunction
)
:
AgoraMediaControl
Parameters
evt:
string
cb:
CallableFunction
Returns
AgoraMediaControl
once
once
(
evt
:
string
, cb
:
CallableFunction
)
:
AgoraMediaControl
Parameters
evt:
string
cb:
CallableFunction
Returns
AgoraMediaControl
remove
All
Event
Listeners
remove
All
Event
Listeners
(
)
:
void
Returns
void
set
Beauty
Effect
Options
set
Beauty
Effect
Options
(
enable
:
boolean
, options
:
AGBeautyEffect
)
:
number
Parameters
enable:
boolean
options:
AGBeautyEffect
Returns
number
start
Audio
Playback
Device
Test
start
Audio
Playback
Device
Test
(
url
:
string
)
:
number
Parameters
url:
string
Returns
number
start
Audio
Recording
Device
Test
start
Audio
Recording
Device
Test
(
indicateInterval
:
number
)
:
number
Parameters
indicateInterval:
number
Returns
number
stop
Audio
Playback
Device
Test
stop
Audio
Playback
Device
Test
(
)
:
number
Returns
number
stop
Audio
Recording
Device
Test
stop
Audio
Recording
Device
Test
(
)
:
number
Returns
number
take
Snapshot
take
Snapshot
(
channel
:
string
, streamUuid
:
number
, filePath
:
string
)
:
Promise
<
void
|
AGSnapshotInfo
>
Parameters
channel:
string
streamUuid:
number
filePath:
string
Returns
Promise
<
void
|
AGSnapshotInfo
>
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
Media
Control
constructor
camera
microphone
player
screen
create
Camera
Video
Track
create
Loopback
Device
create
Microphone
Audio
Track
create
Screen
Share
Track
create
Stream
Media
Track
create
Stream
Player
emit
get
Audio
Playback
List
get
Audio
Recording
List
get
Current
Frame
Data
get
Display
Devices
get
Video
Camera
List
get
Window
Devices
has
Screen
Share
Permission
is
Screen
Device
Enumerate
Supported
off
on
once
remove
All
Event
Listeners
set
Beauty
Effect
Options
start
Audio
Playback
Device
Test
start
Audio
Recording
Device
Test
stop
Audio
Playback
Device
Test
stop
Audio
Recording
Device
Test
take
Snapshot