修复startSendRtp接口开启收流时vhost设置错误的问题 (#3848)

This commit is contained in:
waken 2024-08-28 12:28:01 +08:00 committed by GitHub
parent c409fc5754
commit df9dd3d17a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1406,7 +1406,7 @@ void installWebApi() {
args.close_delay_ms = allArgs["close_delay_ms"]; args.close_delay_ms = allArgs["close_delay_ms"];
// 记录发送流的app和vhost // 记录发送流的app和vhost
args.recv_stream_app = allArgs["app"]; args.recv_stream_app = allArgs["app"];
args.recv_stream_app = allArgs["vhost"]; args.recv_stream_vhost = allArgs["vhost"];
src->getOwnerPoller()->async([=]() mutable { src->getOwnerPoller()->async([=]() mutable {
try { try {
src->startSendRtp(args, [val, headerOut, invoker](uint16_t local_port, const SockException &ex) mutable { src->startSendRtp(args, [val, headerOut, invoker](uint16_t local_port, const SockException &ex) mutable {