15#ifndef SAP_SAP_LISTENER_H_
16#define SAP_SAP_LISTENER_H_
24#include <netinet/in.h>
25#include <sys/socket.h>
74 kOriginatorSessionIdentifier,
80 kConnectionInformation,
81 kBandwidthInformation,
84 kMediaNameAndTransportAddress,
86 KConnectionInformation,
149 const std::map<std::string, ::mediax::sap::SdpMessage, std::less<>> &
GetSapAnnouncements()
const;
168 void RegisterSapListener(std::string_view session_name, const ::mediax::sap::SapCallback &callback,
void *data);
216 std::map<std::string, std::string, std::less<>>
ParseAttributes1(
const std::string_view &line)
const;
224 std::map<std::string, std::string, std::less<>>
ParseAttributes(
const std::string_view &line)
const;
240 bool SapStore(std::array<uint8_t, mediax::rtp::kMaxUdpData> *udpdata, uint32_t size);
247 std::array<uint8_t, mediax::rtp::kMaxUdpData>
udpdata_;
RTP streaming video types.