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

RoomOptions

Options for when creating a new room

Interface

adaptiveStream

optional
AdaptiveStream lets LiveKit automatically manage quality of subscribed video tracks to optimize for bandwidth and CPU. When attached video elements are visible, it'll choose an appropriate resolution based on the size of largest video element it's attached to.
When none of the video elements are visible, it'll temporarily pause the data flow until they are visible again.
Type
boolean | AdaptiveStreamSettings

audioCaptureDefaults

optional
default options to use when capturing user's audio

disconnectOnPageLeave

optional
specifies whether the sdk should automatically disconnect the room on 'pagehide' and 'beforeunload' events
Type
boolean

dynacast

optional
enable Dynacast, off by default. With Dynacast dynamically pauses video layers that are not being consumed by any subscribers, significantly reducing publishing CPU and bandwidth usage.
Type
boolean

publishDefaults

optional
default options to use when publishing tracks

reconnectPolicy

optional
policy to use when attempting to reconnect
Type
ReconnectPolicy

stopLocalTrackOnUnpublish

optional
should local tracks be stopped when they are unpublished. defaults to true set this to false if you would prefer to clean up unpublished local tracks manually.
Type
boolean

videoCaptureDefaults

optional
default options to use when capturing user's video

atmoky Logo

© 2024 atmoky, GmbH.
All rights reserved.

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