QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
VideoStreamUri.h File Reference
#include <cstdint>
#include <optional>
Include dependency graph for VideoStreamUri.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  VideoStreamUri
 The stream URIs VideoStreamResolver produces, as the receivers that play them tell them apart.

Enumerations

enum class  VideoStreamUri::Transport : uint8_t {
  VideoStreamUri::Rtsp , VideoStreamUri::RtpUdpH264 , VideoStreamUri::RtpUdpH265 , VideoStreamUri::MpegTsUdp ,
  VideoStreamUri::MpegTsTcp
}

Functions

std::optional< Transport > VideoStreamUri::transportFor (const QUrl &url)
 The transport url's scheme selects, case-insensitively; nullopt for any other scheme.
constexpr bool VideoStreamUri::listens (Transport transport)
 The receiver listens on a local UDP port for transport, rather than connect to a server.
constexpr bool VideoStreamUri::isValidPort (int port)
 A TCP or UDP port a source can name: 1 to 65535.