Pages/StreamPage/gstreamer_pipeline library

The native Stream page's GStreamer pipelines per source and platform, and the order it tries sources in.

Classes

GStreamerPipelineBuilder
Builds GStreamer pipeline strings per video source and platform.

Constants

kDefaultFramerate → const int
Default framerate for non-Android platforms (frames per second).
kPixelFormat → const String
Pixel format used for video conversion (RGBA for cross-platform compatibility).
kSourceCandidates → const Map<dynamic, List<String>>
Video sources per platform, best first; each ends in hardware-free videotestsrc rather than a dead texture.

Functions

nextSourceAfter(String failed, List<String> candidates) → String?
The source after failed; null when exhausted or off-chain, so a hand-picked pipeline keeps its own error.
sourceCandidatesFor(dynamic platform) → List<String>
The fallback chain for platform, or a hardware-free default.