startSendRtpPassive接口支持同时接收流

This commit is contained in:
xiongziliang
2023-01-08 21:24:29 +08:00
parent 0374e7a660
commit fcf70c6ef1
2 changed files with 7 additions and 0 deletions

View File

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