GStreamerPipelineBuilder class
Builds GStreamer pipeline strings for different video sources and platforms.
This class encapsulates all pipeline construction logic, making it easier to test and maintain. Each method corresponds to a specific video source or platform combination.
Constructors
- GStreamerPipelineBuilder({required int width, required int height, required int fps, required bool isAndroid})
-
Creates a pipeline builder with the specified dimensions and framerate.
const
Properties
- fps → int
-
Target framerate.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int
-
Video height in pixels.
final
- isAndroid → bool
-
Whether building for Android platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → int
-
Video width in pixels.
final
Methods
-
build(
String source) → String - Builds a pipeline string for the given video source.
-
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