mirror of
https://github.com/Monibuca/plugin-ps.git
synced 2025-12-24 12:37:59 +08:00
fix: submode=2 don't limit speed
This commit is contained in:
1
main.go
1
main.go
@@ -210,6 +210,7 @@ func Receive(streamPath, dump, port string, ssrc uint32, reuse bool) (err error)
|
||||
switch protocol {
|
||||
case "tcp":
|
||||
var tcpConf config.TCP
|
||||
tcpConf.ListenNum = 1
|
||||
tcpConf.ListenAddr = listenaddr
|
||||
if reuse {
|
||||
if _, ok := conf.shareTCP.LoadOrStore(listenaddr, &tcpConf); ok {
|
||||
|
||||
Reference in New Issue
Block a user