RtspServerOptions Struct
Options for Session::run_rtsp() — controls the RTSP server's mount point and ports. More...
Declaration
Included Headers
Public Member Attributes Index
| std::string | mount = ... |
|
RTSP path component (e.g., "image" → rtsp://host:port/image). More... | |
| int | port = 8554 |
|
RTSP server TCP port. More... | |
| int | rtp_port_base = -1 |
|
Optional RTP/RTCP UDP port range. More... | |
| int | rtp_port_count = 0 |
|
Size of the RTP/RTCP port range; 0 = no restriction. More... | |
Description
Options for Session::run_rtsp() — controls the RTSP server's mount point and ports.
Definition at line 155 of file SessionOptions.h.
Public Member Attributes
mount
|
RTSP path component (e.g., "image" → rtsp://host:port/image).
- Initialiser
-
= "image"
Definition at line 156 of file SessionOptions.h.
port
|
rtp_port_base
|
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 166 of file SessionOptions.h.
rtp_port_count
|
Size of the RTP/RTCP port range; 0 = no restriction.
Definition at line 167 of file SessionOptions.h.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.