修复rtp推流协议为空的bug

This commit is contained in:
xia-chu 2024-07-21 19:17:12 +08:00
parent a14e40f8d2
commit 66065f5359

View File

@ -30,6 +30,7 @@ RtpProcess::Ptr RtpProcess::createProcess(const MediaTuple &tuple) {
}
RtpProcess::RtpProcess(const MediaTuple &tuple) {
_media_info.schema = "rtp";
static_cast<MediaTuple &>(_media_info) = tuple;
GET_CONFIG(string, dump_dir, RtpProxy::kDumpDir);