修复编译问题

This commit is contained in:
xiongziliang 2022-01-14 22:04:46 +08:00
parent e8b0993493
commit c9d755f4e8
2 changed files with 5 additions and 9 deletions

@ -1 +1 @@
Subproject commit dd101bcc31290e3d1ec1ae939d937f2712719a0d Subproject commit a71747c7d0811263b12ef9112ec13fdffe2ab171

View File

@ -1037,10 +1037,6 @@ void installWebApi() {
throw InvalidArgsException("该stream_id已存在"); throw InvalidArgsException("该stream_id已存在");
} }
RtpServer::Ptr server = std::make_shared<RtpServer>(); RtpServer::Ptr server = std::make_shared<RtpServer>();
server->start(allArgs["port"], stream_id, allArgs["enable_tcp"].as<bool>(), "0.0.0.0", enable_reuse); server->start(allArgs["port"], stream_id, allArgs["enable_tcp"].as<bool>(), "0.0.0.0", enable_reuse);
server->setOnDetach([stream_id]() { server->setOnDetach([stream_id]() {