修复未判断UsePushingAsStatus设置导致推流结束时推流通道离线
parent
f38c86092d
commit
f205a86c31
|
@ -512,10 +512,12 @@ public class StreamPushServiceImpl implements IStreamPushService {
|
||||||
if (ObjectUtils.isEmpty(streamPush.getGbDeviceId())) {
|
if (ObjectUtils.isEmpty(streamPush.getGbDeviceId())) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if ("ON".equalsIgnoreCase(streamPush.getGbStatus())) {
|
if (userSetting.isUsePushingAsStatus()) {
|
||||||
gbChannelService.online(streamPush.buildCommonGBChannel());
|
if ("ON".equalsIgnoreCase(streamPush.getGbStatus()) ) {
|
||||||
}else {
|
gbChannelService.online(streamPush.buildCommonGBChannel());
|
||||||
gbChannelService.offline(streamPush.buildCommonGBChannel());
|
}else {
|
||||||
|
gbChannelService.offline(streamPush.buildCommonGBChannel());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue