mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-26 23:17:50 +08:00
Compare commits
1 Commits
99f45d865c
...
906e2f50f7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
906e2f50f7 |
@ -27,12 +27,12 @@ public class SipConfig {
|
|||||||
private String id;
|
private String id;
|
||||||
|
|
||||||
private String password;
|
private String password;
|
||||||
|
|
||||||
Integer ptzSpeed = 50;
|
Integer ptzSpeed = 50;
|
||||||
|
|
||||||
Integer registerTimeInterval = 120;
|
Integer registerTimeInterval = 120;
|
||||||
|
|
||||||
private boolean alarm = false;
|
private boolean alarm = false;
|
||||||
|
|
||||||
private long timeout = 1000;
|
private long timeout = 500;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,6 @@ package com.genersoft.iot.vmp.gb28181.service.impl;
|
|||||||
|
|
||||||
import com.genersoft.iot.vmp.common.InviteSessionType;
|
import com.genersoft.iot.vmp.common.InviteSessionType;
|
||||||
import com.genersoft.iot.vmp.common.StreamInfo;
|
import com.genersoft.iot.vmp.common.StreamInfo;
|
||||||
import com.genersoft.iot.vmp.conf.exception.ControllerException;
|
|
||||||
import com.genersoft.iot.vmp.conf.exception.ServiceException;
|
import com.genersoft.iot.vmp.conf.exception.ServiceException;
|
||||||
import com.genersoft.iot.vmp.gb28181.bean.*;
|
import com.genersoft.iot.vmp.gb28181.bean.*;
|
||||||
import com.genersoft.iot.vmp.common.enums.ChannelDataType;
|
import com.genersoft.iot.vmp.common.enums.ChannelDataType;
|
||||||
@ -146,9 +145,6 @@ public class GbChannelPlayServiceImpl implements IGbChannelPlayService {
|
|||||||
deviceChannelPlayService.play(channel, record, callback);
|
deviceChannelPlayService.play(channel, record, callback);
|
||||||
} catch (PlayException e) {
|
} catch (PlayException e) {
|
||||||
callback.run(e.getCode(), e.getMsg(), null);
|
callback.run(e.getCode(), e.getMsg(), null);
|
||||||
} catch (ControllerException e) {
|
|
||||||
log.error("[点播失败] {}({}), {}", channel.getGbName(), channel.getGbDeviceId(), e.getMsg());
|
|
||||||
callback.run(Response.BUSY_HERE, "busy here", null);
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.error("[点播失败] {}({})", channel.getGbName(), channel.getGbDeviceId(), e);
|
log.error("[点播失败] {}({})", channel.getGbName(), channel.getGbDeviceId(), e);
|
||||||
callback.run(Response.BUSY_HERE, "busy here", null);
|
callback.run(Response.BUSY_HERE, "busy here", null);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user