Compare commits

...

2 Commits

Author SHA1 Message Date
pggiroro
29e2142787 fix: catalog after recover register 2025-09-23 11:03:05 +08:00
langhuihui
4f75725a0e fix: ffmpeg8 need bitrate arg 2025-09-23 10:51:35 +08:00
3 changed files with 3 additions and 2 deletions

View File

@@ -2897,7 +2897,7 @@ func (gb *GB28181Plugin) UpdateChannel(ctx context.Context, req *pb.UpdateChanne
}
// 记录日志
gb.Info("通道信息已更新",
gb.Debug("通道信息已更新",
"通道ID", req.Id,
"自定义通道ID", channel.DeviceChannel.CustomChannelId,
"自定义名称", channel.DeviceChannel.CustomName)

View File

@@ -327,6 +327,7 @@ func (task *registerHandlerTask) RecoverDevice(d *Device, req *sip.Request) {
//}
task.gb.DB.Save(d)
}
d.catalog()
return
}

View File

@@ -34,7 +34,7 @@ func (rt *AcceptPushTask) Start() error {
}
// 添加视频编码参数
if !rt.testCase.AudioOnly {
args = append(args, "-c:v", rt.testCase.VideoCodec)
args = append(args, "-c:v", rt.testCase.VideoCodec, "-b:v", "200k")
} else {
args = append(args, "-vn")
}