startSendRtp接口支持同时接收流:#2109,#2149

This commit is contained in:
xiongziliang
2023-01-07 22:36:30 +08:00
parent 3b3a83b524
commit 0374e7a660
7 changed files with 40 additions and 2 deletions

View File

@@ -1203,6 +1203,7 @@ void installWebApi() {
args.use_ps = allArgs["use_ps"].empty() ? true : allArgs["use_ps"].as<bool>();
args.only_audio = allArgs["only_audio"].as<bool>();
args.udp_rtcp_timeout = allArgs["udp_rtcp_timeout"];
args.recv_stream_id = allArgs["recv_stream_id"];
TraceL << "startSendRtp, pt " << int(args.pt) << " ps " << args.use_ps << " audio " << args.only_audio;
src->getOwnerPoller()->async([=]() mutable {