ScreenShareOptions class

Screen sharing config passed by the app.

Pass this object to DeviceStore.startScreenShare to start screen sharing.

Property Type Description
iOSAppGroup String Application Group Identifier reserved for iOS system screen sharing
maxVideoQuality VideoQuality Maximum encoding quality
maxVideoFPS int Maximum encoding frame rate

Constructors

ScreenShareOptions({String iOSAppGroup = '', VideoQuality maxVideoQuality = VideoQuality.quality720P, int maxVideoFPS = 15})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
iOSAppGroup → String
Application Group Identifier reserved for iOS system screen sharing. It must match the App Group configured for the host app and Broadcast Upload Extension. Defaults to ''.
final
maxVideoFPS → int
Maximum encoding frame rate (fps). Defaults to 15; 15 to 20 is recommended. Below 10 playback looks slightly choppy, below 5 it looks clearly choppy, and above 20 it wastes bandwidth.
final
maxVideoQuality → VideoQuality
Maximum encoding quality. The bitrate is set automatically according to the quality. Defaults to 720P.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited