createLocalScreenTracks
Creates a screen capture tracks with getDisplayMedia().
A LocalVideoTrack is always created and returned.
Remarks
If { audio: true }, and the browser supports audio capture, a LocalAudioTrack is also created.Signature
createLocalScreenTracks(options?: ScreenShareCaptureOptions)| Name | Type | Description |
|---|---|---|
options optional | ScreenShareCaptureOptions | screenshare capture options like resolution |