QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GstRtspSource.h
Go to the documentation of this file.
1#pragma once
2
3#include <gst/gst.h>
4
5#include <QtCore/QString>
6
7#include "GstScoped.h"
8#include "GstSourceFactory.h"
9
10class QUrl;
11
14
16bool isValidRtspUri(const gchar* uri_str);
17
19bool isVideoMedia(const GstStructure* structure);
20
23GstElementPtr buildRtspSource(const QString& uri, const QUrl& sourceUrl, const Config& config, guint latencyMs);
24
25} // namespace GStreamer::SourceFactory
The RTSP source GStreamer::SourceFactory::create() builds, with QGC's transport, latency and retransm...
bool isVideoMedia(const GstStructure *structure)
SDP-derived caps carry the stream's media type; audio and metadata streams must never reach the video...
GstElementPtr buildRtspSource(const QString &uri, const QUrl &sourceUrl, const Config &config, guint latencyMs)
bool isValidRtspUri(const gchar *uri_str)
True for a syntactically valid rtsp* URI with a host.
std::unique_ptr< GstElement, GstObjectDeleter > GstElementPtr
Definition GstScoped.h:60