" ); // Version Number define( "ZM_PATH_BIN", "" ); // Path to binaries define( "ZM_PATH_WEB", "" ); // Path to web files define( "ZM_PATH_CGI", "" ); // Path to cgi files define( "ZM_PATH_ZMS", "" ); // Web path to zms streaming server define( "ZM_DB_SERVER", "" ); // Database server define( "ZM_DB_NAME", "" ); // Database containing the tables define( "ZM_DB_USERA", "" ); // Database login define( "ZM_DB_PASSA", "" ); // Database password define( "ZM_DIR_EVENTS", "" ); // Directory where events live define( "ZM_DIR_IMAGES", "" ); // Directory where images live define( "ZM_DIR_SOUNDS", "" ); // Drectory where sounds live define( "ZM_OPT_CAMBOZOLA", "" ); // Is the (optional) cambozola java streaming client installed (recommended) define( "ZM_PATH_CAMBOZOLA", "" ); // Path to (optional) cambozola java streaming client (recommended) define( "ZM_CAN_STREAM", "" ); // Override the detection of streaming capability by browser define( "ZM_PATH_NETPBM", "" ); // Path to (optional) Netpbm utilities define( "ZM_WEB_POPUP_ON_ALARM", ); // Whether the watch window jumps to front if an alarm occurs define( "ZM_WEB_SOUND_ON_ALARM", ); // Whether the watch window jumps to front if an alarm occurs define( "ZM_WEB_ALARM_SOUND", ); // A sound to play on alarm, put this in the sounds directory define( "ZM_WEB_MONTAGE_MAX_COLS", ); // The maximum number of Monitor columns in the montage view define( "ZM_RECORD_EVENT_STATS", ); // Whether to record event statistical information, switch off if too slow define( "ZM_OPT_MPEG", "" ); // Is there an (optional) mpeg video encoder installed define( "ZM_OPT_FAST_DELETE", ); // Whether we only delete event DB records and leave zmaudit to do the rest define( "ZM_OPT_X10", ); // Whether we want to interface with X10 devices define( "ZM_OPT_FRAME_SERVER", ); // Whether to use the frame server // Bandwidth specific ones from zmconfig.pl, again do not edit these directly as changes may be lost // define( "ZM_WEB_H_REFRESH_MAIN", ); // How often (in seconds) the main console window refreshes define( "ZM_WEB_H_REFRESH_CYCLE", ); // How often the cycle watch windows swaps to the next monitor define( "ZM_WEB_H_REFRESH_IMAGE", ); // How often the watched image is refreshed (if not streaming) define( "ZM_WEB_H_REFRESH_STATUS", ); // How often the little status frame refreshes itself in the watch window define( "ZM_WEB_H_REFRESH_EVENTS", ); // How often the event listing is refreshed in the watch window, only for recent events define( "ZM_WEB_H_STREAM_IDLE_DELAY", );// How long (in milliseconds) between streamed frames in the watch window define( "ZM_WEB_H_STREAM_FRAME_DELAY", );// How long (in milliseconds) to wait before looking for the next streamed frame define( "ZM_WEB_H_STREAM_EVENT_DELAY", );// How long (in milliseconds) to wait between each frame when streaming events define( "ZM_WEB_H_IMAGE_SCALING", ); // Image scaling for thumbnails, bandwidth versus cpu in rescaling define( "ZM_WEB_M_REFRESH_MAIN", ); // How often (in seconds) the main console window refreshes define( "ZM_WEB_M_REFRESH_CYCLE", ); // How often the cycle watch windows swaps to the next monitor define( "ZM_WEB_M_REFRESH_IMAGE", ); // How often the watched image is refreshed (if not streaming) define( "ZM_WEB_M_REFRESH_STATUS", ); // How often the little status frame refreshes itself in the watch window define( "ZM_WEB_M_REFRESH_EVENTS", ); // How often the event listing is refreshed in the watch window, only for recent events define( "ZM_WEB_M_STREAM_IDLE_DELAY", );// How long (in milliseconds) between streamed frames in the watch window define( "ZM_WEB_M_STREAM_FRAME_DELAY", );// How long (in milliseconds) to wait before looking for the next streamed frame define( "ZM_WEB_M_STREAM_EVENT_DELAY", );// How long (in milliseconds) to wait between each frame when streaming events define( "ZM_WEB_M_IMAGE_SCALING", ); // Image scaling for thumbnails, bandwidth versus cpu in rescaling define( "ZM_WEB_L_REFRESH_MAIN", ); // How often (in seconds) the main console window refreshes define( "ZM_WEB_L_REFRESH_CYCLE", ); // How often the cycle watch windows swaps to the next monitor define( "ZM_WEB_L_REFRESH_IMAGE", ); // How often the watched image is refreshed (if not streaming) define( "ZM_WEB_L_REFRESH_STATUS", ); // How often the little status frame refreshes itself in the watch window define( "ZM_WEB_L_REFRESH_EVENTS", ); // How often the event listing is refreshed in the watch window, only for recent events define( "ZM_WEB_L_STREAM_IDLE_DELAY", );// How long (in milliseconds) between streamed frames in the watch window define( "ZM_WEB_L_STREAM_FRAME_DELAY", );// How long (in milliseconds) to wait before looking for the next streamed frame define( "ZM_WEB_L_STREAM_EVENT_DELAY", );// How long (in milliseconds) to wait between each frame when streaming events define( "ZM_WEB_L_IMAGE_SCALING", ); // Image scaling for thumbnails, bandwidth versus cpu in rescaling define( "ZM_WEB_P_REFRESH_MAIN", ); // How often (in seconds) the main console window refreshes define( "ZM_WEB_P_REFRESH_IMAGE", ); // How often the watched image is refreshed (if not streaming) // This section is options normally derived from other options or configuration // define( "ZM_DB_USER", ZM_DB_USERA ); // Database login define( "ZM_DB_PASS", ZM_DB_PASSA ); // Database password define( "ZMU_PATH", ZM_PATH_BIN."/zmu" ); // Local path to the ZoneMinder Utility // These are miscellaneous options you won't normally need to change // define( "MAX_EVENTS", 10 ); // The maximum number of events to show in the monitor event listing define( "EVENT_HEADER_LINES", 25 ); // How many events are listed in the event window before a new header is inserted define( "LEARN_MODE", false ); // Currently unimplemented, do not change switch ( $bandwidth ) { case "high" : { define( "REFRESH_MAIN", ZM_WEB_H_REFRESH_MAIN ); // How often (in seconds) the main console window refreshes define( "REFRESH_CYCLE", ZM_WEB_H_REFRESH_CYCLE ); // How often the cycle watch windows swaps to the next monitor define( "REFRESH_IMAGE", ZM_WEB_H_REFRESH_IMAGE ); // How often the watched image is refreshed (if not streaming) define( "REFRESH_STATUS", ZM_WEB_H_REFRESH_STATUS ); // How often the little status frame refreshes itself in the watch window define( "REFRESH_EVENTS", ZM_WEB_H_REFRESH_EVENTS ); // How often the event listing is refreshed in the watch window, only for recent events define( "STREAM_IDLE_DELAY", ZM_WEB_H_STREAM_IDLE_DELAY ); // How long (in milliseconds) between streamed frames in the watch window define( "STREAM_FRAME_DELAY", ZM_WEB_H_STREAM_FRAME_DELAY ); // How long (in milliseconds) to wait before looking for the next streamed frame define( "STREAM_EVENT_DELAY", ZM_WEB_H_STREAM_EVENT_DELAY ); // How long (in milliseconds) to wait between each frame when streaming events define( "IMAGE_SCALING", ZM_WEB_H_IMAGE_SCALING ); // Image scaling for thumbnails, bandwidth versus cpu in rescaling break; } case "medium" : { define( "REFRESH_MAIN", ZM_WEB_M_REFRESH_MAIN ); // How often (in seconds) the main console window refreshes define( "REFRESH_CYCLE", ZM_WEB_M_REFRESH_CYCLE ); // How often the cycle watch windows swaps to the next monitor define( "REFRESH_IMAGE", ZM_WEB_M_REFRESH_IMAGE ); // How often the watched image is refreshed (if not streaming) define( "REFRESH_STATUS", ZM_WEB_M_REFRESH_STATUS ); // How often the little status frame refreshes itself in the watch window define( "REFRESH_EVENTS", ZM_WEB_M_REFRESH_EVENTS ); // How often the event listing is refreshed in the watch window, only for recent events define( "STREAM_IDLE_DELAY", ZM_WEB_M_STREAM_IDLE_DELAY ); // How long (in milliseconds) between streamed frames in the watch window define( "STREAM_FRAME_DELAY", ZM_WEB_M_STREAM_FRAME_DELAY ); // How long (in milliseconds) to wait before looking for the next streamed frame define( "STREAM_EVENT_DELAY", ZM_WEB_M_STREAM_EVENT_DELAY ); // How long (in milliseconds) to wait between each frame when streaming events define( "IMAGE_SCALING", ZM_WEB_M_IMAGE_SCALING ); // Image scaling for thumbnails, bandwidth versus cpu in rescaling break; } case "low" : { define( "REFRESH_MAIN", ZM_WEB_L_REFRESH_MAIN ); // How often (in seconds) the main console window refreshes define( "REFRESH_CYCLE", ZM_WEB_L_REFRESH_CYCLE ); // How often the cycle watch windows swaps to the next monitor define( "REFRESH_IMAGE", ZM_WEB_L_REFRESH_IMAGE ); // How often the watched image is refreshed (if not streaming) define( "REFRESH_STATUS", ZM_WEB_L_REFRESH_STATUS ); // How often the little status frame refreshes itself in the watch window define( "REFRESH_EVENTS", ZM_WEB_L_REFRESH_EVENTS ); // How often the event listing is refreshed in the watch window, only for recent events define( "STREAM_IDLE_DELAY", ZM_WEB_L_STREAM_IDLE_DELAY ); // How long (in milliseconds) between streamed frames in the watch window define( "STREAM_FRAME_DELAY", ZM_WEB_L_STREAM_FRAME_DELAY ); // How long (in milliseconds) to wait before looking for the next streamed frame define( "STREAM_EVENT_DELAY", ZM_WEB_L_STREAM_EVENT_DELAY ); // How long (in milliseconds) to wait between each frame when streaming events define( "IMAGE_SCALING", ZM_WEB_L_IMAGE_SCALING ); // Image scaling for thumbnails, bandwidth versus cpu in rescaling break; } case "mobile" : // Very incomplete at present { define( "REFRESH_MAIN", ZM_WEB_P_REFRESH_MAIN ); // How often (in seconds) the main console window refreshes define( "REFRESH_IMAGE", ZM_WEB_P_REFRESH_IMAGE ); // How often the watched image is refreshed (if not streaming) break; } } // Javascript window sizes $jws = array( 'console' => array( 'w'=>720, 'h'=>400 ), 'cycle' => array( 'w'=>46, 'h'=>80 ), 'montage' => array( 'w'=>20, 'h'=>20 ), 'monitor' => array( 'w'=>420, 'h'=>512 ), 'watch' => array( 'w'=>72, 'h'=>315 ), 'device' => array( 'w'=>196, 'h'=>164 ), 'function' => array( 'w'=>248, 'h'=>92 ), 'events' => array( 'w'=>720, 'h'=>480 ), 'event' => array( 'w'=>420, 'h'=>500 ), 'filter' => array( 'w'=>560, 'h'=>250 ), 'filtersave' => array( 'w'=>520, 'h'=>200 ), 'zones' => array( 'w'=>72, 'h'=>232 ), 'zone' => array( 'w'=>360, 'h'=>480 ), 'video' => array( 'w'=>100, 'h'=>80 ), 'image' => array( 'w'=>48, 'h'=>80 ), 'stats' => array( 'w'=>600, 'h'=>150 ), ); ?>