Skip to main content

RtspServerOptions Struct

Options for Graph::run_rtsp() — controls the RTSP server's mount point and ports. More...

Declaration​

struct simaai::neat::RtspServerOptions { ... }

Included Headers​

#include <GraphOptions.h>

Public Member Attributes Index​

std::stringmount = ...

RTSP path component (e.g., "image" → rtsp://host:port/image). More...

intport = 8554

RTSP server TCP port. More...

intrtp_port_base = -1

Optional RTP/RTCP UDP port range. More...

intrtp_port_count = 0

Size of the RTP/RTCP port range; 0 = no restriction. More...

Description​

Options for Graph::run_rtsp() — controls the RTSP server's mount point and ports.

Definition at line 194 of file GraphOptions.h.

Public Member Attributes​

mount​

std::string simaai::neat::RtspServerOptions::mount

RTSP path component (e.g., "image" → rtsp://host:port/image).

Initialiser
= "image"

Definition at line 195 of file GraphOptions.h.

port​

int simaai::neat::RtspServerOptions::port = 8554

RTSP server TCP port.

Definition at line 197 of file GraphOptions.h.

rtp_port_base​

int simaai::neat::RtspServerOptions::rtp_port_base = -1

Optional RTP/RTCP UDP port range.

When set, the RTSP server will only allocate RTP/RTCP ports within [rtp_port_base, rtp_port_base + rtp_port_count - 1]. Useful when firewall rules require a fixed port range. Leave at the defaults (-1, 0) for unrestricted port allocation. First UDP port for RTP/RTCP allocation; -1 = no restriction.

Definition at line 205 of file GraphOptions.h.

rtp_port_count​

int simaai::neat::RtspServerOptions::rtp_port_count = 0

Size of the RTP/RTCP port range; 0 = no restriction.

Definition at line 206 of file GraphOptions.h.


The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.