|
QGroundControl
Ground Control Station for MAVLink Drones
|
Classes | |
| struct | Config |
Enumerations | |
| enum class | JitterBuffer { None , DropOnLatency , Buffered } |
Functions | |
| GstElement * | create (const QString &uri, const Config &config) |
|
strong |
RTP jitter-buffer policy for sources that produce application/x-rtp caps. Ignored for non-RTP sources (e.g. raw MPEG-TS over TCP).
| Enumerator | |
|---|---|
| None | No |
| DropOnLatency |
|
| Buffered |
|
Definition at line 10 of file GstSourceFactory.h.
| GstElement * GStreamer::SourceFactory::create | ( | const QString & | uri, |
| const Config & | config | ||
| ) |
Build a source bin (source [+ tsdemux] [+ rtpjitterbuffer] + parsebin) for uri. Supported schemes: rtsp/rtspt, tcp:// (MPEG-TS), udp:// (H.264 RTP), udp265:// (H.265 RTP), mpegts:// (MPEG-TS over UDP).
Ghost pads on the returned bin are wired lazily; for rtspsrc/tsdemux/parsebin they appear only after upstream produces pads, so callers must connect any downstream pad-added handlers before transitioning to PLAYING.
Returns the source bin or nullptr on failure.
Definition at line 489 of file GstSourceFactory.cc.
References binParser, config, latencyMs, and GStreamer::SourceFactory::Config::latencyMs.
Referenced by GstVideoReceiver::start().