Skip to content
Snippets Groups Projects
Commit 369db233 authored by Boris Grozev's avatar Boris Grozev
Browse files

Updates FMJ to r5 from the sourceforge SVN repository. This version uses a...

Updates FMJ to r5 from the sourceforge SVN repository. This version uses a java.util.logging.Logger to log, and logs detailed statistics from the RTPSourceStream class. Changes MediaServiceImpl to always enable FMJ logging.
parent 04e60ae6
No related branches found
No related tags found
No related merge requests found
No preview for this file type
...@@ -1518,10 +1518,13 @@ private static void postInitializeOnce(MediaServiceImpl mediaServiceImpl) ...@@ -1518,10 +1518,13 @@ private static void postInitializeOnce(MediaServiceImpl mediaServiceImpl)
private static void setupFMJ() private static void setupFMJ()
{ {
/* /*
* Since FMJ is part of neomedia, FMJ's log should be enabled when * FMJ now uses java.util.logging.Logger, but only logs if
* neomedia's log is enabled. * "allowLogging" is set in it's registry. Since the levels can be
* configured through properties for the net.sf.fmj.media.Log class,
* we always enable this (as opposed to only enabling it when
* <tt>this.logger</tt> has debug enabled).
*/ */
Registry.set("allowLogging", logger.isDebugEnabled()); Registry.set("allowLogging", true);
/* /*
* Disable the loading of .fmj.registry because Kertesz Laszlo has * Disable the loading of .fmj.registry because Kertesz Laszlo has
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment