Signed-off-by: Matthew Skinner <matt@pcmus.com>
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.");
}
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;