mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-13 09:07:49 +08:00
修复未判断UsePushingAsStatus设置导致推流结束时推流通道离线
This commit is contained in:
parent
f38c86092d
commit
f205a86c31
@ -512,10 +512,12 @@ public class StreamPushServiceImpl implements IStreamPushService {
|
||||
if (ObjectUtils.isEmpty(streamPush.getGbDeviceId())) {
|
||||
return;
|
||||
}
|
||||
if ("ON".equalsIgnoreCase(streamPush.getGbStatus())) {
|
||||
gbChannelService.online(streamPush.buildCommonGBChannel());
|
||||
}else {
|
||||
gbChannelService.offline(streamPush.buildCommonGBChannel());
|
||||
if (userSetting.isUsePushingAsStatus()) {
|
||||
if ("ON".equalsIgnoreCase(streamPush.getGbStatus()) ) {
|
||||
gbChannelService.online(streamPush.buildCommonGBChannel());
|
||||
}else {
|
||||
gbChannelService.offline(streamPush.buildCommonGBChannel());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user