CustomCameraTrackConfig enum

Defines video resolution and encoding presets for camera video tracks.

  • These presets control the width and height of the video stream and are used while creating a custom camera video track.

Example

final videoTrack = await VideoSDK.createCameraVideoTrack(
  encoderConfig: CustomCameraTrackConfig.h720p_w1280p,
);
Inheritance
Available extensions

Values

h90p_w160p → const CustomCameraTrackConfig

160x90 video resolution.

Example

encoderConfig: CustomCameraTrackConfig.h90p_w160p
h180p_w320p → const CustomCameraTrackConfig

320x180 video resolution.

Example

encoderConfig: CustomCameraTrackConfig.h180p_w320p
h216p_w384p → const CustomCameraTrackConfig

384x216 video resolution.

Example

encoderConfig: CustomCameraTrackConfig.h216p_w384p
h360p_w640p → const CustomCameraTrackConfig

640x360 video resolution (SD).

Example

encoderConfig: CustomCameraTrackConfig.h360p_w640p
h540p_w960p → const CustomCameraTrackConfig

960x540 video resolution.

Example

encoderConfig: CustomCameraTrackConfig.h540p_w960p
h720p_w1280p → const CustomCameraTrackConfig

1280x720 video resolution (HD).

Example

encoderConfig: CustomCameraTrackConfig.h720p_w1280p
h1080p_w1920p → const CustomCameraTrackConfig

1920x1080 video resolution (Full HD).

Example

encoderConfig: CustomCameraTrackConfig.h1080p_w1920p
h1440p_w2560p → const CustomCameraTrackConfig

2560x1440 video resolution (2K).

Example

encoderConfig: CustomCameraTrackConfig.h1440p_w2560p
h2160p_w3840p → const CustomCameraTrackConfig

3840x2160 video resolution (4K).

Example

encoderConfig: CustomCameraTrackConfig.h2160p_w3840p
h120p_w160p → const CustomCameraTrackConfig

160x120 video resolution.

Example

encoderConfig: CustomCameraTrackConfig.h120p_w160p
h144_w192p → const CustomCameraTrackConfig

192x144 video resolution.

Example

encoderConfig: CustomCameraTrackConfig.h144_w192p
h180p_w240p → const CustomCameraTrackConfig

240x180 video resolution.

Example

encoderConfig: CustomCameraTrackConfig.h180p_w240p
h240p_w320p → const CustomCameraTrackConfig

320x240 video resolution.

Example

encoderConfig: CustomCameraTrackConfig.h240p_w320p
h360p_w480p → const CustomCameraTrackConfig

480x360 video resolution.

Example

encoderConfig: CustomCameraTrackConfig.h360p_w480p
h480p_w640p → const CustomCameraTrackConfig

640x480 video resolution.

Example

encoderConfig: CustomCameraTrackConfig.h480p_w640p
h540p_w720p → const CustomCameraTrackConfig

720x540 video resolution.

Example

encoderConfig: CustomCameraTrackConfig.h540p_w720p
h720p_w960p → const CustomCameraTrackConfig

960x720 video resolution.

Example

encoderConfig: CustomCameraTrackConfig.h720p_w960p
h1080p_w1440p → const CustomCameraTrackConfig

1440x1080 video resolution.

Example

encoderConfig: CustomCameraTrackConfig.h1080p_w1440p
h1440p_w1920p → const CustomCameraTrackConfig

1920x1440 video resolution.

Example

encoderConfig: CustomCameraTrackConfig.h1440p_w1920p

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<CustomCameraTrackConfig>
A constant List of the values in this enum, in order of their declaration.