Doorbird online/offline bug fix (#12814)
Signed-off-by: Matthew Skinner <matt@pcmus.com>
This commit is contained in:
parent
76001902a3
commit
867628a701
|
@ -1354,7 +1354,8 @@ public class IpCameraHandler extends BaseThingHandler {
|
|||
|
||||
void pollingCameraConnection() {
|
||||
keepMjpegRunning();
|
||||
if (thing.getThingTypeUID().getId().equals(GENERIC_THING)) {
|
||||
if (thing.getThingTypeUID().getId().equals(GENERIC_THING)
|
||||
|| thing.getThingTypeUID().getId().equals(DOORBIRD_THING)) {
|
||||
if (rtspUri.isEmpty()) {
|
||||
logger.warn("Binding has not been supplied with a FFmpeg Input URL, so some features will not work.");
|
||||
}
|
||||
|
|
|
@ -36,7 +36,7 @@ public class StreamOutput {
|
|||
private final String boundary;
|
||||
private String contentType;
|
||||
private final ServletOutputStream output;
|
||||
private BlockingQueue<byte[]> fifo = new ArrayBlockingQueue<byte[]>(30);
|
||||
private BlockingQueue<byte[]> fifo = new ArrayBlockingQueue<byte[]>(50);
|
||||
private boolean connected = false;
|
||||
public boolean isSnapshotBased = false;
|
||||
|
||||
|
|
Loading…
Reference in New Issue