#include "rtp_packetizer.h" #include "rtp_packetizer_av1.h" #include "rtp_packetizer_generic.h" #include "rtp_packetizer_h264.h" std::unique_ptr RtpPacketizer::Create(uint32_t payload_type, uint32_t ssrc) { switch (payload_type) { case rtp::PAYLOAD_TYPE::H264: return std::make_unique(ssrc); case rtp::PAYLOAD_TYPE::AV1: return std::make_unique(ssrc); default: return std::make_unique(ssrc); } }