atmoky Engage Server SDK is now available! Check out the documentation to learn more.
API Reference
Functions
createLocalScreenTracks

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)
NameTypeDescription
options optionalScreenShareCaptureOptionsscreenshare capture options like resolution
Returns
Promise<LocalTrack[]>

atmoky Logo

© 2024 atmoky, GmbH.
All rights reserved.

We use cookies to measure and improve your browsing experience, and serve personalized ads or content.