33 return (port > 0) && (port <= 65535);
The stream URIs VideoStreamResolver produces, as the receivers that play them tell them apart.
@ Rtsp
Any rtsp* scheme: rtsp://, rtsps://, rtspt://, ...
constexpr bool isValidPort(int port)
A TCP or UDP port a source can name: 1 to 65535.
constexpr bool listens(Transport transport)
The receiver listens on a local UDP port for transport, rather than connect to a server.
std::optional< Transport > transportFor(const QUrl &url)
The transport url's scheme selects, case-insensitively; nullopt for any other scheme.