The audio playback devices
The audio sampling devices
The ID of the current video capturing device
Currently capturing screen device
Whether the video is mirrored
The state of the local video capturing device
The state of the local loopback audio 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 preview video capturing device
local preview mic audio volume range from [0,1]
The state of the local preview audio sampling device
The state of screen sharing of sound capturing device
The state of the local screen capturing device
The ID of the current video playback device
The ID of the current audio sampling device
The video capturing devices
Add an audio raw data observer
preprocessor for the camera track Adds the pre-processors to the local camera track
Adds the pre-processors to the local microphone track
preprocessor for the microphone track
Adds the pre-processors to the local camera track(For preview)
Adds the pre-processors to the local microphone track(For preview)
订阅者
Enables dual stream
Whether to enable
RTC connection
Enables or disables the local audio
boolean
Enables or disables the local video
boolean
Gets a list of display devices that can be captured
A list of application windows
Get a stream media track by stream URL
Video URL to play
Video player object that controls audio and video playback
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.
Snapshot info
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.
Snapshot info
Gets a list of application windows that can be captured
A list of application windows
Check whether the permission of screen capture is granted
Whether the permission for screen capture is granted
Checks whether a list of screen capture devices can be obtained
Whether a list of screen capture devices can be obtained
Remove an audio raw data observer
Removes all camera track processors
Removes all microphone track processors
Removes all camera track processors(For preview)
Removes all microphone track processors(For preview)
Set the config for audio raw data callback it needs called before join in the class
config
Sets the local camera device ID
Device ID
Set the device that is currently screen sharing
Sets resolution and frame rate of the low-quality stream
Parameter used to set the low-quality stream
RTC connection
Set mirror
Enable mirror for local video or not
set playback device ID
Device ID
Sets the local recording device ID
Device ID
Sets a node for rendering the local screen-sharing stream
The rendering node
Setup local video
render node
enable mirror
Play a media stream
hls url
Start loopback recording
Optional parameter object, including audio device name and connection type
Starts the playback device test Base64 audio data not support on Electron platform
resouce url
Starts the audio device test
The indication interval (ms).
Stop loopback recording
Optional parameter object, including connection type
Stops the playback device test
Stops the audio device test
Stops sharing the screen withAudio: whether to close loopback recording simultaneously, Default to: True
Updates the local media state
The video state and audio state
The
MediaStore
class is used for processing media streams.