Expand description
Server-side RTSP session engine — RFC 2326 Appendix A.2.
ServerSession is sans-IO: ServerSession::handle_request parses an
inbound request, validates it against the §A.2 server state table (see
docs/state-machines.md), and returns the
serialized response bytes plus typed ServerEvents. A method not valid in
the current state yields a 455 Method Not Valid In This State
(see docs/methods-and-status.md); state
advances only when a 2xx is actually sent.
On SETUP the server allocates a Session id (if none yet) and echoes the
client’s Transport back (a minimal negotiation: the first offered spec is
accepted, else 461 Unsupported Transport).
Structs§
- Server
Session - A driveable RTSP server session (RFC 2326 §A.2).
Enums§
- Server
Event - An event produced by
ServerSession::handle_request.