// aes67_sdp_sap: SDP builder/parser and SAP announcer. // Core component: must not depend on main/ (project code). #pragma once #include #include "esp_err.h" // Registers GET /stream.sdp and starts the SAP announcer (RFC 2974): 239.255.255.255:9875 every // 30 s and on SDP change while aes67.discovery is "sap", the stream is enabled and a PTP GM is // known (else ts-refclk would be all zeros); deletion // when that stops and at shutdown. esp_err_t aes67_sdp_sap_init(void); // Build the current SDP (RFC 4566 + RFC 7273, AES67). Returns the length, or 0 if it didn't fit. size_t aes67_sdp_build(char *buf, size_t size);