// Path: librestreaming/src/main/java/me/lake/librestreaming/tools/LogTools.java
// public class LogTools {
//     protected static final String TAG = "RESLog";
//     private static boolean enableLog = true;
// 
//     public static boolean isEnableLog() {
//         return enableLog;
//     }
// 
//     public static void setEnableLog(boolean enableLog) {
//         LogTools.enableLog = enableLog;
//     }
// 
//     public static void e(String content) {
//         if (!enableLog) {
//             return;
//         }
//         Log.e(TAG, content);
//     }
// 
//     public static void d(String content) {
//         if (!enableLog) {
//             return;
//         }
//         Log.d(TAG, content);
//     }
// 
//     public static void trace(String msg) {
//         if (!enableLog) {
//             return;
//         }
//         trace(msg, new Throwable());
//     }
// 
//     public static void trace(Throwable e) {
//         if (!enableLog) {
//             return;
//         }
//         trace(null, e);
//     }
// 
//     public static void trace(String msg, Throwable e) {
//         if (!enableLog) {
//             return;
//         }
//         if (null == e || e instanceof UnknownHostException) {
//             return;
//         }
// 
//         final Writer writer = new StringWriter();
//         final PrintWriter pWriter = new PrintWriter(writer);
//         e.printStackTrace(pWriter);
//         String stackTrace = writer.toString();
//         if (null == msg || msg.equals("")) {
//             msg = "================error!==================";
//         }
//         Log.e(TAG, "==================================");
//         Log.e(TAG, msg);
//         Log.e(TAG, stackTrace);
//         Log.e(TAG, "-----------------------------------");
//     }
// }


import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import me.lake.librestreaming.tools.LogTools;
package me.lake.librestreaming.model;



/**
 * Created by lake on 16-3-16.
 */
public class RESCoreParameters {
    public static final int FILTER_MODE_HARD = 1;
    public static final int FILTER_MODE_SOFT = 2;

    public static final int RENDERING_MODE_NATIVE_WINDOW = 1;
    public static final int RENDERING_MODE_OPENGLES = 2;
    /**
     * same with jni
     */
    public static final int FLAG_DIRECTION_FLIP_HORIZONTAL = 0x01;
    public static final int FLAG_DIRECTION_FLIP_VERTICAL = 0x02;
    public static final int FLAG_DIRECTION_ROATATION_0 = 0x10;
    public static final int FLAG_DIRECTION_ROATATION_90 = 0x20;
    public static final int FLAG_DIRECTION_ROATATION_180 = 0x40;
    public static final int FLAG_DIRECTION_ROATATION_270 = 0x80;

    public boolean done;
    public boolean printDetailMsg;
    public int filterMode;
    public int renderingMode;
    public String rtmpAddr;
    public int frontCameraDirectionMode;
// Path: librestreaming/src/main/java/me/lake/librestreaming/tools/LogTools.java
// public class LogTools {
//     protected static final String TAG = "RESLog";
//     private static boolean enableLog = true;
// 
//     public static boolean isEnableLog() {
//         return enableLog;
//     }
// 
//     public static void setEnableLog(boolean enableLog) {
//         LogTools.enableLog = enableLog;
//     }
// 
//     public static void e(String content) {
//         if (!enableLog) {
//             return;
//         }
//         Log.e(TAG, content);
//     }
// 
//     public static void d(String content) {
//         if (!enableLog) {
//             return;
//         }
//         Log.d(TAG, content);
//     }
// 
//     public static void trace(String msg) {
//         if (!enableLog) {
//             return;
//         }
//         trace(msg, new Throwable());
//     }
// 
//     public static void trace(Throwable e) {
//         if (!enableLog) {
//             return;
//         }
//         trace(null, e);
//     }
// 
//     public static void trace(String msg, Throwable e) {
//         if (!enableLog) {
//             return;
//         }
//         if (null == e || e instanceof UnknownHostException) {
//             return;
//         }
// 
//         final Writer writer = new StringWriter();
//         final PrintWriter pWriter = new PrintWriter(writer);
//         e.printStackTrace(pWriter);
//         String stackTrace = writer.toString();
//         if (null == msg || msg.equals("")) {
//             msg = "================error!==================";
//         }
//         Log.e(TAG, "==================================");
//         Log.e(TAG, msg);
//         Log.e(TAG, stackTrace);
//         Log.e(TAG, "-----------------------------------");
//     }
// }


// Path: librestreaming/src/main/java/me/lake/librestreaming/model/RESCoreParameters.java
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import me.lake.librestreaming.tools.LogTools;

package me.lake.librestreaming.model;



/**
 * Created by lake on 16-3-16.
 */
public class RESCoreParameters {
    public static final int FILTER_MODE_HARD = 1;
    public static final int FILTER_MODE_SOFT = 2;

    public static final int RENDERING_MODE_NATIVE_WINDOW = 1;
    public static final int RENDERING_MODE_OPENGLES = 2;
    /**
     * same with jni
     */
    public static final int FLAG_DIRECTION_FLIP_HORIZONTAL = 0x01;
    public static final int FLAG_DIRECTION_FLIP_VERTICAL = 0x02;
    public static final int FLAG_DIRECTION_ROATATION_0 = 0x10;
    public static final int FLAG_DIRECTION_ROATATION_90 = 0x20;
    public static final int FLAG_DIRECTION_ROATATION_180 = 0x40;
    public static final int FLAG_DIRECTION_ROATATION_270 = 0x80;

    public boolean done;
    public boolean printDetailMsg;
    public int filterMode;
    public int renderingMode;
    public String rtmpAddr;
    public int frontCameraDirectionMode;
    public int backCameraDirectionMode;