mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-25 04:08:57 +08:00
修复startSendRtp接口开启收流时vhost设置错误的问题 (#3848)
This commit is contained in:
parent
c409fc5754
commit
df9dd3d17a
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user