add pcm listener
订阅者
The audio playback devices
The audio sampling devices
The image enhancement options
The ID of the current video capturing device
Whether the image enhancement feature is enabled
Whether the video is mirrored
The state of the local video capturing device
local mic audio volume range from [0,1]
The state of the local audio sampling device
local playback test volume range from [0,1]
The state of the local screen-sharing stream
pcm subscriber
The ID of the current video playback device
The ID of the current audio sampling device
remove pcm listener
set audio raw data config it needs called before join in the class
config
enable beauty
boolean
设置美颜配置
set camerra device ID
set mirror
set playback device ID
set audio device ID
setup local video
render node
enable mirror
Starts the playback device test
resouce url
Starts the audio device test
The indication interval (ms).
Stops the playback device test
Stops the audio device test
The video capturing devices
get camera accessors
get media control object
mic Accessors
Enables or disables the local audio
boolean
Enables or disables the local video
boolean
get display devices
Get a stream media track by stream URL
Takes a snapshot from a video stream (Only for Electron). The snapshot is saved to the local folder that you specify in the JPG format.
The ID of the RTC channel. You can set this parameter as roomUuid.
The stream ID.
The absolute path for saving the snapshot.
Promise<void | FcrSnapshotInfo>
Takes a snapshot from a video stream (Only for Web). This method returns an ImageData object, which contains the data in the RGBA order.
The ID of the RTC channel. You can set this parameter as roomUuid.
The stream ID.
ImageData
Gets the window ID when using the video source
This method gets the ID of the whole window and relevant information. You can share the whole or part of a window by specifying the window ID.
Whether has the permission of sharing the screen
Whether screen sharing is supported
Sets a node for rendering the local screen-sharing stream
The rendering node
Render a media stream
hls url
Starts sharing the screen
The stream ID
The screen sharing type
Stops sharing the screen
Updates the local media state
The video state and audio state
The
MediaStore
class is used for processing media streams.