[domistream] Host: RTSP server, DESCRIBE and ANNOUNCE #10
Reference in New Issue
Block a user
Delete Branch "feature/host-rtsp-server"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Lumen L1, host side of RTSP:
rtsp::server(per-connection session), the DESCRIBE SDP writer and a strict ANNOUNCE parser into a typedStreamConfig, tests first. PROTOCOL.md gains section 2.5 (host side, the attribute table with required/defaulted status).Announced(StreamConfig)andPlayRequested.dynamicRangeModeandencoderCscModekept raw (U6: bit meanings unknown, their only detailed source is GPL-provenance); caps 32 KiB / 1024 lines / 1024 bytes per line / 512 attributes; duplicates refused, unknowns counted.RtspResponse::encode,RtspFramer::for_requests(missing Content-Length = no body, RFC 2326).Evidence: 39 new tests (our
RtspClientagainst the server in memory, whole and byte-by-byte, every codec × audio × HDR/RFI combination; order, Session, CSeq; property round trips; alloc caps). Rebased on PR #9: 309 passed / 0 failed; clippy and fmt clean (rustdoc clean on the branch). Fuzz:rtsp_server895,897 runs / 121 s,announce11,659,642 runs / 121 s, 0 crashes.Clean-room checklist
f184d5esrc/rtsp.rsandsrc/session/stream/{mod,video/mod}.rs(BSD-2, facts only: S-30, S-31), Wolf RTSP and RFC 2326 (S-32).Self-review: checked the rebase conflict (fuzz bins only), that host
StreamConfigdoes not shadow the client's re-export, that numbers are range-checked before use, and that 451 refusals depend only on the host's own offer. Open U5/U6/U26 questions are listed for the black-box measurement with real clients.7fce5aa226tofd4285aff0