Class
RoomOptions
@objc
public class RoomOptions: NSObject
Relationships
Conforms To
NSObject
Initializers
Properties
defaultCameraCaptureOptions
@objc
public let defaultCameraCaptureOptions: CameraCaptureOptions
defaultAudioCaptureOptions
@objc
public let defaultAudioCaptureOptions: AudioCaptureOptions
defaultVideoPublishOptions
@objc
public let defaultVideoPublishOptions: VideoPublishOptions
defaultAudioPublishOptions
@objc
public let defaultAudioPublishOptions: AudioPublishOptions
adaptiveStream
@objc
public let adaptiveStream: Bool
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.
dynacast
@objc
public let dynacast: Bool
Dynamically pauses video layers that are not being consumed by any subscribers, significantly reducing publishing CPU and bandwidth usage.
stopLocalTrackOnUnpublish
@objc
public let stopLocalTrackOnUnpublish: Bool
suspendLocalVideoTracksInBackground
@objc
public let suspendLocalVideoTracksInBackground: Bool
Automatically suspend(mute) video tracks when the app enters background and resume(unmute) when the app enters foreground again.
reportStats
@objc
public let reportStats: Bool
Experimental
Report TrackStats
every second to TrackDelegate
for each local and remote tracks.
This may consume slightly more CPU resources.
hash
public override var hash: Int
Methods
isEqual(_:)
public override func isEqual(_ object: Any?) -> Bool