MediaPreviewConfig Class Properties

PropertyTypeOptionalDescription
audioObjectYesConfiguration for audio preview
audio.enabledbooleanYesWhether audio preview is enabled
audio.deviceIdstringYesDevice ID for audio input
videoObjectYesConfiguration for video preview
video.enabledbooleanYesWhether video preview is enabled
video.deviceIdstringYesDevice ID for video input
screenObjectYesConfiguration for screen preview
screen.enabledbooleanYesWhether screen preview is enabled
screen.streamMediaStreamYesMediaStream for screen sharing