mirror of
https://gitee.com/xia-chu/ZLMediaKit.git
synced 2026-05-06 10:57:50 +08:00
默认输出增强型rtmp协议
Some checks failed
Android / build (push) Has been cancelled
CodeQL / Analyze (cpp) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
Docker / build (push) Has been cancelled
Linux / build (push) Has been cancelled
macOS / build (push) Has been cancelled
Windows / build (push) Has been cancelled
Some checks failed
Android / build (push) Has been cancelled
CodeQL / Analyze (cpp) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
Docker / build (push) Has been cancelled
Linux / build (push) Has been cancelled
macOS / build (push) Has been cancelled
Windows / build (push) Has been cancelled
This commit is contained in:
parent
8b6aa37b87
commit
07f8f46e8a
@ -297,8 +297,8 @@ port=1935
|
|||||||
sslport=0
|
sslport=0
|
||||||
# rtmp是否直接代理模式
|
# rtmp是否直接代理模式
|
||||||
directProxy=1
|
directProxy=1
|
||||||
#h265 rtmp打包采用增强型rtmp标准还是国内拓展标准
|
#h265/opus/vp8/vp9/av1 rtmp打包采用增强型rtmp标准还是国内拓展标准
|
||||||
enhanced=0
|
enhanced=1
|
||||||
|
|
||||||
[rtp]
|
[rtp]
|
||||||
#音频mtu大小,该参数限制rtp最大字节数,推荐不要超过1400
|
#音频mtu大小,该参数限制rtp最大字节数,推荐不要超过1400
|
||||||
|
|||||||
@ -256,7 +256,7 @@ static onceToken token([]() {
|
|||||||
mINI::Instance()[kHandshakeSecond] = 15;
|
mINI::Instance()[kHandshakeSecond] = 15;
|
||||||
mINI::Instance()[kKeepAliveSecond] = 15;
|
mINI::Instance()[kKeepAliveSecond] = 15;
|
||||||
mINI::Instance()[kDirectProxy] = 1;
|
mINI::Instance()[kDirectProxy] = 1;
|
||||||
mINI::Instance()[kEnhanced] = 0;
|
mINI::Instance()[kEnhanced] = 1;
|
||||||
});
|
});
|
||||||
} // namespace Rtmp
|
} // namespace Rtmp
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user