CustomScreenShareTrackConfig enum

Defines resolution and frame-rate presets for screen sharing.

  • These presets control the quality and frame rate of the screen-sharing video stream.

Example

final shareTrack = await VideoSDK.createScreenShareVideoTrack(
  encoderConfig: CustomScreenShareTrackConfig.h1080p_30fps,
);
Inheritance
Available extensions

Values

h360p_30fps → const CustomScreenShareTrackConfig

360p screen share at 30 FPS.

h480p_15fps → const CustomScreenShareTrackConfig

480p screen share at 15 FPS.

h480p_30fps → const CustomScreenShareTrackConfig

480p screen share at 30 FPS.

h720p_5fps → const CustomScreenShareTrackConfig

720p screen share at 5 FPS.

h720p_15fps → const CustomScreenShareTrackConfig

720p screen share at 15 FPS. The default.

h720p_30fps → const CustomScreenShareTrackConfig

720p screen share at 30 FPS.

h1080p_15fps → const CustomScreenShareTrackConfig

1080p screen share at 15 FPS.

h1080p_30fps → const CustomScreenShareTrackConfig

1080p screen share at 30 FPS.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

Constants

values → const List<CustomScreenShareTrackConfig>
A constant List of the values in this enum, in order of their declaration.