mirror of
https://github.com/langhuihui/monibuca.git
synced 2025-09-27 01:15:52 +08:00
Compare commits
2 Commits
ae698c7b5a
...
29e2142787
Author | SHA1 | Date | |
---|---|---|---|
![]() |
29e2142787 | ||
![]() |
4f75725a0e |
@@ -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)
|
||||
|
@@ -327,6 +327,7 @@ func (task *registerHandlerTask) RecoverDevice(d *Device, req *sip.Request) {
|
||||
//}
|
||||
task.gb.DB.Save(d)
|
||||
}
|
||||
d.catalog()
|
||||
return
|
||||
}
|
||||
|
||||
|
@@ -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")
|
||||
}
|
||||
|
Reference in New Issue
Block a user