From 56e212d48e707dd074cece753c7c819835748072 Mon Sep 17 00:00:00 2001 From: Paul Gregoire Date: Thu, 11 Aug 2016 16:30:48 -0400 Subject: [PATCH] Added pre/post processor code --- .../server/api/service/IStreamableFileService.java | 12 +----------- .../red5/server/stream/consumer/FileConsumer.java | 3 ++- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/src/main/java/org/red5/server/api/service/IStreamableFileService.java b/src/main/java/org/red5/server/api/service/IStreamableFileService.java index f5af3007..5acbffa4 100644 --- a/src/main/java/org/red5/server/api/service/IStreamableFileService.java +++ b/src/main/java/org/red5/server/api/service/IStreamableFileService.java @@ -72,17 +72,7 @@ public interface IStreamableFileService { * * @param file * File object - * @return
-     * true
-     * 
- * - * if file exist and has valid extension, - * - *
-     * false
-     * 
- * - * otherwise + * @return true if file exist and has valid extension, false otherwise */ public boolean canHandle(File file); diff --git a/src/main/java/org/red5/server/stream/consumer/FileConsumer.java b/src/main/java/org/red5/server/stream/consumer/FileConsumer.java index c8f0f683..c3ab7188 100644 --- a/src/main/java/org/red5/server/stream/consumer/FileConsumer.java +++ b/src/main/java/org/red5/server/stream/consumer/FileConsumer.java @@ -159,7 +159,8 @@ public class FileConsumer implements Constants, IPushableConsumer, IPipeConnecti private int percentage = 25; /** - * Whether or not to use a queue for delaying file writes. The queue is useful for keeping Tag items in their expected order based on their time stamp. + * Whether or not to use a queue for delaying file writes. The queue is useful for keeping Tag items in their expected order based on + * their time stamp. */ private boolean delayWrite = false;