Data Models
MediaPreviewConfig
MediaPreviewConfig
Class Properties
Property | Type | Optional | Description |
---|---|---|---|
audio | Object | Yes | Configuration for audio preview |
audio.enabled | boolean | Yes | Whether audio preview is enabled |
audio.deviceId | string | Yes | Device ID for audio input |
video | Object | Yes | Configuration for video preview |
video.enabled | boolean | Yes | Whether video preview is enabled |
video.deviceId | string | Yes | Device ID for video input |
screen | Object | Yes | Configuration for screen preview |
screen.enabled | boolean | Yes | Whether screen preview is enabled |
screen.stream | MediaStream | Yes | MediaStream for screen sharing |
Was this page helpful?