QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GstSourceFactory.h File Reference
#include <chrono>
#include <gst/gstelement.h>
#include <gst/gstpad.h>
#include <optional>
#include <QtCore/QLoggingCategory>
#include <QtCore/QString>
Include dependency graph for GstSourceFactory.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  GStreamer::SourceFactory::Config

Namespaces

namespace  GStreamer
namespace  GStreamer::SourceFactory
 The RTSP source GStreamer::SourceFactory::create() builds, with QGC's transport, latency and retransmission policy.

Enumerations

enum class  GStreamer::SourceFactory::JitterBuffer { GStreamer::SourceFactory::None , GStreamer::SourceFactory::DropOnLatency }

Functions

GstElement * GStreamer::SourceFactory::create (const QString &uri, const Config &config)
std::optional< std::chrono::milliseconds > GStreamer::SourceFactory::connectGracePeriod (const QString &uri)
int GStreamer::SourceFactory::udpReceiveBufferSize ()
void GStreamer::SourceFactory::reportDroppedPackets (GstElement *jitterBuffer)
void GStreamer::SourceFactory::configureH26xParser (GstElement *element)
void GStreamer::SourceFactory::configureH26xRtpDepayloader (GstElement *element, bool requestKeyframes)
void GStreamer::SourceFactory::gateOnParameterSets (GstPad *depayloaderSrc, bool h265)

Variables

constexpr std::chrono::milliseconds GStreamer::SourceFactory::kRtspUdpTimeout {5000}
 rtspsrc waits this long for UDP data before it retries the session over TCP ("timeout").